concept_store/lib.rs
1// SPDX-FileCopyrightText: Cadasto B.V.
2// SPDX-License-Identifier: BUSL-1.1
3
4//! The disk-backed concept store.
5//!
6//! A `redb` database holding one code system version's concepts, displays,
7//! designations, and property values, keyed by dense ordinal, that the
8//! terminology operations read point-wise: `$lookup` and `$validate-code`
9//! resolve a code here without touching the graph. Built offline by
10//! `ferroterm-build`, opened read-only by the server. No spec governs the
11//! layout: our own design (`docs/architecture.md` decision 3).
12#![doc(test(attr(deny(warnings))))]
13
14/// The manifest file name inside an artifact directory: the one place the
15/// build tool writes it and every reader reads it from.
16pub const MANIFEST_FILE: &str = "manifest.json";
17
18pub mod builder;
19pub mod column;
20pub mod keys;
21pub mod record;
22pub mod store;
23pub mod tables;