github ipetkov/crane v0.15.0

latest releases: v0.19.1, v0.19.0, v0.18.1...
12 months ago

0.15.0 - 2023-11-05

Added

  • cargoDeny added for running cargo-deny.
  • installCargoArtifactsHook will now pass along the contents of
    $zstdCompressionExtraArgs as arguments to zstd when compressing artifacts.
    This allows for tailoring compression behavior, for example, by setting
    zstdCompressionExtraArgs = "-19"; on the derivation.

Changed

  • The use-zstd artifact installation mode now uses a chained, incremental
    approach to avoid redundancy. Old behavior (taking a full snapshot of the
    cargo artifacts) can be achieved by setting doCompressAndInstallFullArchive = true.
  • The default installCargoArtifactsMode has been changed to use-zstd,
    meaning cargo artifacts will be compressed to a series of incremental, zstd
    compressed tarballs across derivations. To get the old behavior back, set
    installCargoArtifactsMode = "use-symlink" to any derivation which produces
    cargo artifacts.
  • All dependencies (outside of nixpkgs) have been dropped from the (main)
    flake.lock file so they do not pollute downstream projects' lock files.

Fixed

  • mkDummySrc now properly handles file cleaning (and file including) when a
    build is invoked with a --store ... override

Don't miss a new crane release

NewReleases is sending notifications on new releases.