github ipetkov/crane v0.9.0

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

0.9.0 - 2022-10-29

Changed

  • Breaking: all setup hooks have been removed from the packages flake
    output. They can still be accessed via the lib flake output.
  • Breaking: cargoBuild now only runs cargo build in a workspace, tests
    are no longer run
  • Breaking: buildDepsOnly does not automatically imply the --all-targets
    flag when invoking cargo check. Use cargoCheckExtraArgs to control this
  • buildDepsOnly now accepts cargoCheckExtraArgs for passing additional
    arguments just to the cargo check invocation. By default --all-targets
    will be used
  • buildDepsOnly now accepts cargoTestExtraArgs for passing additional
    arguments just to the cargo test invocation
  • buildPackage now delegates to mkCargoDerivation instead of cargoBuild

Fixed

  • crateNameFromCargoToml now takes workspace inheritance into account. If a
    crate does not specify package.version in its (root) Cargo.toml but does
    specify workspace.package.version then the latter will be returned.
  • Freestanding (#![no_std]) targets are now supported

Don't miss a new crane release

NewReleases is sending notifications on new releases.