Cargo Features
[dependencies]
doip-tokio = { version = "0.1.0", default-features = false, features = ["tls", "insecure"] }
- default = tls
-
The
tls
feature is set by default wheneverdoip-tokio
is added without
somewhere in the dependency tree.default-features = false - tls default = tls-api, tls-api-stub
- insecure
-
Offer non tls methods, network traffic is unprotected!
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.
- tls-api tls
-
Enables tls-api ^0.7
- tls-api-stub tls
-
Enables tls-api-stub ^0.7.0