projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a09892
)
docs(resolver): Comment for what the minimal_versions flag does
author
Klaus Purer
<klaus.purer@gmail.com>
Sun, 18 Mar 2018 21:38:44 +0000
(22:38 +0100)
committer
Klaus Purer
<klaus.purer@gmail.com>
Tue, 20 Mar 2018 20:49:16 +0000
(21:49 +0100)
src/cargo/core/resolver/mod.rs
patch
|
blob
|
history
diff --git
a/src/cargo/core/resolver/mod.rs
b/src/cargo/core/resolver/mod.rs
index 5a8043b903621fa4c87c3e3fc6c187691eb27b5e..58a2746e6a2abfa0a719d9edcb7766572e484ec8 100644
(file)
--- a/
src/cargo/core/resolver/mod.rs
+++ b/
src/cargo/core/resolver/mod.rs
@@
-687,6
+687,9
@@
struct RegistryQueryer<'a> {
try_to_use: &'a HashSet<&'a PackageId>,
// TODO: with nll the Rc can be removed
cache: HashMap<Dependency, Rc<Vec<Candidate>>>,
+ // If set the list of dependency candidates will be sorted by minimal
+ // versions first. That allows `cargo update -Z minimal-versions` which will
+ // specify minimum depedency versions to be used.
minimal_versions: bool,
}