limonite-cli
The limonite command: compiles Rust crates to JavaScript with Limonite, a
Rust to JS compiler that keeps Rust's behaviour.
limonite build writes target/js/<bin>.js, run runs it under Node, test runs the crate's tests compiled to JS,
and size reports what the output is made of. Cargo options pass through (limonite build --release -p app), and
what follows -- goes to the program.
What it installs
Limonite is a rustc codegen backend, so it needs the exact nightly it was built for. On its first run the command:
- installs that nightly through rustup if it's missing (
nightly-2026-11-24, minimal, withwasm32-unknown-unknown). Your projects keep their own toolchain: only Limonite's builds use the nightly, and they pick it themselves; - downloads the prebuilt backend and std for your platform from the GitHub release of this version, checks it against the sha256 built into the command, and unpacks it into your cache folder.
It needs rustup, curl, tar and Node.js 22 or later. Prebuilt for macOS on Apple silicon and Linux (x86-64, arm64). Elsewhere it says there's no prebuilt Limonite and points to building it from source.
limonite install only installs; limonite home prints where it is. LIMONITE_HOME uses an unpacked bundle or a
checkout instead, LIMONITE_CACHE moves the cache, and LIMONITE_DOWNLOAD names a mirror (the checksums still apply).
License
MIT or Apache-2.0, at your option.