#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(all(feature = "alloc", not(feature = "std")))]
extern crate alloc;
#[allow(unused_imports)]
pub(crate) mod alloc_prelude {
#[cfg(feature = "std")]
pub use std::{
borrow::Cow,
boxed::Box,
format,
string::{String, ToString},
vec,
vec::Vec,
};
#[cfg(all(feature = "alloc", not(feature = "std")))]
pub use alloc::{
borrow::Cow,
boxed::Box,
format,
string::{String, ToString},
vec,
vec::Vec,
};
}
mod dialect;
#[cfg(any(feature = "std", feature = "alloc"))]
mod migration;
#[cfg(any(feature = "std", feature = "alloc"))]
pub mod postgres;
#[cfg(any(feature = "std", feature = "alloc"))]
pub mod serde_helpers;
#[cfg(any(feature = "std", feature = "alloc"))]
pub mod sql;
#[cfg(any(feature = "std", feature = "alloc"))]
pub mod sqlite;
pub use dialect::{Dialect, DialectParseError};
#[cfg(feature = "std")]
pub use migration::EnvOrError;
#[cfg(any(feature = "std", feature = "alloc"))]
pub use migration::{Casing, EnvOr, MigrationTracking};
#[cfg(any(feature = "std", feature = "alloc"))]
pub use sql::*;
pub mod prelude {
pub use crate::Dialect;
#[cfg(any(feature = "std", feature = "alloc"))]
pub use crate::postgres::{PgTypeCategory, PostgreSQLType, TypeCategory as PgRustTypeCategory};
#[cfg(any(feature = "std", feature = "alloc"))]
pub use crate::sqlite::{SQLTypeCategory, SQLiteType, TypeCategory as SqliteRustTypeCategory};
}