Cargo Features
[dependencies]
starknet-ff = { version = "0.3.7", default-features = false, features = ["std", "alloc", "serde", "bigdecimal"] }
- default = serde, std
-
These default features are set whenever
starknet-ff
is added without
somewhere in the dependency tree.default-features = false - std default bigdecimal?
- alloc serde
-
Enables alloc of optional serde
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
- serde default = alloc
-
Enables serde, serde of optional bigdecimal ^0.3.0
- bigdecimal = std
-
Enables bigdecimal ^0.3.0 and num-bigint
starknet-ff has 5 features without comments.