Cargo Features
[dependencies]
socketcan-hal = { version = "3.0.0-alpha.2", default-features = false, features = ["netlink", "vcan_tests", "utils"] }
Features:
"netlink" (default) - Whether to include CAN interface configuration
capabilities based on netlink kernel communications "utils" - Build command-line utilities
- default = netlink
-
The
netlink
feature is set by default wheneversocketcan-hal
is added without
somewhere in the dependency tree.default-features = false - netlink default vcan_tests? = neli
- vcan_tests = netlink
- utils = anyhow, clap
-
Required by the can binary
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.