Skip to main content

drizzle_sqlite/
lib.rs

1//! `SQLite` implementation for Drizzle
2//!
3//! This crate provides SQLite-specific types, query builders, and utilities.
4
5#![cfg_attr(not(feature = "std"), no_std)]
6
7#[cfg(not(feature = "std"))]
8extern crate alloc;
9
10#[allow(unused_imports)]
11pub(crate) mod prelude {
12    #[cfg(feature = "std")]
13    pub use std::{
14        borrow::Cow,
15        boxed::Box,
16        format,
17        rc::Rc,
18        string::{String, ToString},
19        sync::Arc,
20        vec,
21        vec::Vec,
22    };
23
24    #[cfg(not(feature = "std"))]
25    pub use alloc::{
26        borrow::Cow,
27        boxed::Box,
28        format,
29        rc::Rc,
30        string::{String, ToString},
31        sync::Arc,
32        vec,
33        vec::Vec,
34    };
35}
36
37pub mod attrs;
38pub mod builder;
39pub mod common;
40pub mod connection;
41pub mod expr;
42pub mod helpers;
43pub mod pragma;
44pub mod traits;
45pub mod types {
46    pub use drizzle_types::sqlite::types::*;
47}
48pub mod values;
49
50pub use drizzle_core::ParamBind;