Allow to disable std feature
This commit is contained in:
parent
8bfb983bac
commit
baded5a6f2
|
@ -12,4 +12,10 @@ categories = ["algorithms", "no-std"]
|
||||||
license = "Apache-2.0/MIT"
|
license = "Apache-2.0/MIT"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
num-traits = "0.2"
|
num-traits = { version = "0.2", default-features = false }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["std"]
|
||||||
|
std = [
|
||||||
|
"num-traits/std",
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue