# 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-evidence"
version = "3.10.2"
authors = ["Assay"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tamper-evident, cryptographically verifiable evidence bundles for the Assay compliance framework."
readme = "README.md"
license = "MIT"
repository = "https://github.com/Rul1an/assay"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "verify_lint_harness"
path = "benches/verify_lint_harness.rs"
harness = false

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.5"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
    "std",
]
default-features = false

[dependencies.ed25519-dalek]
version = "2.1"
features = [
    "rand_core",
    "pkcs8",
]

[dependencies.flate2]
version = "1.1"

[dependencies.futures]
version = "0.3"

[dependencies.globset]
version = "0.4"

[dependencies.hex]
version = "0.4"

[dependencies.object_store]
version = "0.13"
features = [
    "aws",
    "http",
]

[dependencies.rand]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "derive",
    "std",
    "alloc",
]
default-features = false

[dependencies.serde_jcs]
version = "=0.2.0"

[dependencies.serde_json]
version = "1.0"
features = [
    "preserve_order",
    "std",
    "alloc",
]
default-features = false

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.11"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.23"
features = [
    "v7",
    "serde",
]

[dev-dependencies.assert_fs]
version = "1.0"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.jsonschema]
version = "0.46"

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

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

[lints.clippy]
missing_errors_doc = "allow"
print_stdout = "allow"
unwrap_used = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.rust]
missing_docs = "allow"
unsafe_code = "deny"
unused_lifetimes = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
