doip_codec/lib.rs
1#![cfg_attr(not(feature = "std"), no_std)] // Use no_std when the "std" feature is disabled
2#![warn(clippy::pedantic)]
3#![warn(missing_docs)]
4#![warn(missing_debug_implementations)]
5
6//! # Diagnostics over Internet Protocol Codec Crate
7//!
8//! The purpose of this crate is to provide an easy way to encode and decode
9//! `DoIP` Messages defined in the `doip-definitions` crate.
10//!
11
12// region: --- Modules
13
14// Python bindings (only available when std is enabled)
15#[cfg(feature = "python-bindings")]
16#[cfg(any(not(test), rust_analyzer))]
17mod bindings;
18
19mod doip_codec;
20mod error;
21
22// Flatten
23pub use crate::error::{Error, Result};
24pub use doip_codec::*;
25
26// endregion: --- Modules