0.11.0
Support foo?/bar
feature selections
Conditional features
are now supported. The feature selection foo?/bar
will only enable the bar
feature of the foo
dependency if that dependency would be enabled anyway (non-optional, or enabled by a different feature selection).
Remove buildRustCrate
parameter
This was previously deprecated.
Restore callPackage
not raw import
as the recommended method
With buildRustCrate
removed, this is now possible without running into
issues.
Finish renamed dependency support
Previously only renamed dependencies
and build-dependencies
worked.
Now renamed dev-dependencies
work also.
Thank you @Fuuzetsu!
Better cross and platform-specific compilation support
-
Rust-style rather than Nixpkgs-style configs are used for
[target."some-config"]
conditional Cargo sections. -
The nixpkgs Rust "lib" is used to implement the above and deduplicate other
cfg
reosolution. -
Support custom
cfg(target_family = "whatever")
dependencies.
Fix IFD support library (tools.nix
) for Nixpkkgs 22.11
- See the comment inside there for details.