# 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 = "2021"
name = "assay-core"
version = "2.1.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance evaluation framework for LLM agents (Core)"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Rul1an/assay"

[features]
default = [
    "discovery",
    "kill-switch",
]
discovery = [
    "dep:sysinfo",
    "dep:dirs",
]
experimental = []
kill-switch = [
    "dep:nix",
    "dep:sysinfo",
]
kill-switch-capture = [
    "kill-switch",
    "dep:procfs",
]
runtime-monitor = []

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

[[example]]
name = "debug_trace"
path = "examples/debug_trace.rs"

[[test]]
name = "assertions_smoke"
path = "tests/assertions_smoke.rs"

[[test]]
name = "baseline_determinism"
path = "tests/baseline_determinism.rs"

[[test]]
name = "baseline_test"
path = "tests/baseline_test.rs"

[[test]]
name = "cache_key_hardening"
path = "tests/cache_key_hardening.rs"

[[test]]
name = "compat_matrix"
path = "tests/compat_matrix.rs"

[[test]]
name = "config_versioning"
path = "tests/config_versioning.rs"

[[test]]
name = "equivalence_test"
path = "tests/equivalence_test.rs"

[[test]]
name = "latency_check"
path = "tests/latency_check.rs"

[[test]]
name = "mcp_import_smoke"
path = "tests/mcp_import_smoke.rs"

[[test]]
name = "otel_ingest_smoke"
path = "tests/otel_ingest_smoke.rs"

[[test]]
name = "parity"
path = "tests/parity.rs"

[[test]]
name = "parity_batch_streaming"
path = "tests/parity_batch_streaming.rs"

[[test]]
name = "policy_engine_test"
path = "tests/policy_engine_test.rs"

[[test]]
name = "storage_smoke"
path = "tests/storage_smoke.rs"

[[test]]
name = "trace_v2_upgrade"
path = "tests/trace_v2_upgrade.rs"

[dependencies.anyhow]
version = "1"

[dependencies.assay-common]
version = "2.0.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "5"
optional = true

[dependencies.globset]
version = "0.4"

[dependencies.hex]
version = "0.4.3"

[dependencies.jsonschema]
version = "0.19"

[dependencies.md5]
version = "0.8.0"

[dependencies.nix]
version = "0.27"
features = [
    "signal",
    "process",
]
optional = true

[dependencies.regex]
version = "1.5"

[dependencies.reqwest]
version = "0.12.26"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

[dependencies.schemars]
version = "1.2.0"

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

[dependencies.serde_ignored]
version = "0.1.14"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.strsim]
version = "0.11.1"

[dependencies.sysinfo]
version = "0.30"
optional = true

[dependencies.tempfile]
version = "3.23.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "macros",
    "rt-multi-thread",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.0"
features = ["v4"]

[dev-dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3.23.0"

[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.16"
optional = true

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.nix]
version = "0.27"
features = ["fs"]
