# 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"
version = "0.9.2"
authors = ["alint contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Language-agnostic linter for repository structure, file existence, filename conventions, and file content rules."
homepage = "https://github.com/asamarts/alint"
readme = "README.md"
keywords = [
    "linter",
    "policy",
    "repository",
    "structure",
    "cli",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/asamarts/alint"

[[bin]]
name = "alint"
path = "src/main.rs"

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

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

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

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

[dependencies.alint-dsl]
version = "0.9.2"

[dependencies.alint-output]
version = "0.9.2"

[dependencies.alint-rules]
version = "0.9.2"

[dependencies.anstream]
version = "0.6"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "cargo",
    "env",
]

[dependencies.indicatif]
version = "0.18"

[dependencies.miette]
version = "7"
features = ["fancy"]

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.supports-hyperlinks]
version = "3"

[dependencies.terminal_size]
version = "0.4"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

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

[dev-dependencies.trycmd]
version = "0.15"

[target."cfg(unix)".dev-dependencies.portable-pty]
version = "0.9"

[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"
