Cargo Features
[dependencies]
can = { version = "0.2.1-alpha.4", default-features = false, features = ["embedded-can-compat", "socketcan-compat"] }
- default = embedded-can-compat, socketcan-compat
-
These default features are set whenever
can
is added without
somewhere in the dependency tree.default-features = false - embedded-can-compat default = embedded-can
- socketcan-compat default = socketcan
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.