# 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"
rust-version = "1.85"
name = "antigen-attestation"
version = "0.2.0-beta.1"
authors = ["Christopher Averill <c@tek.gy>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ratification schema + substrate-witness predicate evaluator for antigen discipline-witnesses (ADR-019)."
homepage = "https://github.com/antigen-rs/antigen"
readme = "README.md"
keywords = [
    "immunity",
    "memory",
    "failure-class",
    "lint",
    "antibody",
]
categories = [
    "development-tools",
    "development-tools::cargo-plugins",
    "development-tools::testing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/antigen-rs/antigen"

[features]
default = []
parser = [
    "dep:syn",
    "dep:proc-macro2",
]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "extra-traits",
    "visit",
]
optional = true

[dev-dependencies.proptest]
version = "1"

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
uninlined_format_args = "allow"

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
