footing 0.1.9

Feature-gated foundations for Rust backend services
Documentation

footing

Feature-gated foundations for Rust backend services.

Provides authentication, Axum HTTP, PostgreSQL, SQLite, settings, observability, workers, cryptography, TLS, pagination, and test utilities.

footing = { version = "0.1.5", default-features = false, features = ["http", "postgres"] }

No features are enabled by default. Enable only what the application needs; postgres-admin exposes destructive database reset APIs. See Cargo.toml for all features.

Enable openapi for OpenAPI 3.1 schemas, documented Axum routes, endpoint contract checks, and ReDoc's Axum integration. See the OpenAPI example; run it with cargo run --example openapi --features openapi to export a JSON specification. OpenApiRouter and route!(handler) register handlers and documentation together; route pagination configuration also supplies the runtime limits and documented bounds.

Run cargo run --example redoc --features openapi, then open http://127.0.0.1:3000/docs. The default page loads ReDoc assets from a CDN; applications can supply a custom HTML template for self-hosted assets.

Licensed under Apache-2.0.