[package]
edition = "2021"
rust-version = "1.70"
name = "hedl-xml"
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 = "HEDL to/from XML conversion"
homepage = "https://dweve.com"
documentation = "https://docs.rs/hedl-xml"
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]
async = ["tokio"]
default = []
[lib]
name = "hedl_xml"
path = "src/lib.rs"
[[example]]
name = "basic_conversion"
path = "examples/basic_conversion.rs"
[[example]]
name = "schema_validation"
path = "examples/schema_validation.rs"
[[example]]
name = "streaming_large_files"
path = "examples/streaming_large_files.rs"
[[test]]
name = "async_integration_test"
path = "tests/async_integration_test.rs"
[[test]]
name = "async_io_tests"
path = "tests/async_io_tests.rs"
[[test]]
name = "conversion_roundtrip_tests"
path = "tests/conversion_roundtrip_tests.rs"
[[test]]
name = "issue_integration_test"
path = "tests/issue_integration_test.rs"
[[test]]
name = "list_conversion_tests"
path = "tests/list_conversion_tests.rs"
[[test]]
name = "optimization_verification"
path = "tests/optimization_verification.rs"
[[test]]
name = "property_roundtrip"
path = "tests/property_roundtrip.rs"
[[test]]
name = "schema_validation_tests"
path = "tests/schema_validation_tests.rs"
[[test]]
name = "streaming_parser_tests"
path = "tests/streaming_parser_tests.rs"
[[test]]
name = "streaming_tests"
path = "tests/streaming_tests.rs"
[[test]]
name = "xml_conversion_tests"
path = "tests/xml_conversion_tests.rs"
[dependencies.hedl-core]
version = "2.0.0"
[dependencies.parking_lot]
version = "0.12"
[dependencies.quick-xml]
version = "0.39"
features = ["serialize"]
[dependencies.roxmltree]
version = "0.21"
[dependencies.smallvec]
version = "1.13"
[dependencies.string_cache]
version = "0.9"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.43"
features = [
"fs",
"io-util",
"rt",
]
optional = true
[dev-dependencies.hedl-core]
version = "2.0.0"
[dev-dependencies.hedl-test]
version = "2.0.0"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.tempfile]
version = "3.14"
[dev-dependencies.tokio]
version = "1.43"
features = [
"full",
"test-util",
]
[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)"]