Expand description
Core runtime for the Ferrik web framework.
Provides the triple-response engine (ActionResponse<T>), AI discovery protocol,
multi-database SeaORM helpers, unified error handling, and the testing harness.
Re-exports§
pub use askama;pub use async_trait;pub use axum;pub use chrono;pub use rust_decimal;pub use schemars;pub use sea_orm;pub use serde;pub use serde_json;pub use tokio;pub use tower;pub use tower_http;pub use tracing;pub use tracing_subscriber;pub use validator;
Modules§
- auth
- Agent-native authentication (
ferrik_ak_...scoped API keys,AuthActorextractor, and OAuth2 Client Credentials handshake types). - config
- Configuration loaders for Ferrik applications (
config/app.toml,config/database.toml, and.env). - db
- Multi-database SeaORM connection helpers with automatic SQLite directory provisioning.
- discovery
- Global AI Discovery Protocol (
/.well-known/ferrik-agent.jsonand HTTPLinkheaders). - error
- Unified error handling across HTML, JSON, and AI Markdown responses.
- extract
- Dual-format request input extractor (
ActionInput<T>) and form helpers. - mcp
- Built-in Model Context Protocol (MCP) server for Ferrik applications.
- prelude
- Re-exports of commonly used crates and Ferrik primitives.
- response
- Triple-response engine (
ActionResponse<T>) supporting HTML (Askama), JSON, and AI Markdown. - testing
- Built-in testing framework (
ferrik::testing) for Ferrik applications.
Constants§
- VERSION
- Framework version string.