Skip to main content

reifydb_codec/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2026 ReifyDB
3
4//! Unified encoding and decoding for ReifyDB. Every byte layout that crosses a boundary lives here:
5//! the single type-tag namespace, the canonical self-describing value codec, the RBCF columnar frame
6//! format, the row storage codec, the order-preserving key codec, and the FFI cell codecs.
7//!
8//! Invariant: encode and decode halves are colocated in this crate and share one tag scheme. A tag,
9//! layout, or width change is a coordinated workspace change; no consumer may hand-roll these bytes.
10
11pub mod constraint;
12pub mod encoded;
13pub mod error;
14pub mod ffi;
15pub mod frame;
16#[cfg(feature = "json")]
17pub mod json;
18pub mod key;
19pub mod reader;
20pub mod tag;
21pub mod typeinfo;
22pub mod value;