Cargo Features
[dependencies]
oci-distribution = { version = "0.11.0", default-features = false, features = ["native-tls", "rustls-tls", "rustls-tls-native-roots", "trust-dns", "test-registry"] }
- default = native-tls, test-registry
-
These default features are set whenever
oci-distribution
is added without
somewhere in the dependency tree.default-features = false - native-tls default
-
Enables native-tls of reqwest
reqwest:
Enables native-tls specific functionality not available by default.
Affects
client::ClientConfig.accept_invalid_hostnames
… - rustls-tls
-
Enables rustls-tls of reqwest
- rustls-tls-native-roots
-
Enables rustls-tls-native-roots of reqwest
- trust-dns
-
reqwest:
Deprecated, remove this feature while bumping minor versions.
- test-registry default
-
This features is used by tests that use docker to create a registry