# 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"
name = "htmlr"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level HTML helpers for extracting, transforming, and manipulating HTML content."
homepage = "https://github.com/jeremychone/rust-htmlr"
readme = "README.md"
keywords = [
    "html",
    "DOM",
    "parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jeremychone/rust-htmlr"

[lib]
name = "htmlr"
path = "src/lib.rs"
doctest = false

[[example]]
name = "c01-simple"
path = "examples/c01-simple.rs"

[dependencies.derive_more]
version = "2"
features = [
    "from",
    "display",
]

[dependencies.ego-tree]
version = "0.11"

[dependencies.htmd]
version = "0.5"

[dependencies.html-escape]
version = "0.2.13"

[dependencies.scraper]
version = "0.27"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[lints.rust]
unsafe_code = "forbid"
