embassy/embassy-embedded-hal/Cargo.toml

39 lines
1.3 KiB
TOML
Raw Normal View History

2021-03-02 00:32:23 +01:00
[package]
name = "embassy-embedded-hal"
2021-03-02 00:32:23 +01:00
version = "0.1.0"
2022-06-18 02:15:48 +02:00
edition = "2021"
license = "MIT OR Apache-2.0"
2021-03-02 00:32:23 +01:00
2022-08-15 15:42:48 +02: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 20:40:41 +02:00
features = ["nightly", "std"]
2022-10-02 22:24:59 +02:00
target = "x86_64-unknown-linux-gnu"
2022-08-15 15:42:48 +02:00
2021-03-02 00:32:23 +01:00
[features]
std = []
# Enable nightly-only features
2023-05-22 16:48:31 +02:00
nightly = ["embassy-futures", "embedded-hal-async", "embedded-storage-async"]
2023-07-04 19:53:06 +02:00
time = ["dep:embassy-time"]
default = ["time"]
2021-03-02 00:32:23 +01:00
2021-03-02 21:14:58 +01:00
[dependencies]
2023-05-22 16:48:31 +02:00
embassy-futures = { version = "0.1.0", path = "../embassy-futures", optional = true }
embassy-sync = { version = "0.4.0", path = "../embassy-sync" }
2023-10-16 20:07:48 +02:00
embassy-time = { version = "0.1.5", 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 22:08:47 +01: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"