remora/crates/remora-coordination/src/lib.rs

18 lines
526 B
Rust
Raw Normal View History

//! Dragonfly/Redis coordination primitives with global slots and process-local
//! permits; feature packages own protocol orchestration.
mod error;
mod keys;
mod local;
mod scripts;
mod store;
mod types;
pub use error::CoordinationError;
pub use keys::KeySpace;
pub use local::LocalPermitGate;
pub use store::{CoordinationStore, StoreConfig};
pub use types::{
ActivateOptions, LeaseOwner, LeaseRecord, LiveLease, MAX_SAFE_INTEGER, OpCode, OpResult,
ProgressHint, ProgressValue, Reservation, ensure_safe_integer,
};