Rename default_features to default-features.
@@ -18,9 +18,9 @@ categories = ["no-std", "embedded", "wasm", "parser-implementations"]
[dependencies]
smallvec = { version = "1.6", default-features = false, features = ["union"] }
ahash = { version = "0.7", default-features = false }
-num-traits = { version = "0.2", default_features = false }
-smartstring = { version = "0.2.6", default_features = false }
-rhai_codegen = { version = "0.4.0", path = "codegen", default_features = false }
+num-traits = { version = "0.2", default-features = false }
+smartstring = { version = "0.2.6", default-features = false }
+rhai_codegen = { version = "0.4.0", path = "codegen", default-features = false }
[features]
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]
version = "0.4"
-default_features = false
+default-features = false
features = ["alloc"]
optional = true
[dependencies.libm]
version = "0.2"
-default_features = false
+default-features = false
optional = true
[dependencies.core-error]
version = "0.0"
-default_features = false
+default-features = false
features = ["alloc"]
optional = true
[dependencies.serde]
version = "1.0"
-default_features = false
+default-features = false
features = ["derive", "alloc"]
optional = true
[dependencies.serde_json]
version = "1.0"
-default_features = false
+default-features = false
features = ["alloc"]
optional = true
[dependencies.unicode-xid]
version = "0.2"
-default_features = false
+default-features = false
optional = true
[dependencies.rust_decimal]
version = "1.14"
-default_features = false
+default-features = false
features = ["maths"]
optional = true
