Cargo Features
[dependencies]
tun-rs = { version = "1.4.5", default-features = false, features = ["async", "async_tokio", "async_std", "wintun-dns", "experimental"] }
- default = wintun-dns
-
The
wintun-dns
feature is set by default whenevertun-rs
is added without
somewhere in the dependency tree.default-features = false - async = async_tokio
- async_tokio async? = blocking, tokio
-
Affects
async_device::AsyncFd
,tun-rs::r#async
… - async_std = async-io, blocking
-
Affects
async_device::AsyncFd
,tun-rs::r#async
… - wintun-dns default
- experimental
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.