Rustbot/Cargo.toml

54 lines
1.0 KiB
TOML
Raw Normal View History

2023-12-04 00:35:42 -05:00
[package]
name = "rustbot"
version = "0.1.0"
edition = "2021"
[workspace]
members = [
"events",
"jobs",
"library",
"tsclient"
]
[workspace.dependencies]
cargo_toml = "0.20.5"
poise = "0.6.1"
regex = "1.11.0"
serde = "1.0.210"
tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread"] }
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 }
sysinfo = "0.32.0"
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
[patch.crates-io]
poise = { git = "https://github.com/serenity-rs/poise", branch = "serenity-next" }
[features]
production = ["rustbot_lib/production", "rustbot_events/production"]
not_ready = ["rustbot_lib/not_ready"]
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
strip = true