torii_core/
lib.rs

1//! Core functionality for the torii project
2//!
3//! This module contains the core functionality for the torii project.
4//!
5//! It includes the core user and session structs, as well as the plugin system.
6//!
7//! The core module is designed to be used as a dependency for plugins and is not intended to be used directly by application code.
8//!
9//! See [`User`] for the core user struct, [`Session`] for the core session struct, and [`Plugin`] for the plugin system.
10//!
11pub mod error;
12pub mod events;
13pub mod plugin;
14pub mod session;
15pub mod storage;
16pub mod user;
17
18pub use error::Error;
19pub use plugin::{Plugin, PluginManager};
20pub use session::Session;
21pub use storage::{NewUser, SessionStorage, UserStorage};
22pub use user::{OAuthAccount, User, UserId};