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 cards;
7pub mod context;
8pub mod egress;
9pub mod http;
10pub mod idempotency;
11pub mod ingress;
12pub mod platforms;
13pub mod prelude;
14pub mod provider;
15pub mod registry;
16pub mod secrets_paths;
17pub mod subjects;
18pub mod telemetry;
19pub mod types;
20pub mod validate;
21
22pub use cards::*;
23pub use context::*;
24pub use http::*;
25pub use idempotency::*;
26pub use ingress::*;
27pub use platforms::*;
28pub use prelude::*;
29pub use provider::*;
30pub use registry::*;
31pub use secrets_paths::*;
32pub use subjects::*;
33pub use telemetry::*;
34pub use types::*;
35pub use validate::*;
36
37/// Returns the semantic version advertised by this crate.
38///
39/// ```
40/// assert_eq!(gsm_core::version(), "0.1.0");
41/// ```
42pub fn version() -> &'static str {
43    "0.1.0"
44}