[package]
edition = "2024"
name = "agnix-core"
version = "0.16.2"
authors = ["Avi Fenesh <avifenesh@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core validation engine for agent configurations"
homepage = "https://github.com/avifenesh/agnix"
readme = "README.md"
keywords = [
"agent",
"linter",
"validation",
"mcp",
"skills",
]
categories = [
"development-tools",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/avifenesh/agnix"
resolver = "2"
[features]
__internal = []
__internal_unchecked = []
default = ["filesystem"]
filesystem = [
"dep:rayon",
"dep:ignore",
"dep:dirs",
]
[lib]
name = "agnix_core"
path = "src/lib.rs"
[[test]]
name = "api_contract"
path = "tests/api_contract.rs"
[[test]]
name = "fix_integration"
path = "tests/fix_integration.rs"
[[test]]
name = "lib_tests"
path = "tests/lib_tests.rs"
[[test]]
name = "security_integration"
path = "tests/security_integration.rs"
[[test]]
name = "sync_send_check"
path = "tests/sync_send_check.rs"
[[bench]]
name = "fixtures"
path = "benches/fixtures.rs"
[[bench]]
name = "iai_validation"
path = "benches/iai_validation.rs"
harness = false
[[bench]]
name = "validation"
path = "benches/validation.rs"
harness = false
required-features = ["__internal"]
[dependencies.agnix-rules]
version = "0.16.2"
[dependencies.anyhow]
version = "1"
[dependencies.dirs]
version = "6"
optional = true
[dependencies.glob]
version = "0.3"
[dependencies.ignore]
version = "0.4"
optional = true
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.regex]
version = "1"
[dependencies.rust-i18n]
version = "3.1"
[dependencies.schemars]
version = "1"
[dependencies.semver]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.toml]
version = "1.0"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.iai-callgrind]
version = "0.16"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tracking-allocator]
version = "0.4"