[package]
edition = "2021"
rust-version = "1.75"
name = "ailint-core"
version = "1.0.1"
authors = ["ailint contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for ailint: discovery, parsing, rule engine, and reporters for AI agent guidance files."
homepage = "https://github.com/jamesmhall/ailint"
readme = "README.md"
keywords = [
"ai",
"lint",
"cli",
"agents",
"prompt",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jamesmhall/ailint"
[lib]
name = "ailint_core"
path = "src/lib.rs"
[[test]]
name = "batch_rule"
path = "tests/batch_rule.rs"
[[test]]
name = "consistency_rules"
path = "tests/consistency_rules.rs"
[[test]]
name = "discovery"
path = "tests/discovery.rs"
[[test]]
name = "empty_file"
path = "tests/empty_file.rs"
[[test]]
name = "reporter_json"
path = "tests/reporter_json.rs"
[[test]]
name = "reporter_markdown"
path = "tests/reporter_markdown.rs"
[[test]]
name = "reporter_sarif"
path = "tests/reporter_sarif.rs"
[[test]]
name = "reporter_terminal"
path = "tests/reporter_terminal.rs"
[[test]]
name = "security_rules"
path = "tests/security_rules.rs"
[[test]]
name = "semantic_rules"
path = "tests/semantic_rules.rs"
[[test]]
name = "structural_rules"
path = "tests/structural_rules.rs"
[dependencies.aho-corasick]
version = "1"
[dependencies.anyhow]
version = "1.0"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.colored]
version = "2.1"
[dependencies.glob]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.pulldown-cmark]
version = "0.10"
default-features = false
[dependencies.regex]
version = "1.10"
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde-sarif]
version = "0.7"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dependencies.unicode-segmentation]
version = "1"
[dev-dependencies.insta]
version = "1"
features = ["yaml"]
[dev-dependencies.tempfile]
version = "3"