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
// SPDX-License-Identifier: Apache-2.0
//! NodeDB client SDK: the [`NodeDb`](traits::NodeDb) trait, the
//! `NodeDbRemote` client (native MessagePack via TLS, opt-in via the
//! `native` feature; pgwire compatibility via the `remote` feature), and
//! capability negotiation.
//!
//! For embedded use, depend on `nodedb-lite` directly. For server use,
//! enable the `native` feature and connect to a NodeDB Origin node via
//! its native protocol — pgwire compatibility (`remote`) is provided so
//! existing PostgreSQL drivers can connect for read-mostly workloads, but
//! it is not the long-term ORM target.
/// Shared row decoders used by both the trait default impls and the
/// feature-gated clients. Feature-agnostic on purpose — one parser per
/// row shape regardless of which transport delivered the row.
/// Shared SQL escaping helpers (string-literal and identifier quoting).
/// Used by both the native and the remote clients — one implementation
/// per escape rule, no per-feature duplicates.
/// Shared graph-DSL builders and result parsers. Used by both clients so the
/// `GRAPH ALGO …` SQL construction and row decoding exist once, not per
/// transport.
pub use Capabilities;
pub use NodeDb;
pub use NodeDbRemote;
pub use ConnectionBuilder;
pub use NativeClient;
// Re-export core types so users only need `nodedb-client` in their Cargo.toml.
pub use ;
pub use ;