From: Klaus Purer Date: Sun, 18 Mar 2018 21:38:44 +0000 (+0100) Subject: docs(resolver): Comment for what the minimal_versions flag does X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~13^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2a47b6a9d4630b2ebb7d87ffed5849c69867e065;p=cargo.git docs(resolver): Comment for what the minimal_versions flag does --- diff --git a/src/cargo/core/resolver/mod.rs b/src/cargo/core/resolver/mod.rs index 5a8043b90..58a2746e6 100644 --- 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>>, + // 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, }