[package]
edition = "2024"
rust-version = "1.85"
name = "agm-core"
version = "1.1.0"
authors = ["Jose Angel Avila"]
build = false
exclude = [
"tests/fixtures/",
"tests/snapshots/",
"tests/conformance/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for parsing, validating, loading, and rendering AGM (Agent Graph Memory) files"
homepage = "https://github.com/JAAvila-Of/agm-cli"
documentation = "https://docs.rs/agm-core"
readme = "README.md"
keywords = [
"agm",
"agent",
"graph",
"knowledge",
"parser",
]
categories = [
"command-line-utilities",
"parser-implementations",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/JAAvila-Of/agm-cli"
[features]
compiler = ["dep:pulldown-cmark"]
default = []
[lib]
name = "agm_core"
path = "src/lib.rs"
[[test]]
name = "compiler_edge_cases"
path = "tests/compiler_edge_cases.rs"
[[test]]
name = "compiler_integration"
path = "tests/compiler_integration.rs"
[[test]]
name = "compiler_roundtrip_validation"
path = "tests/compiler_roundtrip_validation.rs"
[[test]]
name = "complex_fixtures_integration"
path = "tests/complex_fixtures_integration.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "diff_edge_cases"
path = "tests/diff_edge_cases.rs"
[[test]]
name = "diff_structured_fields"
path = "tests/diff_structured_fields.rs"
[[test]]
name = "generate_fixtures"
path = "tests/generate_fixtures.rs"
[[test]]
name = "graph_edge_cases"
path = "tests/graph_edge_cases.rs"
[[test]]
name = "graph_integration"
path = "tests/graph_integration.rs"
[[test]]
name = "integration_diff"
path = "tests/integration_diff.rs"
[[test]]
name = "loader_integration"
path = "tests/loader_integration.rs"
[[test]]
name = "memory_validation"
path = "tests/memory_validation.rs"
[[test]]
name = "memory_value_size"
path = "tests/memory_value_size.rs"
[[test]]
name = "parser_edge_cases"
path = "tests/parser_edge_cases.rs"
[[test]]
name = "parser_error_paths_coverage"
path = "tests/parser_error_paths_coverage.rs"
[[test]]
name = "renderer_canonical_full_coverage"
path = "tests/renderer_canonical_full_coverage.rs"
[[test]]
name = "renderer_json_canonical_full_coverage"
path = "tests/renderer_json_canonical_full_coverage.rs"
[[test]]
name = "renderer_json_forward"
path = "tests/renderer_json_forward.rs"
[[test]]
name = "renderer_markdown_full_coverage"
path = "tests/renderer_markdown_full_coverage.rs"
[[test]]
name = "renderer_markdown_scale"
path = "tests/renderer_markdown_scale.rs"
[[test]]
name = "renderer_roundtrip"
path = "tests/renderer_roundtrip.rs"
[[test]]
name = "renderer_snapshots"
path = "tests/renderer_snapshots.rs"
[[test]]
name = "validator_edge_cases"
path = "tests/validator_edge_cases.rs"
[[test]]
name = "validator_edge_coverage"
path = "tests/validator_edge_coverage.rs"
[dependencies.miette]
version = "7"
features = ["fancy"]
[dependencies.petgraph]
version = "0.7"
[dependencies.pulldown-cmark]
version = "0.12"
optional = true
[dependencies.regex]
version = "1"
[dependencies.semver]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.insta]
version = "1"
features = ["yaml"]
[dev-dependencies.tempfile]
version = "3"