clm-kernel 0.0.22

Cubical Logic Model (CLM) sovereign execution engine, CPN-VM, and Cordis spatiotemporal substrate
Documentation
//! Layer 2: Content-Addressed Storage, VFS, Merkle DAG & Fibers
//! Canonical Path: kernel/clm_rust_core/src/layer2/mod.rs

#[cfg(any(feature = "native", feature = "db"))]
pub mod vfs;
#[cfg(any(feature = "native", feature = "db"))]
pub mod record_store;
#[cfg(any(feature = "native", feature = "db"))]
pub mod record_sqlite_guard;
pub mod uri;
#[cfg(any(feature = "native", feature = "db"))]
pub mod storage;
pub mod merkle;
#[cfg(any(feature = "native", feature = "db"))]
pub mod petri_process;
#[cfg(any(feature = "native", feature = "db"))]
pub mod host_mount;
#[cfg(feature = "native")]
pub mod chunk_pruning;
pub mod chunk_manifest;
#[cfg(any(feature = "native", feature = "db"))]
pub mod storage_petri;
pub mod sync;
pub mod sheaf_cohomology;
#[cfg(any(feature = "native", feature = "db"))]
pub mod collection;
#[cfg(any(feature = "native", feature = "db"))]
pub mod cas_retention;
pub mod workflow_lineage;
#[cfg(any(feature = "native", feature = "db"))]
pub mod portable_sqlite;

#[cfg(any(feature = "native", feature = "db"))]
pub use collection::MCardCollection;
#[cfg(any(feature = "native", feature = "db"))]
pub use cas_retention::{
    eligible, get_all_working_records, get_declared_roots, parse_anchor, parse_genesis,
    AnchorPayload, EligibilityResult, GenesisPayload, RetentionPolicy,
};
pub use workflow_lineage::{LineageDAG, LineageEdge, LineageEngine, LineageNode};
#[cfg(any(feature = "native", feature = "db"))]
pub use portable_sqlite::{
    compile_portable_sqlite, parse_portable_sqlite, ParsedCard, ParsedHandle, ParsedHistory,
    ParsedMeta, ParsedPortableSqlite, PortableSqliteCard,
};

#[cfg(any(feature = "native", feature = "db"))]
pub use vfs::{DirectoryManifest, DirectoryManifestEntry, MCardFileSystem, MCardStat};
#[cfg(any(feature = "native", feature = "db"))]
pub use storage::*;
#[cfg(any(feature = "native", feature = "db"))]
pub use storage_petri::*;
pub use merkle::*;
#[cfg(any(feature = "native", feature = "db"))]
pub use petri_process::{
    MCardNamespaceProtocolService, PetriProcessPCard, ProcessExecutionResult,
    NAMESPACE_PROTOCOL_OPS,
};
#[cfg(any(feature = "native", feature = "db"))]
pub use host_mount::{Layer1NetCollectionServer, MCardHostMountAdapter, NamespaceUnionMount};
pub use chunk_manifest::{ChunkDescriptor, ChunkManifest};
#[cfg(feature = "native")]
pub use chunk_pruning::{
    cdc_split_boundaries, compute_reachability, AnchoredPruningProcessPCard,
    ChunkerProcessPCard, PruningAnchorResult, PruningReachabilityReport,
    StreamRangeProcessPCard, StreamRangeResult, CHUNKER_ID, CHUNKER_VERSION,
};

#[cfg(feature = "crdt")]
pub use crate::crdt;

#[cfg(all(test, feature = "native"))]
pub mod petri_process_tests;

#[cfg(any(feature = "native", feature = "db"))]
pub mod collision_migration;
#[cfg(feature = "native")]
pub mod sheaf_persistence;