diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-05-10 20:17:31 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-05-10 20:17:31 -0400 |
| commit | 833f2bed24ab49f1c6242762b6d1e0be9192e870 (patch) | |
| tree | 6addb09b277a3559a0049b31d602b80cd977bdbc /Cargo.toml | |
| parent | c56dea4fbd53fde13efaf742ab9ee9d56575128a (diff) | |
wip
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -6,7 +6,7 @@ edition = "2021" [features] default = ["db", "games"] -db = ["diesel", "postgres", "r2d2_postgres", "diesel_migrations"] +db = ["dep:diesel", "dep:diesel-async", "dep:diesel_async_migrations", "dep:tokio-postgres", "dep:deadpool-postgres"] games = [] [dependencies] @@ -20,8 +20,6 @@ dotenv = "0.15" chrono = "0.4" time = "0.3" fern = { version = "0.6", features = ["colored"] } -diesel = { version = "2.1", features = ["postgres", "chrono", "r2d2"], optional = true } -ctrlc = { version = "3.4", features = ["termination"] } rand = "0.8" either = "1.10" reqwest = { version = "0.11", features = ["json"] } @@ -33,17 +31,25 @@ serde_json = "1.0" timeago = "0.4" statrs = "0.16" fnv = "1.0" + pest = "2.7" pest_derive = "2.7" -postgres = { version = "0.19", optional = true, features = ["with-chrono-0_4"] } -r2d2_postgres = { version = "0.18", optional = true } -diesel_migrations = { version = "2.1", optional = true } + envconfig = "0.10" envconfig_derive = "0.10" + tap = "1.0" + +tokio = { version = "1.37", features = ["full"] } + songbird = { version = "0.4", features = ["builtin-queue"] } -tokio = { version = "1.37", features = ["full"]} -symphonia = { version = "0.5", features = ["all"]} +symphonia = { version = "0.5", features = ["all"] } + +diesel = { version = "2.1", features = ["chrono"], optional = true } +diesel-async = { version = "0.4", optional = true, features = ["deadpool", "postgres"] } +diesel_async_migrations = { version = "0.12", optional = true } +tokio-postgres = { version = "0.7", optional = true } +deadpool-postgres = { version = "0.13", optional = true } [dependencies.serenity] version = "0.12" |
