Skip to content

v0.9.0

Compare
Choose a tag to compare
@ipetkov ipetkov released this 29 Oct 17:23
· 420 commits to master since this release
v0.9.0
f48777a

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