Skip to main content

reddb/
lib.rs

1//! RedDB umbrella crate.
2//!
3//! This crate is the published face of RedDB: it hosts the `red`
4//! binary and re-exports the workspace members so existing
5//! `use reddb::…` import paths keep resolving after the workspace
6//! split (PRD #54). The actual code lives in the four sibling
7//! crates:
8//!
9//!   - `reddb-wire`           — connection-string parser + RedWire frames
10//!   - `reddb-grpc-proto`     — generated tonic protobuf stubs
11//!   - `reddb-server`         — engine, storage, runtime, replication, MCP, AI, server dispatch
12//!   - `reddb-client`         — gRPC client + REPL used by the bins, plus the published high-level driver
13
14pub use reddb_server::*;
15
16/// Connection-string parser and RedWire frame vocabulary.
17///
18/// Re-exported under the legacy path so existing call sites can
19/// reach the parser without depending on `reddb-wire` directly.
20pub use reddb_wire as wire_proto;
21
22/// gRPC client + REPL used by the `red` and `red_client` binaries.
23/// Exposed under the legacy path so existing `reddb::client::…`
24/// imports keep resolving.
25pub use reddb_client as client;