Cargo Features
[dependencies]
pico-uf2 = { version = "1.0.2", default-features = false, features = ["serial"] }
- default = serial
-
The
serial
feature is set by default wheneverpico-uf2
is added without
somewhere in the dependency tree.default-features = false - serial default = serialport
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.