Cargo Features
[dependencies]
squinn-proto = { version = "0.11.8", default-features = false, features = ["tls-rustls", "native-certs", "log", "arbitrary"] }
- default = log, tls-rustls
-
These default features are set whenever
squinn-proto
is added without
somewhere in the dependency tree.default-features = false - tls-rustls default = ring, rustls
- native-certs = rustls-native-certs
-
Provides
ClientConfig::with_native_roots()
convenience method - log default
-
Write logs via the
log
crate when notracing
subscriber exists
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.
- ring tls-rustls
-
Enables ring ^0.16.7
- rustls tls-rustls
-
Enables rustls ^0.21.0
Affects
crypto::rustls
… - rustls-native-certs native-certs?
-
Enables rustls-native-certs ^0.6
- arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data