File: Cargo.toml

package info (click to toggle)
rust-swc-core 35.0.0~ds-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 62,816 kB
  • sloc: javascript: 873; xml: 538; sh: 358; makefile: 35; python: 5
file content (60 lines) | stat: -rw-r--r-- 2,369 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
authors = [
  "강동윤 <kdy1997.dev@gmail.com>",
  "Alexander Akait <sheo13666q@gmail.com>",
]
autobenches = false
description = "HTML minifier"
documentation = "https://rustdoc.swc.rs/swc_html_minifier/"
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs", "data/**/*.json"]
license = { workspace = true }
name = "swc_html_minifier"
repository = "https://github.com/swc-project/swc.git"
version = "29.0.0"

[lib]
bench = false

[features]
custom-css-minifier = []
default = ["default-css-minifier"]
default-css-minifier = [
  "swc_css_ast",
  "swc_css_codegen",
  "swc_css_minifier",
  "swc_css_parser",
]

[dependencies]
once_cell  = { workspace = true }
rustc-hash = { workspace = true }
serde      = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

swc_atoms = { version = "7.0.0", path = "../swc_atoms" }
swc_common = { version = "14.0.2", path = "../swc_common" }
swc_config = { version = "3.1.1", path = "../swc_config", features = ["regex"] }
swc_css_ast = { version = "14.0.0", path = "../swc_css_ast", optional = true }
swc_css_codegen = { version = "14.0.0", path = "../swc_css_codegen", optional = true }
swc_css_minifier = { version = "14.0.0", path = "../swc_css_minifier", optional = true }
swc_css_parser = { version = "14.0.0", path = "../swc_css_parser", optional = true }
swc_ecma_ast = { version = "14.0.0", path = "../swc_ecma_ast" }
swc_ecma_codegen = { version = "16.0.0", path = "../swc_ecma_codegen", features = [
  "serde-impl",
] }
swc_ecma_minifier = { version = "29.0.0", path = "../swc_ecma_minifier", features = [
  "extra-serde",
] }
swc_ecma_parser = { version = "22.0.3", path = "../swc_ecma_parser", default-features = false, features = ["typescript"] }
swc_ecma_transforms_base = { version = "24.0.0", path = "../swc_ecma_transforms_base" }
swc_ecma_visit = { version = "14.0.0", path = "../swc_ecma_visit" }
swc_html_ast = { version = "14.0.0", path = "../swc_html_ast" }
swc_html_codegen = { version = "14.0.0", path = "../swc_html_codegen" }
swc_html_parser = { version = "14.0.0", path = "../swc_html_parser" }
swc_html_utils = { version = "14.0.0", path = "../swc_html_utils" }
swc_html_visit = { version = "14.0.0", path = "../swc_html_visit" }

[dev-dependencies]
swc_malloc = { version = "1.2.3", path = "../swc_malloc" }
testing    = { version = "15.0.0", path = "../testing" }