Move traits to separate crate.
This commit is contained in:
committed by
Dario Nieuwenhuis
parent
084b64053a
commit
9626aee7db
@ -5,12 +5,13 @@ authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
|
||||
edition = "2018"
|
||||
|
||||
[features]
|
||||
std = ["futures/std"]
|
||||
defmt-trace = []
|
||||
defmt-debug = []
|
||||
defmt-info = []
|
||||
defmt-warn = []
|
||||
defmt-error = []
|
||||
std = ["futures/std", "embassy-traits/std"]
|
||||
defmt = ["embassy-traits/defmt", "dep:defmt"]
|
||||
defmt-trace = ["embassy-traits/defmt-trace"]
|
||||
defmt-debug = ["embassy-traits/defmt-debug"]
|
||||
defmt-info = ["embassy-traits/defmt-info"]
|
||||
defmt-warn = ["embassy-traits/defmt-warn"]
|
||||
defmt-error = ["embassy-traits/defmt-error"]
|
||||
|
||||
[dependencies]
|
||||
defmt = { version = "0.2.0", optional = true }
|
||||
@ -20,4 +21,5 @@ cortex-m = "0.7.1"
|
||||
futures = { version = "0.3.5", default-features = false }
|
||||
pin-project = { version = "1.0.2", default-features = false }
|
||||
embassy-macros = { version = "0.1.0", path = "../embassy-macros"}
|
||||
embassy-traits = { version = "0.1.0", path = "../embassy-traits"}
|
||||
|
||||
|
Reference in New Issue
Block a user