Cargo Features

[dependencies]
doip-tokio = { version = "0.1.0", default-features = false, features = ["tls", "insecure"] }
default = tls

The tls feature is set by default whenever doip-tokio is added without default-features = false somewhere in the dependency tree.

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