Cargo Features
[dependencies]
cloud-storage = { version = "0.11.1", default-features = false, features = ["global-client", "sync", "native-tls", "rustls-tls", "trust-dns"] }
- default = native-tls
-
The
native-tls
feature is set by default whenevercloud-storage
is added without
somewhere in the dependency tree.default-features = false - global-client
- sync
-
Enables blocking of reqwest ^0.11
Affects
cloud-storage::sync
… - native-tls default = openssl
-
Enables default-tls of reqwest ^0.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rustls-tls = pem, ring
-
Enables rustls-tls of reqwest ^0.11
- trust-dns
-
Enables trust-dns of reqwest ^0.11
reqwest:
Deprecated, remove this feature while bumping minor versions.
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.
- openssl native-tls
- ring rustls-tls?
-
Enables ring ^0.16
- pem rustls-tls?
-
Enables pem ^0.8