Expand description
§acube
Security-first server framework that enforces security at the syntax level for AI-generated Rust code.
§Design Principles
- Security enforced by syntax — Security is opt-out. Omit it and you get a compile error.
- Triple verification — Rust compiler (types) → acube contract (startup) → pipeline (runtime)
- Follow Rust conventions — derive macros, traits, Result, Option. Minimal custom syntax.
Modules§
- error
- Error types and traits for the acube framework.
- extract
- Axum extractors for the acube framework.
- prelude
- Prelude for convenient imports.
- rate_
limit - Rate limiting backend trait and in-memory implementation.
- runtime
- Service builder and runtime for the acube framework.
- schema
- Schema validation traits and helpers for the acube framework.
- security
- Security types and middleware for the acube framework.
- types
- Core type definitions for the acube framework.
Functions§
- init_
tracing - Initialize structured tracing (logging).
- serve
- Serve an acube service on the given address.