Cargo Features
[dependencies]
circe = { version = "0.1.5", default-features = false, features = ["tls", "debug", "toml_support"] }
- default = tls
-
The
tls
feature is set by default whenevercirce
is added without
somewhere in the dependency tree.default-features = false - tls default = native-tls
- debug
- toml_support = serde, serde_derive, 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.