Cargo Features

[dependencies]
elf2uf2-rs = { version = "2.1.1", default-features = false, features = ["serial"] }
default = serial

The serial feature is set by default whenever elf2uf2-rs is added without default-features = false somewhere in the dependency tree.

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.

serialport serial