Releases: EmbarkStudios/krates
Releases Β· EmbarkStudios/krates
Release 0.12.4
Fixed
- PR#49 resolved #48 by not entering into an infinite loop in the presence of cyclic features. Oops.
Release 0.12.3
Fixed
- PR#47 resolved #46 by both adding the
prefer-index
feature to get the actual correct feature information for a crate from the index, rather than the cargo metadata, as well as silently ignoring features that are resolved, but not available from the package manifest if the feature is not enabled.
Release 0.12.2
Fixed
- PR#45 fixed a bug where optional dependencies could be pruned if their name differed from the feature that enabled them.
Added
- PR#45 added
Krates::direct_dependencies
as a complement to Krates::direct_dependents
.
Release 0.12.1
Added
- PR#43 and PR#44 added
Krates::direct_dependents
to more easily obtain the crates that directly depend on the specified crate/node, regardless of any features in between those crates.
Release 0.12.0
Added
- PR#42 added support for features, adding nodes for each unique future, and linking edges between dependencies and features themselves. This (hopefully) properly takes into account the existing ways of pruning the graph via targets, exclusions etc. It also allows the retrieval of that final feature set via
Krates::get_enabled_features
.
Fixed
- PR#42 resolved #41 by properly pruning weak dependencies that were improperly resolved by cargo.
Release 0.10.1
Fixed
- PR#38 fixed #37 by properly adding multiple features if specified.
Release 0.10.0
Changed
- PR#36 updated
cfg-expr
and fixed up crates.io metadata.
Release 0.9.0
Fixed
- PR#35 changed
Krates::search_matches
to get rid of unnecessary lifetime coupling.
Changed
- PR#35 updated
cfg-expr
to 0.9.