[workspace] members = [ "calc" ] [workspace.package] authors = ["Nathan Perry "] edition = "2024" [package] name = "thulani" version = "0.4.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:tokio-postgres", "dep:deadpool-postgres"] games = [] windows_autostart_postgres = [] [workspace.dependencies] lazy_static = "1.5" rand = "0.9" 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 = "2.0" url = "2.5" dotenv = "0.15" chrono = "0.4" reqwest = { version = "0.12", features = ["json"] } sha1 = { version = "0.10", features = ["std"] } regex = "1.10" itertools = "0.14" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" timeago = "0.5" fnv = "1.0" dashmap = "6.0" humantime = "2.1" uuid = "1.10" clap = { version = "4.5", features = ["derive"] } envconfig = "0.10" tap = "1.0" tokio = { version = "1.48", features = ["full"] } songbird = { version = "0.5", features = ["builtin-queue"] } symphonia = { version = "0.5", features = ["all"] } # reminder: needed for songbird formats poise = "0.6" diesel = { version = "2.3", features = ["chrono"], optional = true } diesel_migrations = "2.3" diesel-async = { version = "0.7", optional = true, features = ["deadpool", "postgres", "migrations"] } tokio-postgres = { version = "0.7", optional = true, features = ["with-chrono-0_4"] } deadpool-postgres = { version = "0.14", 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.62", 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