protocheck_core/lib.rs
1#![cfg_attr(docsrs, feature(doc_cfg))]
2#![doc = include_str!("../README.md")]
3
4pub(crate) use proto_types::{field_descriptor_proto::Type as ProtoType, protovalidate};
5
6/// The context about the field being validated that is passed to the validators.
7pub mod field_data;
8
9/// The functions executing the validation logic. These are called by the validators added by [`protocheck-proc-macro`](https://docs.rs/protocheck-proc-macro/0.1.0/protocheck_proc_macro/) to the target structs.
10pub mod validators;
11
12#[cfg(feature = "cel")]
13pub use cel;