Cargo Features
[dependencies]
ch4 = { version = "0.16.0", default-features = false, features = ["net-std", "net-tokio", "net-async-std", "net-smol", "socket2"] }
- default = net-tokio
-
The
net-tokio
feature is set by default wheneverch4
is added without
somewhere in the dependency tree.default-features = false - net-std
- net-tokio default = tokio
- net-async-std = async-std
-
Enables net-async-std of rsdns
- net-smol = smol
- socket2
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.