Skip to main content

type_bridge_contract/
lib.rs

1//! Versioned, binding-neutral contract primitives for TypeBridge.
2//!
3//! This public, release-lockstep supporting crate sits at the bottom of the
4//! workspace dependency graph. It deliberately contains no parser, query,
5//! migration, provider, or binding dependencies.
6
7#![deny(missing_docs)]
8
9/// Open capability identifiers and deterministic sets.
10pub mod capability;
11/// Canonical JSON encoding, decoding, and format versions.
12pub mod codec;
13/// Canonical TypeDB decimal parsing and comparison.
14pub mod decimal;
15/// Stable binding-neutral structured diagnostics.
16pub mod diagnostic;
17/// Domain-separated fingerprint algorithms and values.
18pub mod fingerprint;
19/// Validated typed identifier primitives.
20pub mod id;
21/// Canonical codec structural limits.
22pub mod limits;
23/// Durable managed-scope identities, bindings, and profile fingerprints.
24pub mod managed_scope;
25/// Context-free canonical migration identities, fingerprints, and schema steps.
26pub mod migration;
27/// Canonical typed migration assertion syntax and fingerprints.
28pub mod migration_assertion;
29pub use migration_assertion::migration_assertion_capability_vocabulary;
30pub use query_plan::{query_given_rows_capability, query_plan_capability_vocabulary};
31mod migration_assertion_wire;
32/// Binding-target configuration and reproducible projection fingerprints.
33pub mod projection;
34/// Fail-closed canonical wire decoding for runtime projections.
35pub mod projection_wire;
36/// Versioned schema identities, facts, provenance, and fingerprints.
37/// Reusable typed query plans and the first public V2 read vocabulary.
38pub mod query_plan;
39pub mod query_remote;
40/// Additive V2 remote envelopes and hydrated model-result evidence.
41pub mod query_remote_v2;
42pub mod reserved;
43
44mod query_invocation_wire;
45mod query_plan_wire;
46
47mod declared_schema_wire;
48pub mod schema;
49/// Trusted, reversible schema transitions over one durable managed scope.
50pub mod schema_delta;
51mod schema_delta_wire;
52/// Domain-safe schema fingerprint wrappers.
53pub mod schema_fingerprint;
54pub mod schema_lowering;
55/// Versioned server-semantic defaults shared by resolution and fingerprints.
56pub mod semantic_profile;
57/// Canonical temporal component values.
58pub mod temporal;
59/// Domain-tagged canonical scalar, cardinality, and annotation values.
60pub mod value;