title: Rust in two different projects but same Cargo.toml. The other project is giving me an issue of dependency issue
body: <p>Rust in two different projects but same Cargo.toml. The other project is giving me an issue of dependency issue while the other one is building fine. Both are compiling and in the same rust nightly build.</p>
  <p>Am I missing anything?</p>
  <p>Below is the error that I am seeing when I do `cargo build</p>
  <pre><code>error: failed to select a version for the requirement `pbkdf2 = &quot;^0.2.0&quot;`
  candidate versions found which didn't match: 0.9.0, 0.8.0, 0.7.5, ...
  required by package `mongodb v0.3.12`
      ... which satisfies dependency `mongodb = &quot;^0.3.12&quot;` of package `r2d2-mongodb v0.2.2`
      ... which satisfies dependency `r2d2-mongodb = &quot;^0.2.2&quot;` of package 
  </code></pre>
  <p>Here's my cargo.toml</p>
  <pre><code>[dependencies]
  anyhow = &quot;1.0.34&quot;
  chrono = { version = &quot;0.4.19&quot;, features = [&quot;serde&quot;] }
  dotenv = &quot;0.15.0&quot;
  jsonwebtoken = &quot;7.2.0&quot;
  r2d2 = &quot;0.8.9&quot;
  r2d2-mongodb = &quot;0.2.2&quot;
  rand = &quot;0.7.3&quot;
  rocket = &quot;0.4.8&quot;
  rocket_contrib = { version = &quot;0.4.8&quot;, features = [&quot;helmet&quot;, &quot;uuid&quot;] }
  rust-argon2 = &quot;0.8.2&quot;
  serde = { version = &quot;1.0.117&quot;, features = [&quot;derive&quot;] }
  uuid = { version = &quot;0.8.1&quot;, features = [&quot;serde&quot;, &quot;v4&quot;] }
  log = &quot;0.4&quot;
  log4rs = &quot;0.8&quot;
  
  [dev-dependencies]
  lazy_static = &quot;1.4.0&quot;
  serde_json = &quot;1.0.59&quot;
  </code></pre>
  <p>My rustc version</p>
  <pre><code>rustc 1.56.0-nightly (29ef6cf16 2021-08-31)
  </code></pre>