Crates.io | dlwp |
lib.rs | dlwp |
version | 0.1.0-alpha |
source | src |
created_at | 2024-07-05 19:09:44.541146 |
updated_at | 2024-07-05 19:09:44.541146 |
description | The DLWP library |
homepage | |
repository | https://github.com/NathanMcMillan54/dlw/ |
max_upload_size | |
id | 1292998 |
size | 47,384 |
DarkLight Web Protocol Library
This library is used for interacting with darklight_driver
to create or connect to DarkLight streams and send
or receive Messages
. Documentation can be found on
docs.rs, examples can be found in the
tests
and
test_streams/
As mentioned in the darklight_driver
setup, libudev
is needed to compile on
Linux OSes if the use_io
feature is enabled.
Cargo.toml
:[features]
# Enable if testing a stream
test_stream = []
# If enabled the serde and serde_json crates will be publicly available from dlwp
include_serde = ["serde/serde_derive", "serde/std"]
# If enabled the chrono crate will be publicly available from dlwp
include_chrono = ["chrono"]
# Used by DarkLight driver, this is not needed for regular use
use_io = ["serialport"]