Skip to main content

Crate rp_supabase_codegen

Crate rp_supabase_codegen 

Source
Expand description

Generate Rust bindings in build.rs, using a versioned snapshot or a PostgreSQL connection.

Prefer committed snapshots for reproducible builds. Live introspection is explicit and never falls back to stale metadata after an error. Database credentials stay on the host.

Modules§

model
Versioned, portable PostgreSQL schema metadata. Snapshots contain no credentials or row data.

Structs§

Bindings
Validated generated Rust source and the metadata used to produce it.
Generator
Configure code generation, then choose one explicit schema source.

Enums§

Error
Generation or schema acquisition failed.