1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#![warn(missing_docs)]
#[cfg(any(
all(
feature = "actix-rustls",
any(
feature = "actix-native-tls",
feature = "tokio-native-tls",
feature = "tokio-rustls",
feature = "async-std-native-tls",
feature = "async-std-rustls"
)
),
all(
feature = "actix-native-tls",
any(
feature = "tokio-native-tls",
feature = "tokio-rustls",
feature = "async-std-native-tls",
feature = "async-std-rustls"
)
),
all(
feature = "tokio-rustls",
any(
feature = "tokio-native-tls",
feature = "async-std-native-tls",
feature = "async-std-rustls"
)
),
all(
feature = "tokio-native-tls",
any(feature = "async-std-native-tls", feature = "async-std-rustls")
),
all(feature = "async-std-native-tls", feature = "async-std-rustls")
))]
compile_error!("Using multiple runtime / tls configurations at the same time is not allowed");
pub mod database;
pub mod error;
pub(crate) mod query_type;
pub mod executor;
pub mod row;
pub mod transaction;
#[cfg(feature = "sqlx")]
pub(crate) mod utils;
#[cfg_attr(feature = "sqlx", path = "sqlx_impl/mod.rs")]
#[cfg_attr(not(feature = "sqlx"), path = "dummy_impl/mod.rs")]
pub(crate) mod internal;
pub use rorm_declaration::config::DatabaseDriver;
pub use rorm_sql as sql;
pub use crate::{
database::{Database, DatabaseConfiguration},
error::Error,
row::Row,
};