Cargo Features
[dependencies]
tax_ids = { version = "0.1.0", default-features = false, features = ["eu_vat", "gb_vat", "ch_vat", "no_vat"] }
- default = eu_vat
-
The
eu_vat
feature is set by default whenevertax_ids
is added without
somewhere in the dependency tree.default-features = false - eu_vat default = roxmltree
- gb_vat
- ch_vat = roxmltree
- no_vat = toml
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.