#![cfg_attr(feature = "derive", doc = "```rust")]
#![cfg_attr(not(feature = "derive"), doc = "```ignore")]
#![cfg_attr(
all(nightly, feature = "lang-array-assume-init"),
feature(maybe_uninit_array_assume_init)
)]
#![cfg_attr(
all(nightly, feature = "lang-rustc-scalar-valid-range"),
allow(internal_features)
)]
#![cfg_attr(
all(nightly, feature = "lang-rustc-scalar-valid-range"),
feature(rustc_attrs)
)]
#![cfg_attr(all(nightly, feature = "lang-step-trait"), feature(step_trait))]
#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]
mod bind;
mod blob;
mod column;
mod connection;
mod endpoint;
mod error;
mod fetch;
pub mod ffi;
pub mod iter;
mod param;
mod query;
mod row;
mod statement;
mod types;
pub use bind::Bind;
pub use blob::Reservation;
pub use column::{ColumnIndexes, Columns};
pub use connection::{Connection, ConnectionBuilder};
pub use endpoint::{Endpoint, IntoEndpoint, Local, Memory, Uri};
pub use error::{
AbortError, AuthorizationError, BusyError, CantOpenError, ConstraintError, CorruptError, Error,
ErrorCategory, ErrorCode, ErrorContainer, ErrorLocation, ErrorReason, FetchError, GeneralError,
IntegrationError, IoError, LockedError, ParameterError, ReadOnlyError, Result, RowError,
TextEncodingError,
};
pub use fetch::Fetch;
pub use param::Parameters;
pub use query::Query;
pub use row::{Row, Rows};
pub use statement::{
Binding, Execution, PrepareOptions, Statement, StatementColumns, StatementParameters,
};
pub use types::{BindIndex, Borrowed, ColumnIndex, Encoding, RowId, Type};
#[cfg(feature = "utf-16")]
pub use types::ByteOrder;
#[cfg(feature = "functions")]
pub use types::FunctionOptions;
#[cfg(all(feature = "json", feature = "serde"))]
pub use types::Json;
#[cfg(all(feature = "jsonb", feature = "serde"))]
pub use types::Jsonb;
#[cfg(feature = "derive")]
#[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
pub use squire_derive::{Columns, Parameters};