Cargo Features

[dependencies]
reopenconnect = { version = "0.1.0", default-features = false, features = ["with-null-tun", "with-tokio-tun"] }
default = with-null-tun

The with-null-tun feature is set by default whenever reopenconnect is added without default-features = false somewhere in the dependency tree.

with-null-tun default
with-tokio-tun = tokio-tun

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.

tokio-tun with-tokio-tun?

Enables tokio-tun ^0.3