dlwp

Crates.iodlwp
lib.rsdlwp
version0.1.0-alpha
sourcesrc
created_at2024-07-05 19:09:44.541146
updated_at2024-07-05 19:09:44.541146
descriptionThe DLWP library
homepage
repositoryhttps://github.com/NathanMcMillan54/dlw/
max_upload_size
id1292998
size47,384
(NathanMcMillan54)

documentation

https://docs.rs/

README

dlwp

        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/

Requirements

As mentioned in the darklight_driver setup, libudev is needed to compile on Linux OSes if the use_io feature is enabled.

Features in 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"]
Commit count: 61

cargo fmt