make num-traits std optional
This commit is contained in:
parent
ed4d0ee1fd
commit
e9b22460ab
@ -13,10 +13,10 @@ categories = ["Science", "Simulation"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
typenum = "1.16"
|
typenum = "1.16"
|
||||||
num-traits = "0.2"
|
num-traits = [version = "0.2", default-features = false]
|
||||||
defmt = { version = "0.3", optional = true }
|
defmt = { version = "0.3", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
defmt = ["dep:defmt"]
|
defmt = ["dep:defmt"]
|
||||||
std = []
|
std = ["num-traits/std"]
|
||||||
|
Loading…
Reference in New Issue
Block a user