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;
29/// Closed binding-neutral migration backfill plans and fingerprints.
30pub mod migration_backfill;
31pub use migration_assertion::migration_assertion_capability_vocabulary;
32pub use query_plan::{query_given_rows_capability, query_plan_capability_vocabulary};
33mod migration_assertion_wire;
34/// Target-independent canonical generated-model records and ordered archives.
35pub mod projected_record;
36/// Binding-target configuration and reproducible projection fingerprints.
37pub mod projection;
38/// Fail-closed canonical wire decoding for runtime projections.
39pub mod projection_wire;
40/// Versioned schema identities, facts, provenance, and fingerprints.
41/// Reusable typed query plans and the first public V2 read vocabulary.
42pub mod query_plan;
43pub mod query_remote;
44/// Additive V2 remote envelopes and hydrated model-result evidence.
45pub mod query_remote_v2;
46pub mod reserved;
47
48mod query_invocation_wire;
49mod query_plan_wire;
50
51mod declared_schema_wire;
52pub mod schema;
53/// Trusted, reversible schema transitions over one durable managed scope.
54pub mod schema_delta;
55mod schema_delta_wire;
56/// Domain-safe schema fingerprint wrappers.
57pub mod schema_fingerprint;
58pub mod schema_lowering;
59/// Versioned in-memory diagnostics for binding-neutral SDK execution.
60pub mod sdk_diagnostic;
61/// Versioned server-semantic defaults shared by resolution and fingerprints.
62pub mod semantic_profile;
63/// Canonical temporal component values.
64pub mod temporal;
65/// Domain-tagged canonical scalar, cardinality, and annotation values.
66pub mod value;