zeph_common/lib.rs
1// SPDX-FileCopyrightText: 2026 Andrei G <bug-ops>
2// SPDX-License-Identifier: MIT OR Apache-2.0
3
4//! Shared utility functions for Zeph crates.
5//!
6//! This crate provides pure utility functions (text manipulation, network helpers,
7//! sanitization primitives) that are needed by multiple leaf crates. It has no
8//! `zeph-*` dependencies. The optional `treesitter` feature adds tree-sitter query
9//! constants and helpers; all other modules are dependency-free.
10
11pub mod net;
12pub mod sanitize;
13pub mod text;
14
15#[cfg(feature = "treesitter")]
16pub mod treesitter;