# 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 = "2024"
rust-version = "1.90"
name = "hotmeal"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML toolkit with arena-based DOM, html5ever parsing, and serialization"
homepage = "https://github.com/bearcove/hotmeal"
readme = "README.md"
keywords = [
    "html",
    "dom",
    "html5ever",
    "parsing",
    "facet",
]
categories = [
    "encoding",
    "parsing",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bearcove/hotmeal"

[package.metadata."docs.rs"]
rustdoc-args = [
    "--html-in-header",
    "arborium-header.html",
]

[features]
tracing = ["dep:tracing"]

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

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

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

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

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

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

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

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
harness = false

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

[[bench]]
name = "diffing"
path = "benches/diffing.rs"
harness = false

[[bench]]
name = "full_cycle"
path = "benches/full_cycle.rs"
harness = false

[[bench]]
name = "parsing"
path = "benches/parsing.rs"
harness = false

[[bench]]
name = "serialization"
path = "benches/serialization.rs"
harness = false

[dependencies.cinereus]
version = "1.0.0"

[dependencies.compact_str]
version = "0.9"

[dependencies.facet]
version = "0.44.1"
features = [
    "indexmap",
    "tendril",
    "smallvec",
    "compact_str",
]

[dependencies.facet-error]
version = "0.44.1"

[dependencies.html5ever]
version = "0.38.0"

[dependencies.rapidhash]
version = "1"

[dependencies.smallvec]
version = "1"

[dependencies.tendril]
version = "0.5.0"

[dependencies.tracing]
version = "0.1"
features = ["std"]
optional = true
default-features = false

[dev-dependencies.datatest-stable]
version = "0.3"

[dev-dependencies.divan]
version = "0.1"

[dev-dependencies.facet-json]
version = "0.44.1"

[dev-dependencies.facet-testhelpers]
version = "0.44.1"

[dev-dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false

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