0.23.4 - 2026-05-17
Added
writeTOMLViaCraneUtils: write toml file in the Nix store using a TOML to
JSON conversion implemented by acraneutility tool. Useful for flattening
dependency chains and avoid dragging inremarshaland all of its
dependencies.writeTOMLViaRemarshal: the previous implementation ofwriteTOML, now
explicitly separated for backwards compatibility.
Changed
writeTOMLnow, by default, refers towriteTOMLViaCraneUtilsto minimize
dependency chains on non-Rust projects. Bringing back the old behavior (using
remarshal) can be done viacraneLibRemarshal = craneLib.overrideScope (final: prev: { writeTOML = final.writeTOMLViaRemarshal; });
Fixed
- The default dummy source for UEFI correctly builds for no_std environments.
craneUtilsis now useswritableTmpDirAsHomeHookto better control cargo's
home directory placement, avoiding issues on non-sandboxed builds.