Skip to main content

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 net;
12pub mod sanitize;
13pub mod secret;
14pub mod text;
15
16#[cfg(feature = "treesitter")]
17pub mod treesitter;