ts_sql_helper_lib/lib.rs
1//! Helper utilities for working with SQL.
2//!
3
4mod error;
5mod from_row;
6mod migrations;
7mod postgres_types_jiff_0_2;
8#[cfg(feature = "test")]
9pub mod test;
10
11pub use error::SqlError;
12pub use from_row::{FromRow, ParseFromRow};
13pub use migrations::{MigrationError, perform_migrations};
14pub use postgres_types_jiff_0_2::{SqlDate, SqlDateTime, SqlTime, SqlTimestamp};
15
16pub use postgres;
17pub use postgres_protocol;
18pub use postgres_types;
19
20#[cfg(feature = "derive")]
21pub use ts_sql_helper_derive::{FromRow, FromSql, query};