zeph-common 0.16.1

Shared utility functions and security primitives for Zeph crates
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "zeph-common"
version = "0.16.1"
authors = ["bug-ops"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared utility functions and security primitives for Zeph crates"
homepage = "https://github.com/bug-ops/zeph"
documentation = "https://bug-ops.github.io/zeph/"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "inference",
    "skills",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "MIT"
repository = "https://github.com/bug-ops/zeph"

[features]
treesitter = [
    "dep:tree-sitter",
    "dep:tree-sitter-go",
    "dep:tree-sitter-javascript",
    "dep:tree-sitter-python",
    "dep:tree-sitter-rust",
    "dep:tree-sitter-typescript",
    "dep:tracing",
]

[lib]
name = "zeph_common"
path = "src/lib.rs"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tree-sitter]
version = "0.26"
optional = true

[dependencies.tree-sitter-go]
version = "0.25"
optional = true

[dependencies.tree-sitter-javascript]
version = "0.25"
optional = true

[dependencies.tree-sitter-python]
version = "0.25"
optional = true

[dependencies.tree-sitter-rust]
version = "0.24"
optional = true

[dependencies.tree-sitter-typescript]
version = "0.23"
optional = true

[dependencies.zeroize]
version = "1"
features = [
    "alloc",
    "derive",
    "serde",
]
default-features = false

[dev-dependencies]

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
unsafe_code = "deny"