Skip to main content

Crate triblespace_core

Crate triblespace_core 

Source

Re-exports§

pub use arrayvec;

Modules§

attestation
Shared structural attributes for signed records and attestations. Shared structural attributes for Ed25519 attestations.
attribute
Typed attribute references with carried identity-determining facts.
blob
Blob storage, schemas, and conversion traits. Anything that can be represented as a byte sequence.
capability
Store-independent, blob-native capability claims and proofs. Descriptor-driven, prefix-signed capability proofs.
clock
Attribute definition and usage metadata. Virtualizable time — the clock seam for deterministic simulation.
collection
Typed collection records, storage, publication, and coverage. Canonical records, coverage, and typed views for collections.
debug
Diagnostic wrappers for testing and debugging the query engine.
examples
Example namespaces and sample datasets for documentation and tests. This module contains an example namespace for use in the documentation. It is not intended to be used in practice.
export
Export utilities for serialising trible data. Export utilities for serialising trible data into external formats.
id
Identifier types and generation strategies. Identifier utilities and ownership mechanisms for Trible Space.
import
Import utilities for deserialising external data into tribles. Data import and conversion helpers bridging external formats into Trible Space.
inline
Inline types, schemas, and conversion traits. Inline<S> (32-byte stored payload), Encoded<V> (the Inline-or-Blob sum that entity!{} builds), and the conversion traits between them. For a deeper look at portability goals, common formats, and schema design, refer to the “Portability & Common Formats” chapter in the project book.
macros
Re-exported proc-macros and helper macros for entity, pattern, and query construction.
metadata
Bootstrap metadata namespace for describing schemas and attributes. Metadata namespace for the triblespace crate.
patch
Adaptive radix tree (PATCH) used as the backing store for trible indexes. Persistent Adaptive Trie with Cuckoo-compression and Hash-maintenance (PATCH).
prelude
Commonly used re-exports for convenient glob imports. This module re-exports the most commonly used types and traits from the triblespace crate. It is intended to be glob imported as use triblespace::prelude::*;.
query
Query engine: constraints, variables, and the Atreides join algorithm. Query facilities for matching tribles by declaring patterns of constraints. Build queries with the find! macro which binds variables and combines constraint expressions:
repo
Blob and record stores, WANTs, and explicit legacy-pile inspection. Content-addressed blob storage, complete capability proofs, collection records, durable wants, and read-only access to legacy named-pin snapshots.
signing_key_file
Durable Ed25519 signing-key file resolution, loading, and initialization. Durable Ed25519 signing-key files.
trible
Trible representation, sets, fragments, and spread helpers. Representation of a single knowledge graph edge.

Macros§

and
Combines constraints into an IntersectionConstraint (logical AND).
exists
Returns true when a query produces at least one row.
find
Iterate over query results, converting each variable via TryFromInline.
id_hex
Creates an Id from a hex string literal.
or
Combines constraints into a UnionConstraint (logical OR).
temp
Introduces one or more temporary query variables for a nested constraint.

Constants§

PARALLEL_COMPILED
Whether this exact Core build contains its parallel execution paths.