containerd / ttrpc-rust

Rust implementation of ttrpc (GRPC for low-memory environments)
Apache License 2.0
197 stars 47 forks source link

Cannot use with home 0.5.9 and rust 1.68 together #219

Closed teawater closed 7 months ago

teawater commented 8 months ago

Cargo.toml

ttrpc = { version = "0.8", features = ["async"] }

Got following fail:

cargo build --examples
error: package `home v0.5.9` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.68.2
Either upgrade to rustc 1.70.0 or newer, or use
cargo update -p home@0.5.9 --precise ver
where `ver` is the latest version of `home` supporting rustc 1.68.2

The root cause should be ttrpc-rust doesn't supoort 0.5.9. Work around: Add following to Cargo.toml

home = "=0.5.5"

Or use following command:

cargo update -p home@0.5.9 --precise 0.5.5