pedant-core 0.20.2

Analysis engine for pedant: IR extraction, style checks, and capability detection
Documentation
# 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.96"
name = "pedant-core"
version = "0.20.2"
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",
]

[features]
checks = ["dep:serde"]
default = ["checks"]
resolution-test-support = []
semantic = [
    "ra_ap_ide",
    "ra_ap_hir",
    "ra_ap_syntax",
    "ra_ap_vfs",
    "ra_ap_project_model",
    "ra_ap_load-cargo",
    "line-index",
]

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

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

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

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

[[test]]
name = "hash"
path = "tests/hash.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 = "nesting_depth"
path = "tests/nesting_depth.rs"

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

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

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

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

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

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

[dependencies.line-index]
version = "0.1.2"
optional = true

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

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

[dependencies.quote]
version = "1"

[dependencies.ra_ap_hir]
version = "0.0.342"
optional = true

[dependencies.ra_ap_ide]
version = "0.0.342"
optional = true

[dependencies.ra_ap_load-cargo]
version = "0.0.342"
optional = true

[dependencies.ra_ap_project_model]
version = "0.0.342"
optional = true

[dependencies.ra_ap_syntax]
version = "0.0.342"
optional = true

[dependencies.ra_ap_vfs]
version = "0.0.342"
optional = true

[dependencies.semver]
version = "1"

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

[dependencies.sha2]
version = "0.11"

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

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1"

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

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

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