Skip to main content

reifydb_value/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2026 ReifyDB
3
4//! Foundational primitive types for the whole workspace. This crate sits below `core` rather than
5//! inside it because `core` itself needs values and diagnostics, which would otherwise cycle. The
6//! types here are wire- and disk-stable: rearranging `Value` or `ValueType` corrupts persisted data.
7
8#![cfg_attr(not(debug_assertions), deny(clippy::disallowed_methods))]
9#![cfg_attr(debug_assertions, warn(clippy::disallowed_methods))]
10#![cfg_attr(not(debug_assertions), deny(warnings))]
11#![allow(clippy::tabs_in_doc_comments)]
12
13mod assertions;
14
15pub mod byte_size;
16pub mod clock;
17pub mod config;
18pub mod count;
19pub mod encoding;
20pub mod error;
21pub mod factory;
22pub mod fragment;
23pub mod params;
24pub mod util;
25pub mod value;
26
27pub type Result<T> = std::result::Result<T, error::Error>;