postrust-core 0.2.4

Request parsing, query planning and schema introspection for Postrust
Documentation

postrust-core

Request parsing, query planning and schema introspection for Postrust.

The engine every other crate is built on.

  • Parses PostgREST-style requests: select, limit, offset, order, filters, embedding.
  • Introspects the database into a schema cache and plans reads, mutations and RPC calls.
  • Builds the final SQL, with filter values bound as parameters and cast to their column types.

Install

cargo add postrust-core

Part of Postrust

Postrust turns a PostgreSQL database into a REST and GraphQL API. It is published as a set of crates so you can depend on only the part you need:

Crate Role Docs
postrust-server HTTP server docs.rs
postrust-core (this crate) Engine docs.rs
postrust-sql SQL builder docs.rs
postrust-auth Authentication docs.rs
postrust-response Response formatting docs.rs
postrust-graphql GraphQL docs.rs
postrust-lambda AWS Lambda docs.rs
postrust-worker Cloudflare Workers docs.rs
postrust-proxy Reverse proxy docs.rs

Links

License

MIT -- see LICENSE.