# 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-policy"
version = "3.18.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Policy types and compilation logic for Assay"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Rul1an/assay"

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

[dependencies.anyhow]
version = "1"

[dependencies.ipnet]
version = "2.12"
features = ["serde"]

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

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

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dev-dependencies]

[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
