Cargo Features
[dependencies]
remote_config = { version = "0.2.0", default-features = false, features = ["http", "serde", "json", "toml", "yaml", "xml", "tracing", "non_static"] }
- default = http, json, serde
-
These default features are set whenever
remote_config
is added without
somewhere in the dependency tree.default-features = false - http default serde
-
Enable http client
Enables cache_control and reqwest
Affects
data_providers::http
… - serde default json toml? xml? yaml? = http
-
Enable serde data extractor
Enables serde
Deserialization
Affects
http::serde_extractor
… - json default = serde
-
Enable JSON deserialization
Enables serde_json
- toml = serde
-
Enable TOML deserialization
Enables toml
- yaml = serde
-
Enable yaml deserialization
Enables serde_yaml
- xml = serde
-
Enable xml deserialization
Enables serde-xml-rs
- tracing
-
Enable tracing
Enables tracing
- non_static
-
Enable non_static implementation for RemoteConfig wrapped in Arc
Affects
config::NonStaticRemoteConfig
…