[package]
edition = "2021"
rust-version = "1.95"
name = "shadow-diff"
version = "3.1.0"
authors = ["manav8498"]
build = false
include = [
"src/**/*.rs",
"src/**/*.sql",
"Cargo.toml",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Behavior contracts for AI agents — tested in your PR, enforced at runtime. Core engine: parser, writer, content-addressed store, replay, and nine-axis behavioral differ."
homepage = "https://github.com/manav8498/Shadow"
documentation = "https://docs.rs/shadow-diff"
readme = "README.md"
keywords = [
"llm",
"agents",
"testing",
"observability",
"diff",
]
categories = [
"development-tools::testing",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/manav8498/Shadow"
[package.metadata.docs.rs]
features = ["python"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
extension = ["python"]
python = [
"dep:pyo3",
"dep:pythonize",
]
[lib]
name = "shadow_core"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.async-trait]
version = "=0.1.89"
[dependencies.pyo3]
version = "=0.24.2"
features = ["abi3-py311"]
optional = true
[dependencies.pythonize]
version = "=0.24.0"
optional = true
[dependencies.rand]
version = "=0.8.6"
[dependencies.rand_distr]
version = "=0.4.3"
[dependencies.rusqlite]
version = "=0.32.1"
features = ["bundled"]
[dependencies.serde]
version = "=1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "=1.0.133"
features = ["preserve_order"]
[dependencies.sha2]
version = "=0.10.9"
[dependencies.statrs]
version = "=0.18.0"
[dependencies.thiserror]
version = "=2.0.18"
[dependencies.tokio]
version = "=1.52.1"
features = [
"rt-multi-thread",
"macros",
"sync",
"fs",
"io-util",
]
[dependencies.tracing]
version = "=0.1.41"
[dependencies.unicode-normalization]
version = "=0.1.24"
[dev-dependencies.insta]
version = "=1.41.1"
features = [
"yaml",
"json",
]
[dev-dependencies.proptest]
version = "=1.6.0"
[dev-dependencies.tempfile]
version = "=3.14.0"
[dev-dependencies.tokio]
version = "=1.52.1"
features = [
"rt-multi-thread",
"macros",
"test-util",
"time",
]