Cargo Features
[dependencies]
hls_lfcd_lds_driver = { version = "0.1.7", default-features = false, features = ["ser_de", "async_tokio", "async_smol", "sync"] }
- default = async_tokio
-
The
async_tokio
feature is set by default wheneverhls_lfcd_lds_driver
is added without
somewhere in the dependency tree.default-features = false - ser_de = serde, serde-big-array
-
Affects
hls_lfcd_lds_driver::LaserReading
… - async_tokio default = tokio, tokio-serial
- async_smol = futures, mio-serial, smol
- sync = 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.