ts_sql/
lib.rs

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