| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies. |
| # |
| # If you are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2021" |
| name = "embedded-io" |
| version = "0.4.0" |
| description = "Embedded IO traits" |
| readme = "README.md" |
| categories = [ |
| "embedded", |
| "no-std", |
| ] |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/embassy-rs/embedded-io" |
| |
| [package.metadata.docs.rs] |
| features = [ |
| "std", |
| "async", |
| "defmt", |
| "futures", |
| "tokio", |
| ] |
| rustdoc-args = [ |
| "--cfg", |
| "docsrs", |
| ] |
| |
| [dependencies.defmt] |
| version = "0.3" |
| optional = true |
| |
| [dependencies.futures] |
| version = "0.3.21" |
| optional = true |
| default-features = false |
| |
| [dependencies.log] |
| version = "0.4.14" |
| optional = true |
| |
| [dependencies.tokio] |
| version = "1" |
| features = ["net"] |
| optional = true |
| default-features = false |
| |
| [features] |
| alloc = [] |
| async = [] |
| futures = [ |
| "std", |
| "async", |
| "dep:futures", |
| ] |
| std = [ |
| "alloc", |
| "futures?/std", |
| ] |
| tokio = [ |
| "std", |
| "async", |
| "dep:tokio", |
| ] |