9 unstable releases (3 breaking)

Uses old Rust 2015

0.4.4 Mar 23, 2018
0.4.3 Mar 23, 2018
0.3.0 Jan 10, 2018
0.2.0 Dec 2, 2017
0.1.0 Sep 13, 2015

#34 in #dmx

Download history 387/week @ 2024-07-19 221/week @ 2024-07-26 1549/week @ 2024-08-02 617/week @ 2024-08-09 34/week @ 2024-08-16 8/week @ 2024-08-23 280/week @ 2024-08-30 112/week @ 2024-09-06 32/week @ 2024-09-13 282/week @ 2024-09-20 456/week @ 2024-09-27 964/week @ 2024-10-04 93/week @ 2024-10-11 173/week @ 2024-10-18 11/week @ 2024-10-25 318/week @ 2024-11-01

641 downloads per month

MIT/Apache

57KB
1K SLoC

Rust sACN implementation

Join the chat at https://gitter.im/rust_sacn/Lobby Build Status Crates.io

Documentation

This is an implementation of the Streaming ACN (ANSI E1.31) network protocol.

Currently only the sending DMX data is implemented.

Parsing of the sACN network packets is allocation free and can work in no_std environments.

Usage

Add to Cargo.toml:

[dependencies]

sacn = "0.4.4"

Create a DmxSource and start sending DMX data to a universe.

extern crate sacn;
use sacn::DmxSource;

let mut dmx_source = DmxSource::new("Controller").unwrap();

dmx_source.send(1, &[0, 1, 2]);
// ...

// terminate the stream for a specific universe
dmx_source.terminate_stream(1);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~180–550KB