squire/
lib.rs

1#![cfg_attr(
2    feature = "lang-array-assume-init",
3    feature(maybe_uninit_array_assume_init)
4)]
5#![cfg_attr(feature = "lang-iat", feature(inherent_associated_types))]
6#![cfg_attr(feature = "lang-rustc-scalar-valid-range", allow(internal_features))]
7#![cfg_attr(feature = "lang-rustc-scalar-valid-range", feature(rustc_attrs))]
8#![cfg_attr(feature = "lang-step-trait", feature(step_trait))]
9#![cfg_attr(docsrs, feature(doc_cfg), deny(rustdoc::broken_intra_doc_links))]
10
11mod bind;
12mod blob;
13mod column;
14mod connection;
15mod database;
16mod error;
17pub mod ffi;
18pub mod iter;
19mod param;
20mod query;
21mod row;
22mod statement;
23mod types;
24mod value;
25
26pub use bind::Bind;
27pub use blob::Reservation;
28pub use column::{ColumnIndexes, Columns};
29pub use connection::{Connection, ConnectionBuilder};
30pub use database::{Database, IntoLocation};
31pub use error::{
32    AbortError, AuthorizationError, BusyError, CantOpenError, ConstraintError, CorruptError, Error,
33    ErrorCategory, ErrorCode, ErrorContext, ErrorLocation, ErrorMessage, FetchError, GeneralError,
34    IoError, LockedError, ParameterError, ReadOnlyError, Result,
35};
36pub use param::Parameters;
37pub use query::Query;
38pub use row::{Row, Rows};
39pub use statement::{
40    Binding, Execution, PrepareOptions, Statement, StatementColumns, StatementParameters,
41};
42pub use types::{BindIndex, BindIndexes, Borrowed, ColumnIndex, RowId, Type};
43pub use value::Fetch;
44
45#[cfg(feature = "derive")]
46#[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
47pub use squire_derive::{Columns, Parameters};