2023-12-04 00:35:42 -05:00
|
|
|
[package]
|
|
|
|
name = "rustbot"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2024-10-21 02:36:18 -04:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"events",
|
|
|
|
"jobs",
|
|
|
|
"library",
|
|
|
|
"tsclient"
|
|
|
|
]
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-12-05 18:45:15 -05:00
|
|
|
cargo_toml = "0.21.0"
|
2024-01-11 09:34:29 -05:00
|
|
|
poise = "0.6.1"
|
2024-10-21 02:36:18 -04:00
|
|
|
regex = "1.11.0"
|
|
|
|
serde = "1.0.210"
|
2024-11-27 05:50:28 -05:00
|
|
|
tokio = { version = "1.40.0", features = ["macros", "signal", "rt-multi-thread"] }
|
2024-10-21 02:36:18 -04:00
|
|
|
reqwest = { version = "0.12.8", features = ["native-tls-vendored"] }
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
rustbot_events = { path = "events" }
|
|
|
|
rustbot_lib = { path = "library" }
|
|
|
|
rustbot_tokens = { path = "tsclient" }
|
|
|
|
poise = { workspace = true }
|
|
|
|
rand = "0.8.5"
|
|
|
|
reqwest = { workspace = true }
|
|
|
|
serde = { workspace = true }
|
2024-12-04 08:32:58 -05:00
|
|
|
sysinfo = "0.33.0"
|
2024-10-21 02:36:18 -04:00
|
|
|
time = "0.3.36"
|
|
|
|
tokio = { workspace = true }
|
2024-08-01 00:51:43 -04:00
|
|
|
uptime_lib = "0.3.1"
|
2023-12-04 00:35:42 -05:00
|
|
|
|
2024-10-21 02:36:18 -04:00
|
|
|
[patch.crates-io]
|
|
|
|
poise = { git = "https://github.com/serenity-rs/poise", branch = "serenity-next" }
|
|
|
|
|
2024-08-09 18:19:59 -04:00
|
|
|
[features]
|
2024-10-21 02:36:18 -04:00
|
|
|
production = ["rustbot_lib/production", "rustbot_events/production"]
|
|
|
|
not_ready = ["rustbot_lib/not_ready"]
|
2024-08-09 18:19:59 -04:00
|
|
|
|
2023-12-04 00:35:42 -05:00
|
|
|
[[bin]]
|
|
|
|
name = "rustbot"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
opt-level = 0
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
[profile.release]
|
2024-03-13 05:27:16 -04:00
|
|
|
opt-level = 2
|
2023-12-04 00:35:42 -05:00
|
|
|
debug = false
|
2024-03-10 19:06:40 -04:00
|
|
|
strip = true
|