# 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-core"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Analysis engine for pedant: IR extraction, style checks, and capability detection"
readme = "README.md"
keywords = [
    "linter",
    "lint",
    "static-analysis",
    "ai",
    "code-quality",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jostled-org/pedant"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

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

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

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

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

[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]

[dependencies.quote]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
    "parsing",
]

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1"

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