dnp3/
lib.rs

1#![doc = include_str!("../README.md")]
2#![cfg_attr(test, allow(dead_code))]
3
4#[cfg(test)]
5#[macro_use]
6extern crate assert_matches;
7
8/// Current version of the library
9pub const VERSION: &str = env!("CARGO_PKG_VERSION");
10
11/// Application layer types shared by both the master and outstation APIs
12pub mod app;
13/// Types used to control decoding in the log
14pub mod decode;
15/// Types specific to the link-layer
16pub mod link;
17/// Types and traits specific to masters
18pub mod master;
19/// Types and traits specific to outstations
20pub mod outstation;
21/// Entry points and types for serial
22#[cfg(feature = "serial")]
23pub mod serial;
24/// Entry points and types for TCP
25pub mod tcp;
26/// Entry points and types for UDP
27pub mod udp;
28
29pub(crate) mod transport;
30pub(crate) mod util;