css-inline 0.19.1

High-performance library for inlining CSS into HTML 'style' attributes
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 = "2021"
rust-version = "1.80"
name = "css-inline"
version = "0.19.1"
authors = ["Dmitry Dygalo <dmitry@dygalo.dev>"]
build = false
exclude = [
    ".github",
    ".pre-commit-config.yaml",
    ".yamllint",
    ".gitignore",
    "tests",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance library for inlining CSS into HTML 'style' attributes"
readme = "README.md"
keywords = [
    "css",
    "html",
    "email",
    "stylesheet",
    "inlining",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/Stranger6667/css-inline"

[features]
cli = ["rayon"]
default = [
    "cli",
    "http",
    "file",
    "stylesheet-cache",
]
file = []
http = ["reqwest"]
stylesheet-cache = ["lru"]

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

[[bin]]
name = "css-inline"
path = "src/main.rs"

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

[dependencies.cssparser]
version = "0.36.0"

[dependencies.html5ever]
version = "0.38.0"

[dependencies.lru]
version = "0.16.0"
optional = true

[dependencies.precomputed-hash]
version = "0.1.1"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.reqwest]
version = "0.12.0"
features = [
    "rustls-tls",
    "blocking",
]
optional = true
default-features = false

[dependencies.rustc-hash]
version = "2.0.0"

[dependencies.selectors]
version = "0.35.0"

[dependencies.smallvec]
version = "1"

[dependencies.url]
version = "2"

[dev-dependencies.assert_cmd]
version = "2.0.6"

[dev-dependencies.codspeed-criterion-compat]
version = "4.0.5"

[dev-dependencies.criterion]
version = "0.8.1"
features = []
default-features = false

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

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

[dev-dependencies.test-case]
version = "3.3"

[profile.release]
lto = "fat"
codegen-units = 1