This repository has been archived by the owner on Dec 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
150 lines (110 loc) · 2.89 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[package]
name = "swarm-bot"
version = "0.4.1"
edition = "2021"
description = "A autonomous bot launcher for Minecraft"
license = "MIT"
readme = "README.md"
authors = ["Andrew Gazelka <andrew.gazelka@gmail.com>"]
repository = "https://github.com/andrewgazelka/SwarmBot"
homepage = "https://github.com/andrewgazelka/SwarmBot"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# parsing arguments
clap = { version = "4.4.10", features = ["derive"] }
# reading from csv
csv = "1.3"
# serialization, deserialization
serde = { version = "1.0", features = ["derive"] }
# socks5
tokio-socks = "0.5"
# tokio
tokio = { version = "1.34", features = [
"rt",
"io-std",
"io-util",
"sync",
"parking_lot",
] }
# dns
trust-dns-resolver = "0.23"
# encryption
aes = "0.8.3"
# zlib
#flate2 = {version = "1.0"}
flate2 = { version = "1.0", features = [
"zlib-ng-compat",
], default-features = false }
# get_u8, etc extensions
bytes = "1.5"
# threads
rayon = "1.8"
# mojang https api
reqwest = { version = "0.11", features = ["json", "socks"] }
# for minecraft auth RSA response
rsa-der = "0.3"
rsa = { version = "0.9", features = ["pkcs5"] }
# used for RSA and random generation
rand = "0.8"
# mojang hash
num-bigint = "0.4"
# mojang hash
sha1 = "0.10"
# json parsing (particularly for mojang api)
serde_json = "1.0"
# quite a few uses
itertools = "0.11"
# for data storage
# chat parsing
regex = "1.10"
# efficient hashmap
indexmap = { version = "2.1", features = ["std"] }
float-ord = "0.3"
# for num casting
num = "0.4"
# for printing stuff out
crossterm = "0.27"
colored = "2.0"
# for small stack-allocated arrays
smallvec = { version = "1.11", features = ["const_generics"] }
# for parsing nbt
hematite-nbt = "0.5"
swarm-bot-packets = { path = "packets", version = "0.2.0" }
# so we don't have to use v-tables
tokio-tungstenite = "0.20.1"
futures = "0.3"
interfaces = { package = "swarmbot-interfaces", path = "interfaces", version = "0.1.2" }
anyhow = "1.0.75"
bincode = "2.0.0-rc.3"
hex-literal = "0.4.1"
cfb8 = "0.8"
tokio-stream = "0.1.14"
once_cell = { version = "1.18.0", features = ["parking_lot"] }
async-trait = "0.1.74"
tungstenite = "0.20.1"
generic-array = "1.0.0"
typenum = "1.17.0"
rustix = "0.38.25"
tracing = "0.1.40"
[dev-dependencies]
assert_matches = "1.5"
more-asserts = "0.3"
primes = "0.3"
rustix = "0.38.25"
[workspace]
members = ["packets", "interfaces", "swarmbot-cli"]
[profile.dev]
#split-debuginfo = "unpacked"
#opt-level = 1
#[profile.release]
#lto = "fat"
#codegen-units = 1
[lints.clippy]
complexity = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
perf = { level = "deny", priority = -1 }
style = { level = "deny", priority = -1 }
suspicious = { level = "deny", priority = -1 }
module_name_repetitions = "allow"
future_not_send = "allow"