Cargo Features

DLWP has no features set by default.

[dependencies]
dlwp = { version = "0.1.0-alpha", features = ["test_stream", "include_serde", "include_chrono", "use_io"] }
test_stream

Enable if testing a stream

include_serde

If enabled the serde and serde_json crates will be publicly available from dlwp

Enables serde

include_chrono = chrono

If enabled the chrono crate will be publicly available from dlwp

use_io = serialport

Used by DarkLight driver, this is not needed for regular use

Affects dlwp::distributor, dlwp::io

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.

chrono include_chrono?
serialport use_io?

Enables serialport ^3.3.0