aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-08-06 10:45:06 -0400
committerNathan Perry <np@nathanperry.dev>2024-08-06 10:45:06 -0400
commit72d9bbe15220c21909dec8e30fb80729a24cec72 (patch)
tree5025c799e3065553c1e6a91b82cb2eae8e00c43e /Cargo.toml
parent9319e0b9987114ffef2cc2be2d00f127925ba3a8 (diff)
first pass convert to poise
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index fa9aac5..f3f28e6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,6 +3,11 @@ name = "thulani"
version = "0.2.0"
authors = ["Nathan Perry <np@npry.dev>"]
edition = "2021"
+default-run = "thulani"
+
+[[bin]]
+name = "batch_delmeme"
+required-features = ["db"]
[features]
default = ["db", "games"]
@@ -32,6 +37,8 @@ timeago = "0.4"
statrs = "0.16"
fnv = "1.0"
+clap = { version = "4.5", features = ["derive"] }
+
pest = "2.7"
pest_derive = "2.7"
@@ -45,6 +52,8 @@ 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 }
@@ -56,3 +65,9 @@ version = "0.12"
default-features = false
features = ["builder", "cache", "client", "framework", "gateway", "http", "model", "utils", "voice", "standard_framework", "rustls_backend"]
+[profile.release]
+codegen-units = 1
+lto = "fat"
+overflow-checks = false
+debug-assertions = false
+opt-level = 3