aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3c8d901..8ccd283 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,9 +19,10 @@ name = "batch_delmeme"
required-features = ["db"]
[features]
-default = ["db", "games"]
+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"
@@ -76,6 +77,10 @@ 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"