#Cargo no matching package named `russh` found despite having a local copy already

9 messages · Page 1 of 1 (latest)

solar jasperBOT
#

Hey!

I've been trying to get russh to compile locally, which apparently has a version mismatch with its dependency russh-keys.
After fiddling a bit with the version, Rust literally just says russh doesn't exist on crate.io anymore. What?

#

I've tried to switch to a version pair I've found working on github

#
[package]
name = "console"
version = "0.1.0"
edition = "2021"

[dependencies]
russh = "0.34.0-beta.15"
russh-keys = "0.22.0-beta.6"
futures = "0.3.21"
tokio = "1.13.0"
akarys@mojito ~/P/console (main) [101]> cargo build
    Updating crates.io index
error: no matching package named `russh` found
location searched: registry `crates-io`
required by package `console v0.1.0 (/home/akarys/Projects/console)`
solar jasperBOT
#

I solved the issue

solar jasperBOT
#

nope, she lied

#

this makes no sense

#

it builds fine in a Codespace

#

trying rm -rf /home/akarys/.cargo/registry/ I guess

#

if that doesn't work I'm seriously considering pivoting to Python lmfao