-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathCargo.toml
More file actions
131 lines (115 loc) · 3.1 KB
/
Copy pathCargo.toml
File metadata and controls
131 lines (115 loc) · 3.1 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
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
[package]
name = "tts_bot"
version = "0.1.0"
edition = "2024"
rust-version = "1.94"
[workspace]
members = [
"tts_core",
"tts_commands",
"tts_events",
"tts_tasks",
"tts_migrations",
]
[profile.release]
lto = "thin"
panic = "abort"
debug = 2
[profile.dev]
panic = "abort"
package = { syn = { opt-level = 3 } }
[lints]
workspace = true
[dependencies]
const_format = "0.2"
jemallocator = "0.5.4"
rand.workspace = true
bytes.workspace = true
serde.workspace = true
tokio.workspace = true
poise.workspace = true
anyhow.workspace = true
sysinfo.workspace = true
tracing.workspace = true
reqwest.workspace = true
dashmap.workspace = true
mini-moka.workspace = true
parking_lot.workspace = true
tokio-tungstenite.workspace = true
small-fixed-array.workspace = true
tts_core = { path = "tts_core" }
tts_tasks = { path = "tts_tasks" }
tts_events = { path = "tts_events" }
tts_commands = { path = "tts_commands" }
tts_migrations = { path = "tts_migrations" }
[workspace.dependencies]
regex = "1"
anyhow = "1"
rand = "0.10"
bytes = "1.11.1"
serde = "1.0.209"
tracing = "0.1"
sysinfo = "0.38"
aformat = "0.1.3"
itertools = "0.14"
arrayvec = "0.7.6"
parking_lot = "0.12"
mini-moka = { version = "0.10.3", features = ["sync"] }
serde_json = { version = "1.0.149", default-features = false }
tokio-tungstenite = { version = "0.28.0", default-features = false }
small-fixed-array = { version = "0.4.5", features = ["nightly", "to-arraystring"] }
# TODO: Remove `dashmap` once mini_moka releases a breaking version with dashmap 6.
typesize = { version = "0.1.9", features = ["arrayvec", "dashmap", "details"] }
[workspace.dependencies.sqlx]
version = "0.9.0"
default-features = false
features = ["macros", "postgres", "runtime-tokio", "tls-rustls-aws-lc-rs"]
[workspace.dependencies.reqwest]
version = "0.13"
default-features = false
features = ["rustls", "http2", "gzip", "brotli", "zstd", "deflate"]
[workspace.dependencies.tokio]
version = "1.39.3"
features = ["rt-multi-thread", "signal", "parking_lot"]
[workspace.dependencies.dashmap]
version = "6.1.0"
default-features = false
[workspace.dependencies.serenity]
git = "https://github.com/serenity-rs/serenity"
default-features = false
branch = "next"
features = [
"voice",
"typesize",
"temp_cache",
"tokio_task_builder",
"transport_compression_zstd",
"rustls_backend_no_provider"
]
[workspace.dependencies.poise]
git = "https://github.com/serenity-rs/poise"
features = ["cache", "chrono"]
default-features = false
branch = "serenity-next"
[workspace.lints.rust]
rust_2018_idioms = "warn"
missing_copy_implementations = "warn"
noop_method_call = "warn"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
cast_sign_loss = "allow"
cast_possible_wrap = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
unreadable_literal = "allow"
wildcard_imports = "allow"
too_many_lines = "allow"
similar_names = "allow"
missing_panics_doc = "allow"
missing_errors_doc = "allow"
map_unwrap_or = "allow"
[package.metadata.cargo-machete]
ignored = [
"const_format", # Used by database initialisation in macro
"symphonia", # Enabled for the features
]