Skip to main content

Crate laterite_core

Crate laterite_core 

Source
Expand description

Laterite core: the application kernel.

The first crate of the Laterite content management framework. Provides what every Laterite application starts from: layered configuration loading, the framework error taxonomy, database connectivity and migrations, module registration, and pagination primitives.

Re-exports§

pub use db::Db;
pub use error::CoreError;
pub use error::CoreResult;
pub use migration::bool_col;
pub use migration::key_col;
pub use migration::DbBackend;
pub use migration::Migration;
pub use migration::MigrationSet;
pub use migration::Schema;
pub use migration::SqlMigration;
pub use query::AnyRowExt;

Modules§

config
Layered configuration loading.
db
Database connectivity.
error
The framework-level error taxonomy.
migration
Portable, reversible migrations.
module
Module registration.
pagination
Pagination primitives shared by admin lists and API endpoints.
query
Portable parameterised queries over sqlx::Any.
strata
strata: the one-import toolkit for migrations and store queries.