serde_aux/
lib.rs

1//! # serde-aux
2//!
3//! A serde auxiliary library.
4
5#![deny(missing_docs)]
6#![deny(warnings)]
7
8/// Contains helpers for the containers.
9pub mod container_attributes;
10/// Contains helpers for the fields.
11#[macro_use]
12pub mod field_attributes;
13/// Contains helpers for accessing structure metadata (e.g. struct field names when serialized) using serde.
14pub mod serde_introspection;
15
16/// Prelude module, contains the most needed helpers from this library.
17pub mod prelude {
18    pub use crate::container_attributes::*;
19    pub use crate::field_attributes::*;
20    pub use crate::serde_introspection::*;
21}