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 whenever num-decimal is added without default-features = false somewhere in the dependency tree.

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.

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