# 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 = "pedant"
version = "0.17.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An opinionated Rust linter, with special focus on AI-generated code"
readme = "README.md"
keywords = [
    "lint",
    "linter",
    "static-analysis",
    "code-quality",
    "developer-tools",
]
categories = [
    "development-tools",
    "development-tools::cargo-plugins",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jostled-org/pedant"

[package.metadata.docs.rs]
targets = []

[features]
default = []
semantic = ["pedant-core/semantic"]

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

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

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

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

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

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.pedant-core]
version = "0.9.0"

[dependencies.pedant-types]
version = "0.9.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.serde_json]
version = "1"

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