Skip to main content

zero_mysql/
lib.rs

1#![warn(
2    clippy::expect_used,
3    clippy::get_unwrap,
4    clippy::unwrap_in_result,
5    clippy::unwrap_used
6)]
7
8mod buffer;
9mod buffer_pool;
10pub mod constant;
11pub mod error;
12pub mod handler;
13mod nightly;
14mod opts;
15mod prepared;
16pub mod protocol;
17pub mod raw;
18pub mod ref_row;
19pub mod sync;
20pub mod value;
21
22pub use buffer::BufferSet;
23pub use buffer_pool::BufferPool;
24pub use opts::Opts;
25pub use prepared::PreparedStatement;
26
27#[cfg(feature = "tokio")]
28pub mod tokio;
29
30#[cfg(feature = "compio")]
31pub mod compio;
32
33#[cfg(all(feature = "diesel", feature = "sync"))]
34pub mod diesel;
35
36#[cfg(feature = "derive")]
37pub use zero_mysql_derive as r#macro;
38
39#[cfg(test)]
40mod buffer_test;
41#[cfg(test)]
42mod constant_test;
43#[cfg(test)]
44mod opts_test;
45#[cfg(test)]
46mod test_macros;
47#[cfg(test)]
48mod value_test;