Cargo Features
[dependencies]
kvarn-quinn-proto = { version = "0.11.0-alpha1", default-features = false, features = ["tls-rustls", "platform-verifier", "log", "arbitrary"] }
- default = log, tls-rustls
-
These default features are set whenever
kvarn-quinn-proto
is added without
somewhere in the dependency tree.default-features = false - tls-rustls default = ring, rustls
- platform-verifier = rustls-platform-verifier
-
Provides
ClientConfig::with_platform_verifier()
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-platform-verifier platform-verifier?
-
Enables rustls-platform-verifier ^0.1.1
- arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data