Skip to main content

limes_proto/
lib.rs

1//! Shared data types used by limes frontends and backend code.
2//!
3//! Keep this crate lightweight. A native frontend can depend on `limes-login`
4//! or `limes-lock` directly, while an out-of-process/webview frontend can use
5//! these types as the stable vocabulary for a future IPC/FFI boundary.
6
7pub mod auth;
8pub mod events;
9pub mod lock;
10pub mod session;
11
12pub use auth::{AuthFailure, AuthOutcome, AuthRequest, AuthSuccess, PamMessageKind};
13pub use events::LimesEvent;
14pub use lock::LockState;
15pub use session::{SessionChoice, SessionHandle, SessionSpec};