Skip to main content

Crate ling_http

Crate ling_http 

Source
Expand description

ling-http — an HTTPS/JSON/SQLite MVC framework for the Ling ecosystem.

Roughly: axum + rustls + rusqlite, wrapped in a thin, opinionated layer so Ling services (starting with the linglibs crate registry) get a consistent JSON error shape, CRUD-resource routing, and HTTPS serving without each service reinventing that plumbing.

Re-exports§

pub use app::serve_http;
pub use app::serve_tls;
pub use app::App;
pub use db::Db;
pub use error::HttpError;
pub use error::Result;
pub use mvc::resource;
pub use mvc::Resource;
pub use axum;
pub use rusqlite;
pub use serde_json;
pub use tokio;

Modules§

app
db
error
mvc
pool
tls