1#![allow(clippy::unwrap_used)]
15#![allow(clippy::cast_possible_truncation)]
19
20pub mod auth;
21pub mod conn_string;
22pub mod jsonrpc;
23pub mod legacy;
24pub mod query_with_params;
25pub mod redwire;
26pub mod replication;
27pub mod sanitizer;
28pub mod topology;
29
30pub use conn_string::{
31 is_embedded_connection_uri, parse, parse_with_limits, ConnStringLimits, ConnectionTarget,
32 ParseError, ParseErrorKind, DEFAULT_PORT_GRPC, DEFAULT_PORT_GRPCS, DEFAULT_PORT_RED,
33 DEFAULT_PORT_WS, DEFAULT_PORT_WSS,
34};
35pub use redwire::{BuildError, FrameBuilder};
36pub use sanitizer::{
37 audit_safe_log_field, Boundary, ConnStringSanitizer, EscapeError, EscapedFor, ParsedConnString,
38 Tainted, TaintedRef, TaintedTarget,
39};
40pub use topology::{
41 decode_topology, encode_topology, Endpoint, ReplicaInfo, Topology, TopologyError,
42 MAX_KNOWN_TOPOLOGY_VERSION, TOPOLOGY_HEADER_SIZE, TOPOLOGY_WIRE_VERSION_V1,
43};