Expand description
RedDB wire protocol vocabulary.
This crate is the shared, transport-agnostic layer that
reddb-server, reddb-client, and the official language
drivers depend on. It deliberately has no dependency on the
engine, storage, or runtime modules.
It owns the shared connection-string parser, audit-safe sanitizers,
RedWire frame layout and codec, handshake payloads, topology payloads,
query parameter encoding, queue/stream payloads, and replication wire
messages. Listener loops, authentication policy, SQL dispatch, and
runtime integration stay in reddb-server.
Re-exports§
pub use conn_string::is_embedded_connection_uri;pub use conn_string::parse;pub use conn_string::parse_with_limits;pub use conn_string::ConnStringLimits;pub use conn_string::ConnectionTarget;pub use conn_string::ParseError;pub use conn_string::ParseErrorKind;pub use conn_string::DEFAULT_PORT_GRPC;pub use conn_string::DEFAULT_PORT_GRPCS;pub use conn_string::DEFAULT_PORT_RED;pub use conn_string::DEFAULT_PORT_WS;pub use conn_string::DEFAULT_PORT_WSS;pub use redwire::BuildError;pub use redwire::FrameBuilder;pub use sanitizer::audit_safe_log_field;pub use sanitizer::Boundary;pub use sanitizer::ConnStringSanitizer;pub use sanitizer::EscapeError;pub use sanitizer::EscapedFor;pub use sanitizer::ParsedConnString;pub use sanitizer::Tainted;pub use sanitizer::TaintedRef;pub use sanitizer::TaintedTarget;pub use topology::decode_topology;pub use topology::encode_topology;pub use topology::Endpoint;pub use topology::ReplicaInfo;pub use topology::Topology;pub use topology::TopologyError;pub use topology::MAX_KNOWN_TOPOLOGY_VERSION;pub use topology::TOPOLOGY_HEADER_SIZE;pub use topology::TOPOLOGY_WIRE_VERSION_V1;
Modules§
- auth
- Shared auth payload/header vocabulary for RedDB transports.
- conn_
string - Connection-string parser shared across
reddb,reddb-client,red_client, and every language driver. - jsonrpc
- Content-Length framed JSON-RPC 2.0 codec.
- legacy
- Legacy RedDB binary protocol vocabulary.
- query_
with_ params - RedWire
QueryWithParamspayload codec. - redwire
- RedWire — RedDB’s binary TCP/TLS wire protocol.
- replication
- Replication protocol payload contracts.
- sanitizer
- Connection-string sanitizer + typed taint guard (issue #179, ADR 0010).
- topology
- Canonical
Topologypayload — shared by both transports.