postrust-engine 2.3.1

The REST request pipeline of Postrust, from HTTP request to response, independent of any web framework
Documentation

postrust-engine

The REST request pipeline of Postrust, independent of any web framework: an http::Request in, the http::Response<Bytes> the PostgREST-dialect API answers with out.

Authentication, request parsing, planning, execution against PostgreSQL inside a transaction that sets the token's role and claims, embedding, counting and media handlers all live here. postrust-server wraps it in axum. A host that cannot run axum, such as a Cloudflare Worker, calls it directly (issue #50).

Most users want the postrust binary from postrust-server, not this crate.

Part of Postrust

Crate Role Docs
postrust-server HTTP server docs.rs
postrust-engine (this crate) REST request pipeline docs.rs
postrust-core Parsing, planning, schema cache docs.rs
postrust-sql SQL builder docs.rs
postrust-auth JWT authentication docs.rs
postrust-response Response formatting docs.rs

License

MIT