css_ast 0.0.16

CSS Abstract Syntax Trees with visitable nodes and style value types.
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 = "2024"
name = "css_ast"
version = "0.0.16"
authors = ["Keith Cirkel (https://keithcirkel.co.uk)"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CSS Abstract Syntax Trees with visitable nodes and style value types."
homepage = "https://csskit.rs"
readme = "README.md"
keywords = [
    "CSS",
    "parser",
]
license = "MIT"
repository = "https://github.com/csskit/csskit"
resolver = "2"

[features]
_dhat-heap-testing = []
chromashift = ["dep:chromashift"]
css_feature_data = ["dep:css_feature_data"]
default = []
dynamic-atoms = ["css_lexer/dynamic-atoms"]
fancy = [
    "miette",
    "miette/fancy-no-backtrace",
]
miette = ["css_parse/miette"]
serde = [
    "dep:serde",
    "dep:serde_json",
    "css_parse/serde",
    "smallvec/serde",
]
visitable = []

[lib]
name = "css_ast"
path = "src/lib.rs"
bench = false

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

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

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

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

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

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

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

[dependencies.bitmask-enum]
version = "2.2.5"

[dependencies.bumpalo]
version = "3.19.0"
features = [
    "collections",
    "boxed",
]

[dependencies.chromashift]
version = "0.0.16"
optional = true

[dependencies.css_feature_data]
version = "0.0.16"
optional = true

[dependencies.css_lexer]
version = "0.0.16"

[dependencies.css_parse]
version = "0.0.16"

[dependencies.csskit_derives]
version = "0.0.16"

[dependencies.csskit_proc_macro]
version = "0.0.16"

[dependencies.derive_atom_set]
version = "0.0.16"

[dependencies.miette]
version = "7.6.0"
features = ["derive"]
default-features = false

[dependencies.serde]
version = "1.0.228"
optional = true

[dependencies.serde_json]
version = "1.0.145"
optional = true

[dependencies.smallvec]
version = "1.15.1"

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.console]
version = "0.16.1"

[dev-dependencies.criterion]
version = "0.5.1"
features = ["html_reports"]

[dev-dependencies.css_parse]
version = "0.0.16"
features = ["testing"]

[dev-dependencies.dhat]
version = "0.3.3"

[dev-dependencies.glob]
version = "0.3.3"

[dev-dependencies.insta]
version = "1.43.2"
features = ["ron"]

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.145"

[dev-dependencies.similar]
version = "2.7.0"

[build-dependencies.csskit_source_finder]
version = "0.0.16"

[build-dependencies.heck]
version = "0.5.0"

[build-dependencies.prettyplease]
version = "0.2.37"

[build-dependencies.proc-macro2]
version = "1.0.101"

[build-dependencies.quote]
version = "1.0.41"

[build-dependencies.syn]
version = "2.0.106"

[target.'cfg(target_family = "unix")'.dev-dependencies.pprof]
version = "0.15.0"
features = [
    "flamegraph",
    "criterion",
]