Expand description
Supabase PostgREST client and the runtime for generated schema bindings.
The default client feature provides authentication and response decoding.
Disable default features to depend on the generated-binding runtime (schema) alone.
Re-exports§
pub use rp_postgrest;pub use rp_postgrest_error;pub use rp_supabase_auth;
Modules§
- schema
- Serialization and
PostgRESTintegration for generated database bindings.
Macros§
- include_
schema - Include bindings produced by a consumer’s build script in
OUT_DIR. - key
- Construct a lossless schema key, or its name type with
key!(type identifier). - projection
- Define a named result shape from generated columns and typed relationships.
- select
- Construct a typed query-local selection from a relation and selected fields.
Structs§
- Postgrest
- An immutable client configuration sharing one HTTP connection pool.
Enums§
- Error
- A configuration, request, or response failure, without nested result layers.
- Supabase
Client Error
Constants§
Functions§
- anonymous_
client - Create an anonymous client using a default HTTP transport.
- anonymous_
client_ with_ client - Create an anonymous client retaining the supplied HTTP pool and policies.
- new_
authenticated - Create an authenticated client stream using a default HTTP transport.
- new_
authenticated_ with_ client - Create an authenticated stream sharing the supplied HTTP transport for REST, login and every token refresh. Request credentials do not alter its defaults.