Expand description
Registry - Backend discovery and registration service for Plexus hubs
This crate provides a standalone registry service that enables dynamic discovery of Plexus backend instances. Multiple Synapse clients can discover and connect to different Plexus hubs without manual configuration.
§Architecture
The registry stores backend connection information in SQLite and can be configured via TOML files. It implements the Activation trait from hub-core and can be hosted via hub-transport.
§Example
use plexus_registry::Registry;
use plexus_core::plexus::DynamicHub;
use std::sync::Arc;
let registry = Registry::with_defaults().await.unwrap();
let plexus = Arc::new(DynamicHub::new("registry").register(registry));Re-exports§
pub use activation::Registry;pub use types::BackendInfo;pub use types::BackendSource;pub use types::RegistryEvent;pub use types::RegistryStorageConfig;
Modules§
- activation
- plexus
- serde_
helpers - Serde helper utilities for consistent deserialization behavior
- storage
- types