postrust-worker
Cloudflare Workers adapter for Postrust, for edge REST APIs over PostgreSQL.
- Compiles the Postrust request pipeline to WebAssembly for Cloudflare Workers.
- Connects to PostgreSQL through Hyperdrive or a TCP-capable proxy.
Install
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 |
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 (this crate) |
Cloudflare Workers | docs.rs |
postrust-proxy |
Reverse proxy | docs.rs |
Links
- Website: https://postrust.org/
- Documentation: https://postrust.org/docs
- Repository: https://github.com/postrust/postrust
- API docs for this crate: https://docs.rs/postrust-worker
License
MIT -- see LICENSE.