title: rust compiler "error: no matching package named `*` found" though it should be present
body: <p>A while back I setup a project with the following in my <code>Cargo.tml</code>:</p>
  <pre><code>[dependencies]
  reqwest = { version = &quot;0.11&quot;, features = [&quot;blocking&quot;, &quot;json&quot;] }
  </code></pre>
  <p>That all worked great. Now I tried to add an additional dependency by adding the line <code>teloxide = { version = &quot;0.4&quot;, features = [&quot;auto-send&quot;, &quot;macros&quot;] }</code> to <code>Cargo.tml</code> and get an error of:</p>
  <p><code>error: no matching package named 'teloxide' found</code></p>
  <p>I'm not sure what is the cause of this error, or what to investigate further - perhaps there is some way I can see which packages the compiler can list/recognize? I've found these two threads but they don't seem to provide any conclusive answer (I did try removed <code>~/.cargo</code> which resulted in no change in behavior):</p>
  <p><a href="https://github.com/rust-lang/cargo/issues/6686" rel="nofollow noreferrer">https://github.com/rust-lang/cargo/issues/6686</a>
  <a href="https://github.com/balena-os/balena-raspberrypi/issues/261" rel="nofollow noreferrer">https://github.com/balena-os/balena-raspberrypi/issues/261</a></p>
  <p>Potentially the issue is related to nix or naersk which I'm using.</p>