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
|
[workspace]
members = [
"calc"
]
[workspace.package]
authors = ["Nathan Perry <np@npry.dev>"]
edition = "2021"
[package]
name = "thulani"
version = "0.3.1"
edition.workspace = true
authors.workspace = true
default-run = "thulani"
[[bin]]
name = "batch_delmeme"
required-features = ["db"]
[[bin]]
name = "convert_null_guilds"
required-features = ["db"]
[features]
default = ["db", "games", "windows_autostart_postgres"]
db = ["dep:diesel", "dep:diesel-async", "dep:diesel_async_migrations", "dep:tokio-postgres", "dep:deadpool-postgres"]
games = []
windows_autostart_postgres = []
[workspace.dependencies]
lazy_static = "1.4"
rand = "0.8"
grate = { git = "https://pub.npry.dev/grate" }
thulani_calc.path = "calc"
[dependencies]
lazy_static.workspace = true
rand.workspace = true
thulani_calc.workspace = true
grate.workspace = true
anyhow = "1.0"
thiserror = "1.0"
url = "2.5"
dotenv = "0.15"
chrono = "0.4"
time = "0.3"
reqwest = { version = "0.11", features = ["json"] }
sha1 = { version = "0.10", features = ["std"] }
regex = "1.10"
itertools = "0.12"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
timeago = "0.4"
fnv = "1.0"
clap = { version = "4.5", features = ["derive"] }
envconfig = "0.10"
envconfig_derive = "0.10"
tap = "1.0"
tokio = { version = "1.37", features = ["full"] }
songbird = { version = "0.4", features = ["builtin-queue"] }
symphonia = { version = "0.5", features = ["all"] }
poise = { git = "https://pub.npry.dev/poise" }
diesel = { version = "2.1", features = ["chrono"], optional = true }
diesel-async = { version = "0.4", optional = true, features = ["deadpool", "postgres"] }
diesel_async_migrations = { version = "0.12", optional = true }
tokio-postgres = { version = "0.7", optional = true, features = ["with-chrono-0_4"] }
deadpool-postgres = { version = "0.13", optional = true }
[dependencies.serenity]
version = "0.12"
default-features = false
features = ["builder", "cache", "client", "framework", "gateway", "http", "model", "utils", "voice", "standard_framework", "rustls_backend"]
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.58", features = ["Win32_System_Services"] }
bytemuck = { version = "1.16", features = ["min_const_generics"] }
[profile.release]
codegen-units = 1
lto = "fat"
overflow-checks = false
debug-assertions = false
opt-level = 3
|