#![warn(
missing_copy_implementations,
missing_debug_implementations,
missing_docs,
unreachable_pub,
clippy::missing_const_for_fn,
rustdoc::all
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![deny(unused_must_use, rust_2018_idioms)]
#![cfg_attr(docsrs, feature(doc_cfg))]
use alloy_primitives as _;
mod error;
pub use error::SqlColdError;
#[cfg(any(feature = "sqlite", feature = "postgres"))]
mod columns;
#[cfg(any(feature = "sqlite", feature = "postgres"))]
mod convert;
#[cfg(any(feature = "sqlite", feature = "postgres"))]
mod backend;
#[cfg(any(feature = "sqlite", feature = "postgres"))]
pub use backend::SqlColdBackend;
#[cfg(any(feature = "sqlite", feature = "postgres"))]
mod connector;
#[cfg(any(feature = "sqlite", feature = "postgres"))]
pub use connector::{SqlConnector, SqlConnectorError};
#[cfg(feature = "sqlite")]
pub type SqliteColdBackend = SqlColdBackend;
#[cfg(feature = "postgres")]
pub type PostgresColdBackend = SqlColdBackend;