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