#![allow(clippy::unwrap_used)]
#![allow(clippy::cast_possible_truncation)]
pub mod auth;
pub mod conn_string;
pub mod jsonrpc;
pub mod knowledge;
pub mod legacy;
pub mod moved;
pub mod query_with_params;
pub mod redwire;
pub mod replication;
pub mod sanitizer;
pub mod topology;
pub use conn_string::{
is_embedded_connection_uri, parse, parse_with_auth, parse_with_limits, ConnStringLimits,
ConnectionAuth, ConnectionScheme, ConnectionSpec, ConnectionTarget, ParseError, ParseErrorKind,
DEFAULT_PORT_GRPC, DEFAULT_PORT_GRPCS, DEFAULT_PORT_RED, DEFAULT_PORT_WS, DEFAULT_PORT_WSS,
SUPPORTED_SCHEMES,
};
pub use knowledge::*;
pub use moved::{
build_moved_redirect_frame, decode_moved_redirect, encode_moved_redirect, MovedRedirect,
MovedRedirectError, MOVED_CODE,
};
pub use redwire::{BuildError, FrameBuilder};
pub use sanitizer::{
audit_safe_log_field, Boundary, ConnStringSanitizer, EscapeError, EscapedFor, ParsedConnString,
Tainted, TaintedRef, TaintedTarget,
};
pub use topology::{
decode_topology, encode_topology, Endpoint, ReplicaInfo, Topology, TopologyError,
MAX_KNOWN_TOPOLOGY_VERSION, TOPOLOGY_HEADER_SIZE, TOPOLOGY_WIRE_VERSION_V1,
};