forked from rust-postgres/rust-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlib.rs
More file actions
38 lines (34 loc) · 805 Bytes
/
Copy pathlib.rs
File metadata and controls
38 lines (34 loc) · 805 Bytes
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
#[cfg(feature = "runtime")]
use lazy_static::lazy_static;
#[cfg(feature = "runtime")]
use tokio::runtime::{self, Runtime};
mod client;
#[cfg(feature = "runtime")]
mod config;
mod copy_out_reader;
mod portal;
mod query;
mod query_portal;
mod statement;
mod to_statement;
mod transaction;
#[cfg(feature = "runtime")]
#[cfg(test)]
mod test;
pub use crate::client::*;
#[cfg(feature = "runtime")]
pub use crate::config::*;
pub use crate::copy_out_reader::*;
pub use crate::portal::*;
pub use crate::query::*;
pub use crate::query_portal::*;
pub use crate::statement::*;
pub use crate::to_statement::*;
pub use crate::transaction::*;
#[cfg(feature = "runtime")]
lazy_static! {
static ref RUNTIME: Runtime = runtime::Builder::new()
.name_prefix("postgres-")
.build()
.unwrap();
}