embassy/embassy-embedded-hal/Cargo.toml

39 lines
1.3 KiB
TOML
Raw Normal View History

2021-03-01 23:32:23 +00:00
[package]
name = "embassy-embedded-hal"
2021-03-01 23:32:23 +00:00
version = "0.1.0"
2022-06-18 00:15:48 +00:00
edition = "2021"
license = "MIT OR Apache-2.0"
2021-03-01 23:32:23 +00:00
2022-08-15 13:42:48 +00:00
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-embedded-hal-v$VERSION/embassy-embedded-hal/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-embedded-hal/src/"
2022-08-15 18:40:41 +00:00
features = ["nightly", "std"]
2022-10-02 20:24:59 +00:00
target = "x86_64-unknown-linux-gnu"
2022-08-15 13:42:48 +00:00
2021-03-01 23:32:23 +00:00
[features]
std = []
# Enable nightly-only features
2023-05-22 14:48:31 +00:00
nightly = ["embassy-futures", "embedded-hal-async", "embedded-storage-async"]
2023-07-04 17:53:06 +00:00
time = ["dep:embassy-time"]
default = ["time"]
2021-03-01 23:32:23 +00:00
2021-03-02 20:14:58 +00:00
[dependencies]
2023-05-22 14:48:31 +00:00
embassy-futures = { version = "0.1.0", path = "../embassy-futures", optional = true }
2023-04-13 21:03:21 +00:00
embassy-sync = { version = "0.2.0", path = "../embassy-sync" }
2023-08-28 15:00:18 +00:00
embassy-time = { version = "0.1.3", path = "../embassy-time", optional = true }
embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = [
"unproven",
] }
embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" }
embedded-hal-async = { version = "=1.0.0-rc.1", optional = true }
embedded-storage = "0.3.0"
2023-03-06 21:08:47 +00:00
embedded-storage-async = { version = "0.4.0", optional = true }
nb = "1.0.0"
defmt = { version = "0.3", optional = true }
[dev-dependencies]
critical-section = { version = "1.1.1", features = ["std"] }
futures-test = "0.3.17"