Cargo Features
[dependencies]
num-decimal = { version = "0.2.5", default-features = false, features = ["num-v02", "num-v04", "serde"] }
- default = num-v02
-
The
num-v02
feature is set by default whenevernum-decimal
is added without
somewhere in the dependency tree.default-features = false - num-v02 default = num-bigint-v02, num-rational-v02
- num-v04 = num-bigint-v04, num-rational-v04
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- num-bigint-v02 num-v02
-
Enables num-bigint ^0.2
- num-rational-v02 num-v02
-
Enables num-rational ^0.2
- num-bigint-v04 num-v04?
-
Enables num-bigint
- num-rational-v04 num-v04?
-
Enables num-rational
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework