All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
- PR#52 updated cfg-expr to 0.12.
- PR#52 changed
Krates::search_matches
andKrates::search_by_name
to useimpl Into<String>
for the name to search, so that the lifetime of it is not paired with the graph itself.
0.12.5 - 2022-11-08
- PR#51 resolved #50 by no longer treating the feature set in the index as authoritative, but rather just merging in the keys that were not already located in the feature set from the crate itself. This would mean that features that are present in both but with different sub-features from the index will now be lost, but that can be fixed later if it is actually an issue.
0.12.4 - 2022-11-02
0.12.3 - 2022-11-01
- 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.
0.12.2 - 2022-10-28
- PR#45 fixed a bug where optional dependencies could be pruned if their name differed from the feature that enabled them.
- PR#45 added
Krates::direct_dependencies
as a complement toKrates::direct_dependents
.
0.12.1 - 2022-10-25
- 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.
0.12.0 - 2022-10-06
- 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
.
0.11.0 - 2022-07-04
- PR#40 updated
cargo_metadata
to 0.15. Thanks @pinkforest!
0.10.1 - 2022-02-16
0.10.0 - 2022-02-04
- PR#36 updated
cfg-expr
and fixed up crates.io metadata.
0.9.0 - 2021-10-21
- PR#35 changed
Krates::search_matches
to get rid of unnecessary lifetime coupling.
- PR#35 updated
cfg-expr
to 0.9.
0.8.1 - 2021-07-20
- PR#34 added support for the
--locked
,--offline
, and--frozen
arguments.
0.8.0 - 2021-07-16
- PR#32 replaced the use of
difference
withsimilar
. Thanks @j-k! - PR#33 updated
semver
,cargo_metadata
,petgraph
, andcfg-expr
to their latest versions.
0.7.0 - 2021-03-11
- Updated
cargo_metadata
to 0.13.0, which usescamino
for path information, so it is reexported and used forKrates::lock_path
0.6.0 - 2021-02-12
- Updated
cfg-expr
to 0.7.0, which brings targets as of 1.50.0
0.5.0 - 2020-10-20
- Added
impl PartialEq<cargo_metadata::DependencyKind> for DepKind
- Updated
semver
,cargo_metadata
, and `cfg-expr.
- PR#19 Fixed an issue where
git
sources could differ in package id representation between the actual source, and the id used to specify it as a dependency from another package.
- Fix to version
0.11.1
ofcargo_metadata
.
- Align
semver
version with the same one used bycargo_metadata
, again.
- Align
semver
version with the same one used bycargo_metadata
- Updated
cfg-expr
to 0.4.0, and added thetargets
feature, will enable thetargets
feature in cfg-expr, allowing the use of matching cfg expressions againsttarget_lexicon::Triple
instead of only built-in targets/names.
- Updated
cfg-expr
to 0.2.0, so only 1.41.0 built-in targets are fully supported
- Added
PkgSpec
, an implementation of cargo's package id specifications - Added
Builder::workspace
, which allows the equivalent ofcargo <cmd> --workspace
when building the graph - Added
Builder::exclude
, which allows the equivalent ofcargo <cmd> --exclude
when building the graph
0.1.0 - 2020-01-14
- Initial implementation