icydb-core 0.72.0

IcyDB — A type-safe, embedded ORM and schema system for the Internet Computer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Module: contracts
//! Responsibility: shared db-level semantic contracts used across subsystems.
//! Does not own: predicate runtime/validation semantics (moved to `db::predicate`).
//! Boundary: retains only non-predicate helpers.

mod rules;
mod semantics;
#[cfg(test)]
mod tests;

pub(in crate::db) use rules::first_violated_rule;
pub(in crate::db) use semantics::canonical_value_compare;