[[bin]]
name = "lightningcss"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.ahash]
version = "0.8.7"
[dependencies.atty]
optional = true
version = "0.2"
[dependencies.bitflags]
version = "2.2.1"
[dependencies.browserslist-rs]
optional = true
version = "0.16.0"
[dependencies.clap]
features = ["derive"]
optional = true
version = "3.0.6"
[dependencies.const-str]
version = "0.3.1"
[dependencies.cssparser]
version = "0.33.0"
[dependencies.cssparser-color]
version = "0.1.0"
[dependencies.dashmap]
optional = true
version = "5.0.0"
[dependencies.data-encoding]
version = "2.3.2"
[dependencies.indexmap]
version = "2.2.6"
[dependencies.itertools]
version = "0.10.1"
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.lightningcss-derive]
version = "=1.0.0-alpha.43"
[dependencies.parcel_selectors]
version = "0.28.0"
[dependencies.parcel_sourcemap]
features = ["json"]
optional = true
version = "2.1.1"
[dependencies.paste]
version = "1.0.12"
[dependencies.pathdiff]
version = "0.2.1"
[dependencies.rayon]
optional = true
version = "1.5.1"
[dependencies.schemars]
features = ["smallvec"]
optional = true
version = "0.8.19"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.201"
[dependencies.serde_json]
optional = true
version = "1.0.78"
[dependencies.smallvec]
features = ["union"]
version = "1.7.0"
[dependencies.static-self]
optional = true
version = "0.1.0"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.assert_fs]
version = "1.0"
[dev-dependencies.indoc]
version = "1.0.3"
[dev-dependencies.predicates]
version = "2.1"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[dev-dependencies.serde_json]
version = "1"
[[example]]
name = "custom_at_rule"
required-features = ["visitor"]
[[example]]
name = "serialize"
required-features = ["serde"]
[features]
browserslist = ["browserslist-rs"]
bundler = ["dashmap", "sourcemap", "rayon"]
cli = ["atty", "clap", "serde_json", "browserslist", "jemallocator"]
default = ["bundler", "grid", "nodejs", "sourcemap"]
grid = []
into_owned = ["static-self", "static-self/smallvec", "parcel_selectors/into_owned"]
jsonschema = ["schemars", "serde", "parcel_selectors/jsonschema"]
nodejs = ["dep:serde"]
serde = ["dep:serde", "smallvec/serde", "cssparser/serde", "parcel_selectors/serde", "into_owned"]
sourcemap = ["parcel_sourcemap"]
substitute_variables = ["visitor", "into_owned"]
visitor = []
[lib]
crate-type = ["rlib"]
name = "lightningcss"
path = "src/lib.rs"
[package]
authors = ["Devon Govett <devongovett@gmail.com>"]
description = "A CSS parser, transformer, and minifier"
edition = "2021"
keywords = ["CSS", "minifier", "Parcel"]
license = "MPL-2.0"
name = "lightningcss"
readme = "README.md"
repository = "https://github.com/parcel-bundler/lightningcss"
version = "1.0.0-alpha.61"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
default-features = false
features = ["custom"]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.jemallocator]
features = ["disable_initial_exec_tls"]
optional = true
version = "0.3.2"
[[test]]
name = "cli_integration_tests"
path = "tests/cli_integration_tests.rs"
required-features = ["cli"]