Skip to content

v0.23.4

Latest

Choose a tag to compare

@ipetkov ipetkov released this 17 May 18:16
v0.23.4
10e6e3c

0.23.4 - 2026-05-17

Added

  • writeTOMLViaCraneUtils: write toml file in the Nix store using a TOML to
    JSON conversion implemented by a crane utility tool. Useful for flattening
    dependency chains and avoid dragging in remarshal and all of its
    dependencies.
  • writeTOMLViaRemarshal: the previous implementation of writeTOML, now
    explicitly separated for backwards compatibility.

Changed

  • writeTOML now, by default, refers to writeTOMLViaCraneUtils to minimize
    dependency chains on non-Rust projects. Bringing back the old behavior (using
    remarshal) can be done via craneLibRemarshal = craneLib.overrideScope (final: prev: { writeTOML = final.writeTOMLViaRemarshal; });

Fixed

  • The default dummy source for UEFI correctly builds for no_std environments.
  • craneUtils is now uses writableTmpDirAsHomeHook to better control cargo's
    home directory placement, avoiding issues on non-sandboxed builds.