-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (40 loc) · 1.24 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "mtsc"
version = "5.5.3"
edition = "2018"
authors = ["Trin Wasinger"] # <you@example.com>
license = "MIT"
[dependencies]
cfg-if = "1.0.0"
fancy-default = "0.1.0"
or_panic = { git = "https://github.com/SteveBeeblebrox/or_panic.git" }
clap = { version = "2.33.3", optional = true }
panic-message = { version = "0.3.0", optional = true }
backtrace = { version = "0.3.64", optional = true }
same-file = { version = "1.0.6", optional = true }
v8 = { version = "0.94.0", optional = true }
html5ever = { version = "0.26.0", optional = true }
cxx = { version = "1.0", optional = true }
serde = { version = "1.0", optional = true }
os-thread-local = { version = "0.1.3", optional = true}
[build-dependencies]
cc = "1.0.82"
reqwest = "0.11.18"
tokio = { version = "1", features = ["full"] }
cxx-build = "1.0"
[profile.release]
opt-level = "z"
codegen-units = 1
lto = true
strip = "debuginfo"
[features]
default=["preprocess","transpile","minify","html","cli"]
full=["transpile","compile","preprocess","minify","html"]
cli=["dep:clap","dep:panic-message","dep:backtrace","dep:same-file"]
common=["dep:v8","dep:os-thread-local"]
compile=["common"]
transpile=["common"]
minify=["common"]
preprocess=["dep:cxx"]
html=["dep:html5ever"]
serde=["dep:serde"]