[package]
edition = "2024"
rust-version = "1.85"
name = "zenith-core"
version = "0.0.7"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zenith core: KDL parser adapter, semantic AST, canonical formatter, tokens, validation, and diagnostics."
homepage = "https://github.com/zenitheditor/zenith"
readme = "README.md"
keywords = [
"design",
"deterministic",
"kdl",
"rendering",
"agent",
]
categories = [
"rendering",
"command-line-utilities",
"visualization",
]
license = "Apache-2.0"
repository = "https://github.com/zenitheditor/zenith"
[lib]
name = "zenith_core"
path = "src/lib.rs"
[[test]]
name = "block_style"
path = "tests/block_style.rs"
[[test]]
name = "diagnostic_policy"
path = "tests/diagnostic_policy.rs"
[[test]]
name = "format_assets"
path = "tests/format_assets.rs"
[[test]]
name = "format_chart"
path = "tests/format_chart.rs"
[[test]]
name = "format_containers"
path = "tests/format_containers.rs"
[[test]]
name = "format_document"
path = "tests/format_document.rs"
[[test]]
name = "format_nodes"
path = "tests/format_nodes.rs"
[[test]]
name = "format_pattern"
path = "tests/format_pattern.rs"
[[test]]
name = "format_recipes"
path = "tests/format_recipes.rs"
[[test]]
name = "format_roundtrip"
path = "tests/format_roundtrip.rs"
[[test]]
name = "format_text"
path = "tests/format_text.rs"
[[test]]
name = "format_tokens_styles"
path = "tests/format_tokens_styles.rs"
[[test]]
name = "format_variants"
path = "tests/format_variants.rs"
[[test]]
name = "markdown_block"
path = "tests/markdown_block.rs"
[[test]]
name = "token_resolve"
path = "tests/token_resolve.rs"
[[test]]
name = "token_resolve_visual"
path = "tests/token_resolve_visual.rs"
[[test]]
name = "validate_anchors"
path = "tests/validate_anchors.rs"
[[test]]
name = "validate_assets"
path = "tests/validate_assets.rs"
[[test]]
name = "validate_brand"
path = "tests/validate_brand.rs"
[[test]]
name = "validate_chart"
path = "tests/validate_chart.rs"
[[test]]
name = "validate_containers"
path = "tests/validate_containers.rs"
[[test]]
name = "validate_contrast"
path = "tests/validate_contrast.rs"
[[test]]
name = "validate_data"
path = "tests/validate_data.rs"
[[test]]
name = "validate_geometry"
path = "tests/validate_geometry.rs"
[[test]]
name = "validate_layout"
path = "tests/validate_layout.rs"
[[test]]
name = "validate_nodes"
path = "tests/validate_nodes.rs"
[[test]]
name = "validate_pattern"
path = "tests/validate_pattern.rs"
[[test]]
name = "validate_recipes"
path = "tests/validate_recipes.rs"
[[test]]
name = "validate_shapes"
path = "tests/validate_shapes.rs"
[[test]]
name = "validate_structure"
path = "tests/validate_structure.rs"
[[test]]
name = "validate_styles"
path = "tests/validate_styles.rs"
[[test]]
name = "validate_suggestions"
path = "tests/validate_suggestions.rs"
[[test]]
name = "validate_tables"
path = "tests/validate_tables.rs"
[[test]]
name = "validate_variants"
path = "tests/validate_variants.rs"
[dependencies.kdl]
version = "6.7.1"
[dependencies.oxidoc-highlight]
version = "0.1.1"
[dependencies.ttf-parser]
version = "0.25"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"