-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (64 loc) · 2.27 KB
/
Cargo.toml
File metadata and controls
73 lines (64 loc) · 2.27 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
[package]
name = "shaysbot"
version = "0.16.1"
authors = ["Shayne Hartford <shaybox@shaybox.com>"]
edition = "2024"
description = "My personal Minecraft bot using Azalea"
readme = "README.md"
homepage = "https://git.shaybox.com/shaysbot/releases/latest"
repository = "https://github.com/ShayBox/ShaysBot"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[patch.'https://github.com/azalea-rs/azalea']
azalea = { git = "https://github.com/Shays-Forks/azalea" }
#azalea = { path = "../azalea/azalea" }
[patch.crates-io]
ncr = { git = "https://github.com/Shays-Forks/ncr-rs", rev = "4004292" }
[dependencies]
anyhow = "1"
azalea = { git = "https://github.com/azalea-rs/azalea", default-features = false, features = ["packet-event", "serde", "online-mode"] }
azalea-viaversion = { git = "https://github.com/azalea-rs/azalea-viaversion", optional = true }
#azalea-viaversion = { path = "../azalea-viaversion", optional = true }
base64 = "0.22"
bevy-discord = { version = "0.7.0", features = ["bot"], optional = true }
bounded-counter = { version = "0.1", features = ["deref", "deref_mut"] }
chrono = "0.4"
derive_more = { version = "2", features = ["full"] }
fastrand = "2"
itertools = "0.14"
lazy-regex = "3"
ncr = { version = "0.1", features = ["cfb8", "ecb", "gcm"] }
parking_lot = "0.12"
semver = "1"
serde = "1"
serde_tuple = "1"
serde_with = "3"
serde_yml = "0.0.12"
serenity = { version = "0.12", optional = true }
smart-default = "0.7"
str-macro = "1"
strum = { version = "0.27", features = ["derive"] }
terminal-link = "0.1"
tiny_http = { version = "0.12", optional = true }
tokio = { version = "1", features = ["full"] }
toml = "0.9"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
ureq = { version = "3", features = ["json"] }
uuid = "1"
[features]
default = ["api", "bot", "via"]
api = ["dep:tiny_http"]
bot = ["dep:bevy-discord", "dep:serenity"]
via = ["dep:azalea-viaversion"]
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
multiple_crate_versions = "allow"
needless_pass_by_value = "allow"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(bevy_lint)"] }
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3