Rustbot/Cargo.toml

55 lines
1.1 KiB
TOML
Raw Normal View History

2023-12-04 00:35:42 -05:00
[package]
name = "rustbot"
version = "0.1.0"
2024-12-11 12:44:42 -05:00
edition = "2024"
2023-12-04 00:35:42 -05:00
[workspace]
members = [
2024-12-11 11:01:44 -05:00
"cmds",
"events",
"jobs",
"library",
"tsclient"
]
[workspace.dependencies]
cargo_toml = "0.21.0"
poise = "0.6.1"
2024-12-11 12:44:42 -05:00
regex = "1.11.1"
serde = "1.0.216"
2024-12-11 11:01:44 -05:00
rand = "0.8.5"
sysinfo = "0.33.0"
2024-12-11 12:44:42 -05:00
time = "0.3.37"
2024-12-11 11:01:44 -05:00
uptime_lib = "0.3.1"
2024-12-11 12:44:42 -05:00
tokio = { version = "1.42.0", features = ["macros", "signal", "rt-multi-thread"] }
reqwest = { version = "0.12.9", features = ["native-tls-vendored"] }
2024-12-11 11:01:44 -05:00
rustbot_lib = { path = "library" }
[dependencies]
2024-12-11 11:01:44 -05:00
poise = { workspace = true }
rustbot_cmds = { path = "cmds" }
rustbot_events = { path = "events" }
2024-12-11 11:01:44 -05:00
rustbot_lib = { workspace = true }
rustbot_tokens = { path = "tsclient" }
tokio = { workspace = true }
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