gmeow-gts 0.9.5

GTS (Graph Transport Substrate) format engine: CBOR-sequence append-only RDF 1.2 log reader, folder, and verifier
Documentation
// SPDX-FileCopyrightText: 2026 Blackcat Informatics® Inc. <paudley@blackcatinformatics.ca>
// SPDX-License-Identifier: MIT OR Apache-2.0

//! GTS (Graph Transport Substrate) format engine — `docs/GTS-SPEC.md` Draft v0.3.
//!
//! A GTS file is a CBOR Sequence of one or more segments (#3.1), each an
//! append-only log: a Header followed by frames chained by BLAKE3 content-id
//! (`"id"`/`"prev"`, §6/§9.1). [`reader::read`] verifies the chain and folds
//! the log into a [`model::Graph`] (§7.5), degrading undecodable frames to
//! opaque nodes (§7.6) instead of aborting — the reader is total.
//!
//! This crate is the Rust counterpart of the Python reference oracle
//! (`src/gmeow_tools/gts/`); both are gated against the same frozen
//! language-neutral conformance corpus in `vectors/` (§18).
//! The Python side keeps the producer; this crate owns the format engine.

pub mod codec;
pub mod compact;
pub mod cose;
pub mod db;
pub mod dumpdir;
// emojihash + randomart now live in the standalone `visual-hashing` crate (#16);
// re-exported here so `gmeow_gts::emojihash::…` paths keep resolving.
pub use visual_hashing as emojihash;
pub mod examples;
pub mod files;
pub mod from_nquads;
#[cfg(feature = "okf")]
pub mod from_okf;
#[cfg(feature = "tar")]
pub mod from_tar;
pub mod from_trig;
#[cfg(feature = "yaml-ld")]
pub mod from_yamlld;
pub mod mmr;
pub mod model;
pub mod nested;
pub mod nquads;
#[cfg(feature = "okf")]
pub mod okf;
pub mod openpgp;
#[cfg(feature = "oxigraph-adapter")]
pub mod oxigraph;
pub mod policy;
#[cfg(feature = "policy-config")]
pub use policy::PolicyConfigError;
pub use policy::{
    evaluate_profile_policy, signature_trust, ProfileFinding, Severity, SignatureTrust, TrustPolicy,
};
#[cfg(feature = "rdf")]
pub mod rdf;
#[cfg(feature = "rdf-codecs")]
pub mod rdf_codecs;
pub mod rdf_events;
pub mod reader;
pub mod replication;
#[cfg(feature = "sophia-adapter")]
pub mod sophia;
pub mod stream;
#[cfg(feature = "tar")]
pub mod tar;
pub mod trig;
pub mod verify;
pub mod wire;
pub mod writer;
#[cfg(feature = "xsd")]
pub mod xsd;
#[cfg(feature = "yaml-ld")]
pub mod yamlld;