-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
38 lines (31 loc) · 789 Bytes
/
Cargo.toml
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
[package]
name = "minifier"
version = "0.3.2"
authors = ["Guillaume Gomez <[email protected]>"]
description = "Minifier tool/lib for JS/CSS/JSON files"
repository = "https://github.com/GuillaumeGomez/minifier-rs"
documentation = "https://docs.rs/minifier-rs"
readme = "README.md"
keywords = ["minify", "minifier", "JS", "HTML", "CSS"]
license = "MIT"
edition = "2021"
[features]
default = ["clap"]
html = ["regex"]
[dependencies]
clap = { version = "4.5.13", features = ["cargo"], optional = true }
regex = { version = "1.5.5", optional = true }
[lib]
name = "minifier"
[[bin]]
name = "minifier"
doc = false
required-features = ["clap"]
[profile.release]
lto = true
strip = true
codegen-units = 1
opt-level = 3
[profile.release.package."*"]
codegen-units = 1
opt-level = 3