github ipetkov/crane v0.23.4

5 hours ago

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.

Don't miss a new crane release

NewReleases is sending notifications on new releases.