1#![allow(clippy::unwrap_used)]
15#![allow(clippy::cast_possible_truncation)]
19
20pub mod auth;
21pub mod conn_string;
22pub mod jsonrpc;
23pub mod knowledge;
24pub mod legacy;
25pub mod moved;
26pub mod query_with_params;
27pub mod redwire;
28pub mod replication;
29pub mod sanitizer;
30pub mod topology;
31
32pub use conn_string::{
33 is_embedded_connection_uri, parse, parse_with_auth, parse_with_limits, ConnStringLimits,
34 ConnectionAuth, ConnectionScheme, ConnectionSpec, ConnectionTarget, ParseError, ParseErrorKind,
35 DEFAULT_PORT_GRPC, DEFAULT_PORT_GRPCS, DEFAULT_PORT_RED, DEFAULT_PORT_WS, DEFAULT_PORT_WSS,
36 SUPPORTED_SCHEMES,
37};
38pub use knowledge::*;
39pub use moved::{
40 build_moved_redirect_frame, decode_moved_redirect, encode_moved_redirect, MovedRedirect,
41 MovedRedirectError, MOVED_CODE,
42};
43pub use redwire::{BuildError, FrameBuilder};
44pub use sanitizer::{
45 audit_safe_log_field, Boundary, ConnStringSanitizer, EscapeError, EscapedFor, ParsedConnString,
46 Tainted, TaintedRef, TaintedTarget,
47};
48pub use topology::{
49 decode_topology, encode_topology, Endpoint, ReplicaInfo, Topology, TopologyError,
50 MAX_KNOWN_TOPOLOGY_VERSION, TOPOLOGY_HEADER_SIZE, TOPOLOGY_WIRE_VERSION_V1,
51};