# 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 = "2024"
rust-version = "1.94"
name = "astrid-audit"
version = "0.5.1"
authors = [
    "Joshua J. Bouw <dev@joshuajbouw.com>",
    "Unicity Labs <info@unicity-labs.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chain-linked cryptographic audit logging for Astrid"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/unicity-astrid/astrid"
resolver = "2"

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

[dependencies.astrid-capabilities]
version = "0.5.1"

[dependencies.astrid-core]
version = "0.5.1"

[dependencies.astrid-crypto]
version = "0.5.1"

[dependencies.astrid-storage]
version = "0.5.1"
features = ["kv"]

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.49"
features = [
    "sync",
    "macros",
    "time",
    "rt",
    "rt-multi-thread",
    "net",
    "io-util",
    "signal",
    "rt",
]

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.tokio]
version = "1.49"
features = [
    "sync",
    "macros",
    "time",
    "rt",
    "rt-multi-thread",
    "net",
    "io-util",
    "signal",
    "rt-multi-thread",
    "macros",
]

[lints.clippy]
arithmetic_side_effects = "deny"

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

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

[lints.rust]
unsafe_code = "deny"
