ttrpc-rust icon indicating copy to clipboard operation
ttrpc-rust copied to clipboard

Cannot use with home 0.5.9 and rust 1.68 together

Open teawater opened this issue 11 months ago • 0 comments

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 [email protected] --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 [email protected] --precise 0.5.5

teawater avatar Mar 13 '24 07:03 teawater