-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (65 loc) · 1.65 KB
/
Cargo.toml
File metadata and controls
69 lines (65 loc) · 1.65 KB
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
[package]
name = "js-beautify-rs"
version = "0.1.0"
edition = "2024"
autobins = false
description = "A fast JavaScript beautifier and deobfuscator powered by oxc"
license = "MIT"
repository = "https://github.com/coleleavitt/js-beautify-rs"
readme = "README.md"
keywords = ["javascript", "beautifier", "deobfuscator", "webpack", "oxc"]
categories = ["command-line-utilities", "development-tools"]
exclude = [
"research/",
"instructions.md",
"SESSION_SUMMARY.md",
"PHASE6_PROGRESS.md",
"QUICK_REFERENCE.md",
"IMPROVEMENTS.md",
"AST_ARCHITECTURE.md",
"tests/",
"examples/",
".idea/",
".ruff_cache/",
"src/bin/test_ast_deob.rs",
"src/bin/test_oxc_parse.rs",
]
[[bin]]
name = "jsbeautify"
path = "src/bin/jsbeautify.rs"
[lints.rust]
rust_2018_idioms = "warn"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
needless_pass_by_ref_mut = "allow"
needless_lifetimes = "allow"
unused_self = "allow"
multiple_crate_versions = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_precision_loss = "allow"
cast_lossless = "allow"
float_cmp = "allow"
significant_drop_tightening = "allow"
[dependencies]
regex = "1"
lazy_static = "1.4"
thiserror = "2.0.17"
base64 = "0.22"
rc4 = "0.1.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rustc-hash = "2"
oxc_allocator = "0.124.0"
oxc_ast = "0.124.0"
oxc_ast_visit = "0.124.0"
oxc_parser = "0.124.0"
oxc_semantic = "0.124.0"
oxc_span = "0.124.0"
oxc_syntax = "0.124.0"
oxc_traverse = "0.124.0"
oxc_codegen = "0.124.0"
oxc_cfg = "0.124.0"
clap = { version = "4.5.57", features = ["derive"] }
md5 = "0.7"