High-performance document intelligence library for Rust. Extract text, metadata, and structured data from PDFs, Office documents, images, and 75+ formats with async/sync APIs.
//! Configuration types for text chunking.
useserde::{Deserialize, Serialize};// Re-export ChunkingConfig and ChunkerType from core config (canonical location)
pubusecrate::core::config::processing::{ChunkerType, ChunkingConfig};/// Result of a text chunking operation.
////// Contains the generated chunks and metadata about the chunking.
#[derive(Debug, Clone, Serialize, Deserialize)]pubstructChunkingResult{/// List of text chunks
pubchunks:Vec<crate::types::Chunk>,
/// Total number of chunks generated
pubchunk_count:usize,
}