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

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