#![forbid(unsafe_code)]
pub use postgres_types as pg_types;
pub mod error;
pub mod executor;
pub mod listener;
pub mod pool;
pub(crate) mod singleflight;
pub mod stream;
pub mod transaction;
pub mod types;
pub mod pg {
pub use postgres_types::ToSql;
pub use tokio_postgres::Row;
}
pub use futures_core::Stream;
pub use error::{BsqlError, BsqlResult};
pub use executor::Executor;
pub use listener::{Listener, Notification};
pub use pool::{Pool, PoolBuilder, PoolConnection, PoolStatus};
pub use stream::QueryStream;
pub use transaction::Transaction;
#[doc(hidden)]
pub fn rapid_hash_str(s: &str) -> u64 {
use std::hash::{Hash, Hasher};
let mut hasher = rapidhash::quality::RapidHasher::default();
s.hash(&mut hasher);
hasher.finish()
}