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
68
69
70
// 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 the trait default impls and the feature-gated
/// clients. One parser per row shape, whichever transport delivered the row.
/// A decoder used only by the clients compiles under their features.
/// 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 decoders. Used by both clients so the
/// `GRAPH ALGO`, `GRAPH TRAVERSE` and `GRAPH PATH` SQL construction and result
/// decoding exist once, not per transport.
/// The identity column of a stored schemaless document, shared by both
/// clients so a document reads back with the same fields whichever wrote it.
/// Shared search SQL builders: the text-search statement and the allowed-id
/// key conjunct. Used by both clients, so both send the same statement.
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 ;