2021-03-02 00:32:23 +01:00
|
|
|
[package]
|
2022-05-26 18:54:58 +02:00
|
|
|
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"
|
2022-10-07 12:41:56 +02:00
|
|
|
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 = []
|
2022-07-09 23:41:02 +02:00
|
|
|
# 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 }
|
2023-09-14 18:26:00 +02:00
|
|
|
embassy-sync = { version = "0.3.0", path = "../embassy-sync" }
|
2023-10-12 18:10:34 +02:00
|
|
|
embassy-time = { version = "0.1.4", path = "../embassy-time", optional = true }
|
2023-05-22 15:57:20 +02:00
|
|
|
embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = [
|
|
|
|
"unproven",
|
|
|
|
] }
|
2023-08-16 00:40:56 +02:00
|
|
|
embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" }
|
|
|
|
embedded-hal-async = { version = "=1.0.0-rc.1", optional = true }
|
2022-01-24 12:54:09 +01:00
|
|
|
embedded-storage = "0.3.0"
|
2023-03-06 22:08:47 +01:00
|
|
|
embedded-storage-async = { version = "0.4.0", optional = true }
|
2022-07-19 21:15:47 +02:00
|
|
|
nb = "1.0.0"
|
|
|
|
|
|
|
|
defmt = { version = "0.3", optional = true }
|
2023-05-22 15:57:20 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-05-26 21:40:12 +02:00
|
|
|
critical-section = { version = "1.1.1", features = ["std"] }
|
2023-05-22 15:57:20 +02:00
|
|
|
futures-test = "0.3.17"
|