vole-document 0.1.0-alpha.15

Persistent procedural document runtime: byte-exact reconstruction plus a content-addressed procedural seed DAG, queryable observations with provenance, and selective late materialization.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Format adapters.
//!
//! An adapter proposes a reconstruction hypothesis. It never overrides the
//! byte authority: a hypothesis is only admitted after it reproduces the exact
//! source bytes and wins the complete-cost court.

pub mod opaque;
pub mod pdf;

/// The source-format class decision for an input.
///
/// File extensions are hints, never authority. In Phase 1 every input is
/// preserved by the opaque adapter, which is the unconditional exact floor.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum FormatDecision {
    /// Unstructured bytes; preserved exactly by the opaque adapter.
    Opaque,
}