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