871 releases (167 breaking)
Uses new Rust 2024
| new 0.180.12 | Jun 8, 2026 |
|---|---|
| 0.179.6 | Jun 6, 2026 |
| 0.66.6 | Mar 31, 2026 |
#25 in #query-engine
1,070 downloads per month
Used in 6 crates
(2 directly)
22KB
487 lines
icydb-primitives
Shared primitive metadata and scalar capability classification for IcyDB.
This crate defines canonical scalar registry data used by schema and runtime layers (for example ScalarKind, ScalarMetadata, and coercion-family metadata).
Use this crate when tooling or internal components need stable scalar capability information.
Boundary
icydb-primitives owns scalar capability metadata that must stay shared across schema and runtime layers: scalar kind identity, coercion family, numeric-coercion support, arithmetic/equality/ordering support, query keyability, and storage-key encodability.
Schema-only trait-generation policy stays outside this crate. Decisions such as which generated Rust traits a schema wrapper derives, whether a primitive supports %, Copy, or Hash, and how schema macro inputs map onto concrete Rust types remain owned by icydb-schema / icydb-schema-derive until they are explicitly promoted into shared scalar metadata.
References:
- Workspace overview:
README.md - Release notes:
CHANGELOG.md