Cargo Features
[dependencies]
cotton-netif = { version = "0.0.5", default-features = false, features = ["std", "async", "sync"] }
- default = async, std, sync
-
These default features are set whenever
cotton-netif
is added without
somewhere in the dependency tree.default-features = false - std default async sync
-
Enables std of no-std-net
no-std-net:
Makes the library act as a facade to std::net types
- async default = std
-
Enables async-stream, futures-util, neli, nix, tokio, and tokio-test
Affects
cotton-netif::linux_netlink
… - sync default = std
-
Affects
cotton-netif::getifaddrs
…