# 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 = "2.6.0"
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 = "determinism_test"
path = "tests/determinism_test.rs"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.21"

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

[dependencies.flate2]
version = "1.0"

[dependencies.hex]
version = "0.4"

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

[dependencies.serde_jcs]
version = "0.1"

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

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "1"

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

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

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

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

[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
