# 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-metrics"
version = "3.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metrics library for Assay"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Rul1an/assay"

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

[dependencies.anyhow]
version = "1"

[dependencies.assay-common]
version = "3.5.0"
features = ["std"]
default-features = false

[dependencies.assay-core]
version = "3.5.0"

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

[dependencies.hex]
version = "0.4"

[dependencies.jsonschema]
version = "0.45"

[dependencies.regex]
version = "1"

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

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.tracing]
version = "0.1"

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

[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
