puerto 0.19.0

Puerto — Rust full-stack DDD framework CLI. Scaffolds Clean Architecture projects with auto-wired DI, SQLx support, and zero manual wiring. Formerly puerto-framework.
1
2
3
4
5
6
//! The database adapter — pool, migrations at startup, readiness ping, driver-error mapping — is
//! `puerto-sqlx`'s (ADR-0017 of Puerto). Only the migrations are this project's.
pub use puerto_sqlx::*;

/// `infrastructure/migrations/`, embedded at compile time and applied at startup by `bootstrap.rs`.
pub static MIGRATOR: sqlx::migrate::Migrator = sqlx::migrate!("./migrations");