slave 0.13.1

CLI for slave, a Laravel-inspired Rust framework for MCP-first apps: scaffold an MCP backend with auth, roles, teams and SurrealDB migrations, add server-rendered web apps, and route them by domain or path
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The `app` module: the project's apps (one per `apps/<name>` folder) and
//! the team that owns each.
//!
//! The runtime registers every app it serves at startup ([`sync`]); a super
//! admin then gives each app an owner team. Members of that team use the app
//! with their team role and modules: an app checks its caller with the
//! `app_access` tool (or [`require_app_access`] in the backend).

mod dto;
mod models;
mod services;
mod tools;

pub use models::app::App;
pub use services::app_service::{require_app_access, sync};
pub use tools::tools;