csskit_highlight 0.0.17

Semantic token classification for CSS with optional ANSI themes and color utilities.
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 = "csskit_highlight"
version = "0.0.17"
authors = ["Keith Cirkel (https://keithcirkel.co.uk)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Semantic token classification for CSS with optional ANSI themes and color utilities."
homepage = "https://csskit.rs"
readme = "README.md"
keywords = [
    "CSS",
    "parser",
]
license = "MIT"
repository = "https://github.com/csskit/csskit"
resolver = "2"

[features]
anstyle = [
    "dep:anstyle",
    "chromashift/anstyle",
]
miette = [
    "dep:miette",
    "miette/fancy",
    "dep:owo-colors",
]
owo-colors = [
    "dep:owo-colors",
    "chromashift/owo-colors",
]

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

[dependencies.anstyle]
version = "1.0.13"
optional = true

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

[dependencies.chromashift]
version = "0.0.17"

[dependencies.css_ast]
version = "0.0.17"
features = [
    "chromashift",
    "visitable",
]

[dependencies.css_lexer]
version = "0.0.17"

[dependencies.css_parse]
version = "0.0.17"

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

[dependencies.owo-colors]
version = "4"
optional = true

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dev-dependencies.bumpalo]
version = "3.19.0"

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

[dev-dependencies.css_parse]
version = "0.0.17"

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

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