Pure-Rust asynchronous SSH library, both client and server

#3 Use patches over replaces

Closed on November 12, 2020
cole-h on November 12, 2020

According to the Cargo docs (https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-replace-section), the replace section is deprecated in favor of the patches section. This also fixes errors like the following due to mismatched (not-updated) versions in the root Cargo.toml:

error: failed to get `thrussh-libsodium` as a dependency of package `thrussh-keys v0.18.0 (/home/vin/workspace/pijul/thrussh/thrussh-keys)`

Caused by:
  no matching package for override `https://github.com/rust-lang/crates.io-index#thrussh-libsodium:0.2.0` found
  location searched: /home/vin/workspace/pijul/thrussh/thrussh-libsodium
  version required: =0.2.0
cole-h added a change on November 12, 2020
This change could not be retrieved at the moment
SBA3GSK4JTWUCQ2AYK2W7XG44HLFOCQSDDPJMURIIM2SUJ7KJ45AC
cole-h added a change on November 12, 2020
This change could not be retrieved at the moment
2BCKDHW74QUMFFR6CCXDTTQ35V5DOXHVP474OLVIOBCS4XSK6D6QC
pmeunier on November 12, 2020

I wasn’t aware of this new feature in Cargo, this makes it much simpler.

pmeunier closed this discussion on November 12, 2020