-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
88 lines (76 loc) · 2.23 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
name = "darklua"
version = "0.15.0"
authors = ["jeparlefrancais <[email protected]>"]
edition = "2018"
readme = "README.md"
description = "Transform Lua scripts"
repository = "https://github.com/seaofvoices/darklua"
homepage = "https://darklua.com"
license = "MIT"
keywords = ["lua", "obsfucation", "minify"]
exclude = ["site"]
[badges]
github = { repository = "seaofvoices/darklua" }
[lib]
name = "darklua_core"
path = "src/lib.rs"
[[bin]]
name = "darklua"
path = "src/bin.rs"
[features]
tracing = ["dep:tracing"]
[dependencies]
anstyle = "1.0.10"
clap = { version = "4.5.23", features = ["derive"] }
durationfmt = "0.1.1"
elsa = "1.10.0"
env_logger = "0.11.5"
full_moon = { version = "1.0.0", features = ["roblox"] }
json5 = "0.4.1"
log = "0.4.22"
pathdiff = "0.2.3"
petgraph = "0.6.5"
regex = "1.11.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.134"
serde_yaml = "0.9.33"
toml = "0.8.19"
tracing = { version = "0.1", optional = true }
wax = "0.5.0"
xxhash-rust = { version = "0.8.12", features = ["xxh3"] }
[dev-dependencies]
assert_cmd = "2.0.16"
criterion = { version = "0.5.1", features = ["html_reports"] }
include_dir = "0.7.4"
insta = { version = "1.36.1", features = ["json", "filters"] }
paste = "1.0.15"
pretty_assertions = "1.4.1"
rand = "0.8.5"
rand_distr = "0.4.3"
serde_bytes = "0.11.15"
tempfile = "3.14.0"
tracing-subscriber = "0.3.18"
tracing-tracy = "0.11.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-time = "1.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ctrlc = { version = "3.4.5", features = ["termination"] }
notify = "7.0.0"
notify-debouncer-full = "0.4.0"
# This is needed because when runnin `cargo test`, the library and its
# dependencies are build with the `dev` profile. To make sure full_moon
# does not stack overflow when parsing complex code, it needs to be compiled
# at optimization level 3 (which is what release mode uses)
# Info about profiles can be found there:
# https://doc.rust-lang.org/cargo/reference/profiles.html
[profile.dev.package.full_moon]
opt-level = 3
[[bench]]
name = "process_bench"
harness = false
[[bench]]
name = "parse_bench"
harness = false
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] }