fleischwolf-core 0.1.0

Core DoclingDocument data model and serializers for Fleischwolf (a Rust port of docling).
Documentation
//! Core data model for fleischwolf.
//!
//! This crate is the Rust counterpart of the `docling-core` Python package: it
//! owns the unified [`DoclingDocument`] representation that every backend
//! produces and every serializer consumes. Keeping it dependency-light and
//! separate from the conversion logic mirrors the Python split between
//! `docling-core` (the schema) and `docling` (the converters).
//!
//! Phase 0 models a simplified, linear node tree that is enough to round-trip
//! through Markdown. The faithful, `$ref`-based schema that matches
//! docling-core's JSON wire format lands in Phase 1 (see `MIGRATION.md`).

pub mod base64;
mod document;
mod json;
mod labels;
mod markdown;

pub use document::{DoclingDocument, Node, PictureImage, Table};
pub use labels::DocItemLabel;
pub use markdown::ImageMode;