crate-structure
Installation
SKILL.md
Crate Structure
Version source of truth: root Cargo.toml [workspace.package] version.
Workspace crates (crates/)
xberg— core library: extraction engine, MIME detection, plugin system, OCR, chunking, embeddings, API/MCP serverxberg-cli— CLI binary; thin wrapper over core withclifeature setxberg-ffi— C FFI layer (#[no_mangle] extern "C"); opaque handles, cbindgen headers; used by Go, Java, C# bindingsxberg-node— NAPI-RS Node.js/TypeScript bindingsxberg-py— PyO3 Python bindingsxberg-php— ext-php-rs PHP bindingsxberg-wasm— wasm-bindgen WASM bindings; useswasm-targetfeature setxberg-paddle-ocr— PaddleOCR via ONNX Runtime; not available on WASM or Windowsxberg-tesseract— Rust bindings for Tesseract OCR