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 and security primitives for Zeph crates.
5//!
6//! This crate provides pure utility functions (text manipulation, network helpers,
7//! sanitization primitives) and security primitives (`Secret`, `VaultError`) that are
8//! needed by multiple crates. It has no `zeph-*` dependencies. The optional `treesitter`
9//! feature adds tree-sitter query constants and helpers.
10
11pub mod config;
12pub mod hash;
13pub mod math;
14pub mod net;
15pub mod sanitize;
16pub mod secret;
17pub mod text;
18
19#[cfg(feature = "treesitter")]
20pub mod treesitter;