# 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.85"
name = "alint-dsl"
version = "0.10.2"
authors = ["alint contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal: YAML DSL loader for alint configuration files. Not a stable public API."
homepage = "https://github.com/asamarts/alint"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/asamarts/alint"

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

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

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

[dependencies.alint-core]
version = "0.10.0"

[dependencies.directories]
version = "6"

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

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.ureq]
version = "3"
features = ["rustls"]
default-features = false

[dev-dependencies.alint-rules]
version = "0.10.0"

[dev-dependencies.jsonschema]
version = "0.46"
default-features = false

[dev-dependencies.serde_json]
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"

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

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"
