hedl-core 2.0.0

Core parser and data model for HEDL (Hierarchical Entity Data Language)
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 = "2021"
rust-version = "1.70"
name = "hedl-core"
version = "2.0.0"
authors = ["marcflp <marc@dweve.com>"]
build = false
include = [
    "Cargo.toml",
    "README.md",
    "LICENSE",
    "NOTICE",
    "CHANGELOG*",
    "src/**",
    "tests/**",
    "benches/**",
    "examples/**",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core parser and data model for HEDL (Hierarchical Entity Data Language)"
homepage = "https://dweve.com"
documentation = "https://docs.rs/hedl-core"
readme = "README.md"
keywords = [
    "hedl",
    "data-format",
    "serialization",
    "parser",
    "token-efficient",
]
categories = [
    "encoding",
    "parser-implementations",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/dweve-ai/hedl"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
default = ["regex"]
parallel = ["dep:rayon"]
regex = ["dep:regex"]
serde = ["dep:serde"]

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

[[example]]
name = "custom_limits"
path = "examples/custom_limits.rs"

[[example]]
name = "inference_optimization_demo"
path = "examples/inference_optimization_demo.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bumpalo]
version = "3.16"

[dependencies.memchr]
version = "2.7"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.regex]
version = "1.10"
optional = true

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

[dependencies.smallvec]
version = "1.13"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.proptest]
version = "1.5"

[lints.clippy]
all = "warn"

[lints.rust]
unused_must_use = "allow"
warnings = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]