fixed async/sync usage
This commit is contained in:
@@ -9,11 +9,10 @@ repository = "https://git.kapelle.org/niklas/as7265x-rust"
|
||||
homepage = "https://git.kapelle.org/niklas/as7265x-rust"
|
||||
|
||||
[dependencies]
|
||||
embedded-hal = "1.0.0"
|
||||
maybe-async = { version = "0.2.10", features=["is_sync"]}
|
||||
embedded-hal = { version = "1.0.0", optional = true }
|
||||
maybe-async = { version = "0.2.10" }
|
||||
|
||||
embedded-hal-async = { version = "1.0.0", optional = true }
|
||||
embedded-hal-async = { version = "1.0.0" }
|
||||
|
||||
[features]
|
||||
async = [ "embedded-hal-async" ]
|
||||
|
||||
sync = ["embedded-hal", "maybe-async/is_sync"]
|
||||
|
||||
Reference in New Issue
Block a user