You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a stubbed binary target to each "dummy" crate generated to support "artifact dependencies" nightly feature
in case a crate is used as bin artifact dependency.
Add cargoLlvmCov to run cargo llvm-cov
Add cargoLockParsed option to vendorCargoDeps to support Cargo.lock
files parsed as nix attribute sets.
craneLib.path can now be used as a convenience wrapper on (or drop in
replacement of) builtins.path to ensure reproducible results whenever paths
like ./. or ./.. are used directly.
Changed
Breaking (technically): mkCargoDerivation will remove the following
attributes before lowering to mkDerivation: cargoLock, cargoLockContents
and cargoLockParsed. If your derivation needs these values to be present
they can be explicitly passed through via .overrideAttrs buildDepsOnly as dummySrc will take priority
The API docs have been updated to refer to craneLib (instead of just lib)
to avoid ambiguities with pkgs.lib.
cargo is now invoked with --release when $CARGO_PROFILE == release instead
of passing in --profile release to better support tools which do not
understand the latter
Fixed
Fixed support for projects depending on crates utilising per-target workspace dependencies.