2023-12-07 22:01:13 -05:00
|
|
|
[package]
|
|
|
|
name = "kon"
|
2024-12-06 09:33:55 -05:00
|
|
|
version = "0.6.0"
|
2024-12-02 08:17:58 -05:00
|
|
|
edition = "2024"
|
2023-12-07 22:01:13 -05:00
|
|
|
|
2024-12-06 09:33:55 -05:00
|
|
|
[workspace]
|
|
|
|
members = ["cmds", "libs", "repo", "tasks", "tokens"]
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-11-19 11:42:58 -05:00
|
|
|
bb8 = "0.8.6"
|
2024-09-21 12:49:01 -04:00
|
|
|
bb8-redis = "0.17.0"
|
2024-12-06 09:33:55 -05:00
|
|
|
cargo_toml = "0.21.0"
|
2024-11-19 11:42:58 -05:00
|
|
|
feed-rs = "2.2.0"
|
2024-10-08 02:25:07 -04:00
|
|
|
once_cell = "1.20.2"
|
2024-01-11 09:34:21 -05:00
|
|
|
poise = "0.6.1"
|
2024-11-19 11:42:58 -05:00
|
|
|
regex = "1.11.1"
|
|
|
|
reqwest = { version = "0.12.9", features = ["json", "native-tls-vendored"] }
|
|
|
|
serde = "1.0.215"
|
|
|
|
serde_json = "1.0.133"
|
2024-12-06 09:33:55 -05:00
|
|
|
sysinfo = "0.33.0"
|
|
|
|
tokio = { version = "1.42.0", features = ["macros", "signal", "rt-multi-thread"] }
|
2024-07-19 19:56:58 -04:00
|
|
|
uptime_lib = "0.3.1"
|
2024-12-06 09:33:55 -05:00
|
|
|
kon_libs = { path = "libs" }
|
|
|
|
kon_tokens = { path = "tokens" }
|
|
|
|
kon_repo = { path = "repo" }
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
kon_cmds = { path = "cmds" }
|
|
|
|
kon_libs = { workspace = true }
|
|
|
|
kon_tasks = { path = "tasks" }
|
|
|
|
kon_tokens = { workspace = true }
|
|
|
|
poise = { workspace = true }
|
|
|
|
tokio = { workspace = true }
|
2024-07-19 19:56:58 -04:00
|
|
|
|
2024-11-19 11:42:58 -05:00
|
|
|
[patch.crates-io]
|
|
|
|
poise = { git = "https://github.com/serenity-rs/poise", branch = "next" }
|
|
|
|
|
2024-07-19 19:56:58 -04:00
|
|
|
[features]
|
2024-12-06 09:33:55 -05:00
|
|
|
production = ["kon_libs/production", "kon_tasks/production"]
|
2023-12-07 22:01:13 -05:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "kon"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
opt-level = 0
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
[profile.release]
|
2024-03-13 05:09:09 -04:00
|
|
|
opt-level = 2
|
2023-12-07 22:01:13 -05:00
|
|
|
debug = false
|
2024-03-10 19:04:12 -04:00
|
|
|
strip = true
|