Skip to content

v5.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 02:12
· 10 commits to main since this release
v5.0.1
1e97c58
  • rust-anything is now dual licensed under MIT OR Apache-2.0, the usual license for Rust projects. You
    can keep using it under MIT exactly as before; Apache-2.0 adds an explicit patent grant. LICENSE is
    now LICENSE-MIT, next to a new LICENSE-APACHE, and both ship in the crate, the npm package and
    the release archives.
  • map counts units, not crates, in its first line: one unit bridged twice (napi and wasm, or a
    second bridge --out) reads 1 of 1 unit has a Rust port instead of 2 of 2 units have. The
    Ports table still lists every crate (#609 by @Aadithya-kl).
  • fuzz --time given a negative or non-finite value says
    `--time` must be 0 or more seconds (0 runs one round), not -1 instead of
    `--time` takes seconds, and --time -1 (with a space) gets the same message instead of clap's
    unexpected argument '-1' found. The MCP fuzz tool's time says the same (#612).
  • bridge --as-json Q stops before writing anything when no export declares Q as a type
    parameter, with --as-json `Q` is not a type parameter of `src/math.ts` (type parameters: T)
    (or "it has none"), instead of ignoring the name and leaving the generic export in TS, as
    --keep already does for unknown exports (#608).