Rename default_features to default-features.

This commit is contained in:
Stephen Chung 2021-06-11 12:29:03 +08:00
parent a1950a9562
commit 2a0ab4739f

View File

@ -18,9 +18,9 @@ categories = ["no-std", "embedded", "wasm", "parser-implementations"]
[dependencies] [dependencies]
smallvec = { version = "1.6", default-features = false, features = ["union"] } smallvec = { version = "1.6", default-features = false, features = ["union"] }
ahash = { version = "0.7", default-features = false } ahash = { version = "0.7", default-features = false }
num-traits = { version = "0.2", default_features = false } num-traits = { version = "0.2", default-features = false }
smartstring = { version = "0.2.6", default_features = false } smartstring = { version = "0.2.6", default-features = false }
rhai_codegen = { version = "0.4.0", path = "codegen", default_features = false } rhai_codegen = { version = "0.4.0", path = "codegen", default-features = false }
[features] [features]
default = ["smartstring/std", "ahash/std", "num-traits/std"] # remove 'smartstring/std' when smartstring is updated to support no-std default = ["smartstring/std", "ahash/std", "num-traits/std"] # remove 'smartstring/std' when smartstring is updated to support no-std
@ -59,41 +59,41 @@ codegen-units = 1
[dependencies.no-std-compat] [dependencies.no-std-compat]
version = "0.4" version = "0.4"
default_features = false default-features = false
features = ["alloc"] features = ["alloc"]
optional = true optional = true
[dependencies.libm] [dependencies.libm]
version = "0.2" version = "0.2"
default_features = false default-features = false
optional = true optional = true
[dependencies.core-error] [dependencies.core-error]
version = "0.0" version = "0.0"
default_features = false default-features = false
features = ["alloc"] features = ["alloc"]
optional = true optional = true
[dependencies.serde] [dependencies.serde]
version = "1.0" version = "1.0"
default_features = false default-features = false
features = ["derive", "alloc"] features = ["derive", "alloc"]
optional = true optional = true
[dependencies.serde_json] [dependencies.serde_json]
version = "1.0" version = "1.0"
default_features = false default-features = false
features = ["alloc"] features = ["alloc"]
optional = true optional = true
[dependencies.unicode-xid] [dependencies.unicode-xid]
version = "0.2" version = "0.2"
default_features = false default-features = false
optional = true optional = true
[dependencies.rust_decimal] [dependencies.rust_decimal]
version = "1.14" version = "1.14"
default_features = false default-features = false
features = ["maths"] features = ["maths"]
optional = true optional = true