Cargo Features

[dependencies]
ethtool = { version = "0.2.5", default-features = false, features = ["tokio_socket", "smol_socket"] }
default = tokio_socket

The tokio_socket feature is set by default whenever ethtool 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.

async-std smol_socket?
tokio tokio_socket