Which Mélodium edition do you need?
Mélodium compiles into four editions, selected through Cargo feature flags. They share the same language and the same standard library; what changes is which platform-specific capabilities are real versus running in mock mode.
Standard Edition (default)
The default build, suited for server-side and headless execution. Every library is included except real audio recording, which runs in mock mode: the treatments exist and validate correctly, they just don’t touch an actual microphone.
cargo install melodiumIf you’re deploying Mélodium on a server, in CI/CD, or anywhere without a human sitting in front of it, this is almost certainly the edition you want.
Desktop Edition
Everything in Standard, plus real audio recording, for workstation use where microphone access is available.
cargo install melodium --no-default-features --features desktop-editionContainer Edition
Everything in Standard, plus Kubernetes integration, for containerized and orchestrated environments.
cargo install melodium --features container-editionThis is the edition that makes sense when Mélodium itself is being orchestrated: provisioning workers, running inside a cluster, or otherwise needing to talk to the Kubernetes API it’s deployed under.
WebAssembly Edition
A library-only build targeting wasm32-unknown-unknown, with every platform-specific library running in mock mode.
cargo build --package melodium --target wasm32-unknown-unknown --no-default-features --features webassembly-editionThis is the edition to reach for when Mélodium needs to run somewhere a native binary can’t: inside a browser, or any other WebAssembly host.
Picking one
In practice, most people never think about this: cargo install melodium gets the Standard Edition, and that’s the right answer unless you specifically need microphone access on a workstation, Kubernetes awareness in a container, or a WebAssembly target. The four editions exist so that the one you actually need doesn’t carry the weight, or the platform assumptions, of the other three.