# 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.70" name = "css-inline" version = "0.14.3" authors = ["Dmitry Dygalo "] build = false exclude = [ ".github", ".pre-commit-config.yaml", ".yamllint", ".gitignore", "tests", ] 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" [profile.release] lto = "fat" codegen-units = 1 [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.31.2" [dependencies.html5ever] version = "0.27.0" [dependencies.indexmap] version = "2.1" [dependencies.lru] version = "0.12.3" optional = true [dependencies.pico-args] version = "0.3" optional = true [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.25.0" [dependencies.smallvec] version = "1" [dependencies.url] version = "2" [dev-dependencies.assert_cmd] version = "2.0.6" [dev-dependencies.codspeed-criterion-compat] version = "2.4.0" [dev-dependencies.criterion] version = "0.5.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" [features] cli = [ "pico-args", "rayon", ] default = [ "cli", "http", "file", "stylesheet-cache", ] file = [] http = ["reqwest"] stylesheet-cache = ["lru"]