Cargo Features
[dependencies]
apollo-client = { version = "0.8.0", default-features = false, features = ["full", "default-tls", "conf", "host", "host-ip", "host-name", "open", "auth"] }
- default = conf, default-tls
-
These default features are set whenever
apollo-client
is added without
somewhere in the dependency tree.default-features = false - full = open
- default-tls default
-
Enables default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- conf default = async-stream, host, rust-ini
-
Affects
apollo-client::conf
… - host conf = host-ip, host-name
- host-ip host? = cidr-utils, systemstat
- host-name host? = hostname
- open full?
-
Affects
apollo-client::open
… - auth = base64, chrono, hmac, sha1, urlencoding
-
Affects
requests::CachedFetchRequest.access_key
,requests::FetchRequest.access_key
,requests::NotifyRequest.access_key
,requests::WatchRequest.access_key
…
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.