Expand description
Shared helpers for Rust driver generators.
Both sqlx and tokio-postgres target Postgres with the same SQL→Rust
type mapping. What differs is the row-struct derives (sqlx adds
sqlx::FromRow, tokio-postgres doesn’t) and the query-function body
(sqlx uses query_as, tokio-postgres uses client.query_opt etc).
Those stay per-driver; this module owns the shared type mapping.
Re-exports§
pub use types::date_type;pub use types::number_type;pub use types::param_type;pub use types::row_field_type;pub use types::rust_type;