How Postrust Compares

See how Postrust stacks up against other PostgreSQL API solutions. Choose the right tool for your needs.

vs PostgREST

The project that established the idea. Written in Haskell, REST only.

Their Strengths

  • Years of production use
  • Large community
  • Excellent documentation

Their Limitations

  • No GraphQL
  • No subscriptions
  • Logic lives in SQL
Detailed comparison

vs Hasura

A GraphQL platform with permissions modelled as metadata.

Their Strengths

  • Per-field permissions
  • Multiple data sources
  • Event triggers and console

Their Limitations

  • Tables must be tracked first
  • A platform to operate
  • Heavier footprint
Detailed comparison

vs PostGraphile

GraphQL from your schema, built to be reshaped. V5 plans with Gra*fast*.

Their Strengths

  • Deeply extensible
  • Relay support
  • TypeScript plugins

Their Limitations

  • No REST surface
  • Needs a Node runtime
Detailed comparison

vs Supabase

A backend platform. Its REST layer is PostgREST.

Their Strengths

  • Auth, storage and realtime included
  • Managed hosting
  • Generous free tier

Their Limitations

  • A platform, not a server
  • Less control when self-hosted
Detailed comparison

Feature Comparison

Feature
Postrust
PostgRESTHasuraPostGraphileSupabase
LanguageRustHaskellHaskellTypeScriptPlatform
REST APIYesYesRESTified endpointsNoYes (PostgREST)
GraphQLBuilt inNoBuilt inBuilt inVia extension
SubscriptionsLISTEN/NOTIFYNoYesLISTEN/NOTIFYRealtime service
PermissionsRoles + RLSRoles + RLSMetadataRoles + RLSRoles + RLS
Setup before first queryNoneNoneTrack tablesNoneNone
Custom routes in-processAxum, needs rebuildNoActionsPluginsEdge Functions
Schema customisationNoNoMetadataPlugin systemNo
RuntimeStatic binaryBinaryContainerNode.jsManaged / stack
AWS LambdaNative crateContainerContainerEject to serverlessNo
Self-hostedYesYesYes (v2 OSS)YesYes (full stack)
LicenseMITMITApache 2.0 (v2)MITApache 2.0

Feature rows describe what each tool does today, with the condition in the cell where one applies. Throughput, memory and image size are measured per tool by scripts/bench-compare.sh and reported on each comparison page, including the scenarios where the other tool is faster.

Ready to try Postrust?

Get started in minutes with our quick start guide.

Get Started