Skip to content

Commit

Permalink
Update minimum embedded-io version
Browse files Browse the repository at this point in the history
The 0.6.0 version of `embedded-io` does not have `SliceWriteError` in the public API, leading to this error if the 0.6.0 version is selected:

```
error[E0432]: unresolved import `embedded_io::SliceWriteError`
 --> /Users/james/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-async-0.6.1/src/impls/slice_mut.rs:2:5
  |
2 | use embedded_io::SliceWriteError;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SliceWriteError` in the root

For more information about this error, try `rustc --explain E0432`.
error: could not compile `embedded-io-async` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
```

This means that embedded-io-async requires *at least* embedded-io 0.6.
  • Loading branch information
jamesmunns authored Jul 13, 2024
1 parent 8a9b250 commit a9c1ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embedded-io-async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ alloc = ["embedded-io/alloc"]
defmt-03 = ["dep:defmt-03", "embedded-io/defmt-03"]

[dependencies]
embedded-io = { version = "0.6", path = "../embedded-io" }
embedded-io = { version = "0.6.1", path = "../embedded-io" }
defmt-03 = { package = "defmt", version = "0.3", optional = true }

[package.metadata.docs.rs]
Expand Down

0 comments on commit a9c1ebd

Please sign in to comment.