# 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" name = "critters-rs" version = "0.1.0" build = "build.rs" include = [ "**/*.rs", "Cargo.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Quickly inline your website's critical CSS." homepage = "https://github.com/michaelhthomas/critters-rs" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/michaelhthomas/critters-rs" [lib] name = "critters_rs" crate-type = [ "rlib", "cdylib", ] path = "src/lib.rs" [[bin]] name = "critters-rs" path = "src/main.rs" required-features = ["cli"] [dependencies.anyhow] version = "1.0.89" [dependencies.clap] version = "4.5.17" features = ["derive"] [dependencies.env_logger] version = "0.11.5" optional = true [dependencies.fancy-regex] version = "0.13.0" [dependencies.indicatif] version = "0.17.8" features = ["rayon"] optional = true [dependencies.indicatif-log-bridge] version = "0.2.3" optional = true [dependencies.itertools] version = "0.13.0" [dependencies.kuchikiki] version = "0.8.2" [dependencies.lightningcss] version = "1.0.0-alpha.59" [dependencies.log] version = "0.4.22" [dependencies.markup5ever] version = "0.11.0" [dependencies.napi] version = "2.12.2" features = [ "napi4", "anyhow", "serde-json", ] optional = true default-features = false [dependencies.napi-derive] version = "2.12.2" optional = true [dependencies.rayon] version = "1.10.0" optional = true [dependencies.regex] version = "1.10.6" [dependencies.serde] version = "1.0.210" [dependencies.serde_json] version = "1.0.128" optional = true [dependencies.tempdir] version = "0.3.7" [dependencies.test-log] version = "0.2.16" [dependencies.ts-rs] version = "10.0.0" optional = true [dependencies.walkdir] version = "2.5.0" optional = true [build-dependencies.napi-build] version = "2.0.1" [features] cli = [ "env_logger", "indicatif-log-bridge", "directory", ] default = [] directory = [ "indicatif", "rayon", "walkdir", ] typegen = ["ts-rs"] use-napi = [ "napi", "napi-derive", "serde_json", "env_logger", "directory", ]