Skip to main content

sql_builder/
lib.rs

1#![warn(clippy::nursery)]
2#![deny(unsafe_code)]
3#![deny(
4    missing_debug_implementations,
5    clippy::print_stderr,
6    clippy::print_stdout
7)]
8#![allow(
9    clippy::derive_partial_eq_without_eq,
10    clippy::option_if_let_else,
11    clippy::redundant_pub_crate,
12    clippy::use_self,
13    clippy::missing_const_for_fn
14)]
15#![doc = include_str!("lib.md")]
16
17pub mod backend;
18pub mod column_type;
19pub mod error;
20pub mod expr;
21pub mod extension;
22pub mod func;
23pub mod lexer;
24pub mod prepare;
25pub mod query;
26pub mod types;
27pub mod value;
28
29pub use backend::*;
30pub use column_type::*;
31pub use error::RenderError;
32pub use expr::*;
33pub use func::*;
34pub use prepare::*;
35pub use query::*;
36pub use types::*;
37pub use value::*;
38
39pub use sql_builder_derive::{Iden, IdenStatic};
40
41#[cfg(test)]
42#[path = "../tests/unit/builder_contracts_tests.rs"]
43mod builder_contracts_tests;
44
45#[cfg(test)]
46#[path = "../tests/unit/render_errors_tests.rs"]
47mod render_errors_tests;
48
49#[cfg(test)]
50#[path = "../tests/unit/quoted_name_tests.rs"]
51mod quoted_name_tests;