github ipetkov/crane v0.14.2

latest releases: v0.18.1, v0.18.0, v0.17.3...
11 months ago

0.14.2 - 2023-10-15

Added

  • replaceCargoLockHook can now be used to easily replace or insert a
    Cargo.lock file in the current derivation

Changed

  • cargoAudit will pass --ignore yanked by default if cargoAuditExtraArgs
    are not specified. This is because cargo-audit cannot check for yanked
    crates from inside of the sandbox. To get the old behavior back, set
    cargoAuditExtraArgs = "";.
  • mkCargoDerivation (and by extension anything which delegates to it) will now
    automatically use the value of cargoLock or the contents of
    cargoLockContents/cargoLockParsed to replace the workspace Cargo.lock
    file. To disable this behavior, set doNotReplaceCargoLock = true;.

Fixed

  • Fixed handling of Cargo workspace inheritance for git-dependencies where said
    crate relies on reading non-TOML metadata (i.e. comments) from its Cargo.toml
    at build time. (#407)
  • Fixed handling of dummy target names to avoid issues with cargo doc.
    (#410)
  • When using installCargoArtifactsMode = "use-zstd"; all files will be marked
    as user-writable while compressing
  • removeReferencesToVendoredSources now signs aarch64-darwin binaries. (#418)

Don't miss a new crane release

NewReleases is sending notifications on new releases.