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 whenever genetlink is added without default-features = false somewhere in the dependency tree.

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.

tokio tokio_socket
async-std smol_socket?