hedwig 7.2.0

A simple message bus for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Implementations of validators.
//!
//! Validators are responsible for ensuring the message payload is valid according some description
//! and then constructing instances of [`ValidatedMessage`] that contain the encoded data in some
//! on-wire format.
//!
//! [`ValidatedMessage`]: crate::ValidatedMessage

#[cfg(feature = "json-schema")]
mod json_schema;
#[cfg(feature = "json-schema")]
pub use self::json_schema::*;

#[cfg(feature = "prost")]
pub mod prost;
#[cfg(feature = "prost")]
pub use self::prost::{ProstDecodeError, ProstDecoder, ProstValidator, ProstValidatorError};