laser-dac 0.14.1

Unified laser DAC abstraction supporting multiple protocols
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! An Ether Dream simulator for tests and tools.
//!
//! Available with the `testutils` feature (and always in this crate's own unit
//! tests). It is not part of the stable API and may change in any release.
//!
//! * [`EtherDreamModel`] is the protocol state machine. It takes bytes and an
//!   injected clock and returns replies, with no sockets involved.
//! * [`SimServer`] wraps a model in a TCP command server and a UDP broadcaster,
//!   with knobs for injecting network faults.
//!
//! Both are driven by a [`FirmwareProfile`](super::FirmwareProfile).

pub mod model;
pub mod server;

pub use model::{EtherDreamModel, Reply};
pub use server::{Faults, SimServer, SimServerConfig};