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
//! Connector to the [apache age](https://age.apache.org/) database
//! is based on the postgres and tokio-postgres crates.
//!
//! Crate source is currently
//! [in the standalone repository](https://github.com/Dzordzu/rust-apache-age),
//! but will be (eventually) merged into the
//! [apache age repository](https://github.com/Dzordzu/rust-apache-age)
//!
//! ## Features
//!
//! * pure cypher query and execution
//! * field constraints creation
//! * (unique) indexes creation
//! * graph creation / drop
//! * graph existance checks
//! * postgres/tokio-postgres client usage
//! * query fields builders
//!
//! ## Sync and async client
//!
//! Both sync and async client have similar AgeClient traits. The only difference is
//! obviously within async method declarations.
//!
//! * In order to use sync client: `use apache_age::sync::{AgeClient, Client}`
//! * In order to use async client: `use apache_age::tokio::{AgeClient, Client}`
//!
//! ## Usage
//! ```
//! ```
//!
//! ## Features
//!
//! | Name | Description | Default |
//! |-------------|-------------------------------------------------|---------|
//! | sync | `postgres` based client | true |
//! | tokio | `tokio-postgres based client | true |
//! | serializers | serializers that can be used for query building | false |
/// Used for synchronous age connection. Requires `sync` feature
/// Used for the asynchronous age connection. Requires `tokio` feature
/// Used for query builing . Requires `serializers` feature
pub use ;
pub use NoTls;