sendmock-core 1.2.0

Shared types for SendMock: events, value objects, errors, clock and id traits.
Documentation
//! Shared types every SendMock crate builds on: events, value objects, errors and the clock and id traits.

pub mod byte_size;
pub mod clock;
pub mod credentials_file;
pub mod file_checksums;
pub mod id_generator;
pub mod random_source;
pub mod template;
pub mod timestamp;
pub mod wildcard_pattern;

pub use byte_size::parse_size_bytes;
pub use clock::{Clock, FixedClock, SystemClock};
pub use credentials_file::read_credentials_file;
pub use file_checksums::{FileChecksums, compute_file_checksums};
pub use id_generator::{IdGenerator, SequentialIdGenerator, SystemIdGenerator};
pub use random_source::{RandomSource, SeededRandomSource, SystemRandomSource};
pub use template::{
    RenderedTemplate, StandardTemplateFunctions, TemplateEscape, TemplateFunctions,
    TemplateProblem, TemplateProblemSeverity, TemplateRenderMode, evaluate_template_expression,
    render_template, render_template_in_mode,
};
pub use timestamp::{
    add_calendar_months, format_rfc3339, format_rfc5322, parse_duration_ms, parse_rfc3339,
};
pub use wildcard_pattern::matches_wildcard_pattern;