semtree_core/lib.rs
1//! **Core data types shared across the semtree crates.**
2//!
3//! No logic, no I/O - just the vocabulary every other crate speaks:
4//! [`Chunk`] and [`ChunkKind`] (a unit of indexed code), [`Language`],
5//! [`Span`] (byte + line range), and the [`SemtreeConfig`] tree.
6
7pub mod chunk;
8pub mod config;
9pub mod language;
10pub mod span;
11
12pub use chunk::{Chunk, ChunkKind};
13pub use config::{EmbedBackend, EmbedConfig, SemtreeConfig, StoreBackend, StoreConfig};
14pub use language::Language;
15pub use span::Span;