1#![cfg_attr(not(debug_assertions), deny(warnings))]
5
6mod error;
7mod fragment;
8mod params;
9pub mod util;
10pub mod value;
11
12pub use error::{Error, diagnostic};
13
14pub type Result<T> = std::result::Result<T, Error>;
15
16pub use fragment::{
17 BorrowedFragment, Fragment, IntoFragment, LazyFragment, OwnedFragment, StatementColumn, StatementLine,
18};
19pub use params::Params;
20pub use value::{
21 Blob, Constraint, Date, DateTime, Decimal, Duration, GetType, IdentityId, Int, IntoValue, OrderedF32,
22 OrderedF64, RowNumber, Time, Type, TypeConstraint, Uint, Uuid4, Uuid7, Value, blob, boolean,
23 boolean::parse_bool,
24 decimal::parse_decimal,
25 is::{IsDate, IsFloat, IsInt, IsNumber, IsTemporal, IsTime, IsUint, IsUuid},
26 number::{
27 Promote, SafeAdd, SafeConvert, SafeDiv, SafeMul, SafeRemainder, SafeSub, parse_float,
28 parse_primitive_int, parse_primitive_uint,
29 },
30 row_number::ROW_NUMBER_COLUMN_NAME,
31 temporal,
32 temporal::parse::{parse_date, parse_datetime, parse_duration, parse_time},
33 uuid,
34 uuid::{parse_uuid4, parse_uuid7},
35};