Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (77 loc) · 2.32 KB
/
Copy pathCargo.toml
File metadata and controls
95 lines (77 loc) · 2.32 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "mcdebug-launcher"
version = "26.5.0"
edition = "2021"
authors = ["Sails <sails@example.com>"]
license = "Apache-2.0"
description = "A command-line Minecraft launcher for developers, testers, and AI agents"
repository = "https://github.com/StarsailsClover/MCDebugLauncher"
keywords = ["minecraft", "launcher", "cli", "mod", "testing"]
categories = ["command-line-utilities", "development-tools"]
[[bin]]
name = "mdl"
path = "src/main.rs"
# Minimal parser-only library (see src/lib.rs): consumed by the cargo-fuzz
# targets in fuzz/. The binary is unaffected - main.rs keeps its own module
# tree, so these three files are compiled twice (bin + lib), which is fine
# for pure parsers.
[lib]
path = "src/lib.rs"
[dependencies]
# CLI framework
clap = { version = "4.5", features = ["derive", "cargo", "env"] }
# Async runtime
tokio = { version = "1.40", features = ["full"] }
# HTTP client
reqwest = { version = "0.12", features = ["json", "stream"] }
# JSON serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# XML parsing
serde-xml-rs = "0.6"
# Configuration
toml = "0.8"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# File operations
sha1 = "0.10"
sha2 = "0.10"
zip = "2.2"
walkdir = "2.5"
# Java runtime archive extraction (tar.gz on Linux/macOS)
tar = "0.4"
flate2 = "1.0"
# Utilities
chrono = { version = "0.4", features = ["serde"] }
dirs = "5.0"
regex = "1.10"
sysinfo = "0.30"
indicatif = "0.17"
console = "0.15"
# HTTP server
axum = { version = "0.7", features = ["ws"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
futures-util = "0.3"
# Image encoding (screenshot PNG output)
image = { version = "0.25", default-features = false, features = ["png"] }
# Base64 encoding for screenshot API responses
base64 = "0.22"
[target.'cfg(windows)'.dependencies]
# High-performance window capture via Windows.Graphics.Capture
windows-capture = "2"
# Win32 API for process termination in the idle watchdog
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_Threading", "Win32_System_LibraryLoader"] }
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.13"
mockito = "1.5"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true