1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
//! # serde-aux
//!
//! A serde auxiliary library.

#![deny(missing_docs)]
#![deny(warnings)]

/// Contains helpers for the containers.
pub mod container_attributes;
/// Contains helpers for the fields.
pub mod field_attributes;
/// Contains helpers for accessing structure metadata (e.g. struct field names when serialized) using serde.
pub mod serde_introspection;

/// Prelude module, contains the most needed helpers from this library.
pub mod prelude {
    pub use crate::container_attributes::*;
    pub use crate::field_attributes::*;
    pub use crate::serde_introspection::*;
}