Expand description
Core infrastructure for the Cloudillo platform.
This crate contains shared infrastructure modules that are used by the server crate and potentially by future feature crates. Extracting these into a separate crate enables better build parallelism and clearer module boundaries.
Re-exports§
pub use app::App;pub use app::AppBuilderOpts;pub use app::AppState;pub use app::ServerMode;pub use extract::Auth;pub use extract::OptionalAuth;pub use middleware::PermissionCheckFactory;pub use middleware::PermissionCheckInput;pub use middleware::PermissionCheckOutput;pub use ws_broadcast::BroadcastManager;
Modules§
- abac
- Attribute-Based Access Control (ABAC) system for Cloudillo
- acme
- ACME subsystem. Handles automatic certificate management using Let’s Encrypt.
- app
- App state type
- bootstrap_
types - Bootstrap-related types shared between server and feature crates.
- core_
settings - Core server settings registration
- create_
perm - Collection-level permission middleware for ABAC (CREATE operations)
- dns
- DNS resolver module with true recursive resolution from root nameservers
- extensions
- Type-erased extension map for AppState
- extract
- Custom extractors for Cloudillo-specific data
- file_
access - File access level helpers
- middleware
- Custom middlewares
- prelude
- rate_
limit - Rate Limiting System
- request
- Request client implementation
- roles
- Role hierarchy and expansion logic
- scheduler
- Scheduler subsystem. Handles async tasks, dependencies, fallbacks, repetitions, persistence..
- settings
- Settings subsystem types and service
- ws_
broadcast - WebSocket User Messaging
- ws_bus
- WebSocket Bus Handler - Direct user messaging
Structs§
- IdTag
- Identity tag extracted from request extensions (set by auth middleware).
Functions§
Type Aliases§
- Action
Verify Fn - Type-erased function for verifying action tokens. Registered as an extension by the server’s action module. Used by auth module for the token exchange flow.
- Create
Action Fn - Type-erased function for creating an action. Registered as an extension by the server’s action module. Used by profile crate for community CONN creation.
- Create
Complete Tenant Fn - Type-erased function for creating a complete tenant (bootstrap). Registered as an extension by the server’s bootstrap module. Used by profile crate for registration and community creation.
- Ensure
Profile Fn - Type-erased function for ensuring a remote profile exists locally. Registered as an extension by the server’s app module. Used by action hooks for profile sync.