gsm_core/
lib.rs

1//! Greentic Messaging core contracts and value types.
2//!
3//! This crate exposes the shared data structures exchanged between ingress, runner, and egress
4//! components. It also provides validation helpers and small utilities for subject naming and
5//! idempotency tracking.
6pub mod context;
7pub mod egress;
8pub mod idempotency;
9pub mod ingress;
10pub mod platforms;
11pub mod prelude;
12pub mod provider;
13pub mod registry;
14pub mod secrets_paths;
15pub mod subjects;
16pub mod types;
17pub mod validate;
18
19pub use context::*;
20pub use idempotency::*;
21pub use ingress::*;
22pub use platforms::*;
23pub use prelude::*;
24pub use provider::*;
25pub use registry::*;
26pub use secrets_paths::*;
27pub use subjects::*;
28pub use types::*;
29pub use validate::*;
30
31/// Returns the semantic version advertised by this crate.
32///
33/// ```
34/// assert_eq!(gsm_core::version(), "0.1.0");
35/// ```
36pub fn version() -> &'static str {
37    "0.1.0"
38}