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 whenever hls_lfcd_lds_driver is added without default-features = false somewhere in the dependency tree.

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.

tokio async_tokio
tokio-serial async_tokio
serde ser_de?
serde-big-array ser_de?

Enables serde-big-array ^0.4

serialport sync?
mio-serial async_smol?
smol async_smol?

Enables smol ^1.2

futures async_smol?