Cargo Features
[dependencies]
xfrmnetlink = { version = "0.2.1", default-features = false, features = ["test_as_root", "tokio_socket", "smol_socket"] }
- default = tokio_socket
-
The
tokio_socket
feature is set by default wheneverxfrmnetlink
is added without
somewhere in the dependency tree.default-features = false - test_as_root
- tokio_socket default = tokio
-
Enables tokio_socket of netlink-proto
Affects
connection::new_connection
… - smol_socket = async-global-executor
-
Enables smol_socket of netlink-proto
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.