Rust to other places.
- TypeScript: an own rustc driver that translates a documented Rust subset to readable TypeScript, without WASM.
- C, then any language: an exporter that turns a crate's
pubAPI into a C ABI and header with no attributes, sharing the TypeScript driver's front end. - Any language: a hard fork of UniFFI with every generator moq uses.
- Faster builds: a reproducible build-speed benchmark, then a pure-Rust subset (no build scripts, no C linking) that builds faster, and rust2-lint, which fails a build whose generics' copies cost its codegen more than a budget (
nix run github:kixelated/rust2#lint -- --help).
Everything here is early; the quest tree holds the plan.
nix develop # or direnv allow
just check
just test
# The UniFFI fixture suites need every foreign toolchain.
nix develop .#uniffi --command just uniffi fixturesLicensed under either MIT or Apache-2.0, at your option, unless a directory's own license says otherwise (the UniFFI fork keeps its upstream licenses: MPL-2.0, and MIT for the Dart generator).