Getting the following erros when add the dependency
error: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
--> /home/gottlieb/.asdf/installs/rust/1.88/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.6.1/src/lib.rs:541:9
|
541 | impl<T: ?Sized + ReadReady> ReadReady for &mut T {
| ^^^^^^
error: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
--> /home/gottlieb/.asdf/installs/rust/1.88/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-io-0.6.1/src/lib.rs:548:9
|
548 | impl<T: ?Sized + WriteReady> WriteReady for &mut T {
| ^^^^^^
Some errors have detailed explanations: E0405, E0412, E0425, E0463, E0531.
For more information about an error, try `rustc --explain E0405`.
error: could not compile `embedded-io` (lib) due to 172 previous errors
My cargo
[package]
edition = "2024"
name = "cobot-rs"
rust-version = "1.88"
version = "0.1.0"
[[bin]]
name = "cobot-rs"
path = "./src/bin/main.rs"
harness = false
[dependencies]
esp-hal = { version = "=1.0.0-rc.1", features = ["esp32", "unstable"] }
esp-println = { version = "0.11.0", features = ["esp32"] }
esp-bootloader-esp-idf = { version = "0.3.0", features = ["esp32"] }
critical-section = "1.2.0"
rtt-target = "0.6.1"
log = "0.4.17"
esp-idf-svc = "0.51"
# embedded-svc = "=0.28.1"
embedded-hal = "1.0.0"
[profile.dev]
# Rust debug is too slow.
# For debug builds always builds with some optimization
opt-level = "s"
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false
Getting the following erros when add the dependency
My cargo