Cargo Features
[dependencies]
bigdecimal = { version = "0.4.2", default-features = false, features = ["std", "string-only", "serde"] }
- default = std
-
The
std
feature is set by default wheneverbigdecimal
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of num-bigint, num-integer, and num-traits
- string-only
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.
- serde implicit feature