css_lexer 0.0.17

A spec-compliant CSS tokenizer with zero-copy cursors and optional feature gates.
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_lexer"
version = "0.0.17"
authors = ["Keith Cirkel (https://keithcirkel.co.uk)"]
build = false
exclude = [
    "tests/*",
    "bench/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A spec-compliant CSS tokenizer with zero-copy cursors and optional feature gates."
homepage = "https://csskit.rs"
readme = "README.md"
keywords = [
    "CSS",
    "parser",
]
license = "MIT"
repository = "https://github.com/csskit/csskit"
resolver = "2"

[features]
_dhat-heap-testing = []
bumpalo = ["dep:bumpalo"]
default = []
dynamic-atoms = ["dep:fnv"]
egg = []
miette = ["dep:miette"]
serde = [
    "dep:serde",
    "dep:serde_json",
    "bumpalo/serde",
    "miette/serde",
]

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

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

[dependencies.allocator-api2]
version = "0.2.21"

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

[dependencies.bumpalo]
version = "3.19.0"
features = [
    "boxed",
    "collections",
    "allocator-api2",
]
optional = true

[dependencies.derive_atom_set]
version = "0.0.17"

[dependencies.fnv]
version = "1.0.7"
optional = true

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

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

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

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

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

[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"

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