Lodestone/
lib.rs

1// src/lib.rs
2//! Lodestone - High-Performance Service Discovery and Routing System
3//!
4//! Lodestone combines a distributed service registry with a high-performance
5//! router, allowing for dynamic service discovery and zero-downtime routing
6//! in microservice environments.
7
8use std::sync::Arc;
9
10pub mod config;
11pub mod discovery;
12pub mod router;
13pub mod api;
14pub mod client;
15pub mod service;
16pub mod store;
17pub mod health;
18pub mod metrics;
19pub mod util;
20
21/// Re-export key types for easier usage
22pub use config::Config;
23pub use service::{Service, ServiceInstance, ServiceHealth};
24pub use discovery::ServiceRegistry;
25pub use router::Router;
26
27/// Version information
28pub const VERSION: &str = env!("CARGO_PKG_VERSION");