From ce65d9eeafcd1f9d5c3adef1c9b1af6258ee711a Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Sun, 1 Feb 2026 13:33:07 +0200 Subject: feat: conn to db --- Cargo.toml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 3112380..de917e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,3 +7,33 @@ description = "A federated marketplace platform" homepage = "https://git.kanjala.com/sellershut" [dependencies] +anyhow = "1.0.100" +axum = "0.8.8" +clap = { version = "4.5.56", features = ["derive", "env"] } +serde = { version = "1.0.228", features = ["derive"] } +tokio = { version = "1.49.0", features = ["rt-multi-thread", "macros", "signal"] } +toml = "0.9.11" +tracing = "0.1.44" +tracing-subscriber = { version = "0.3.22", features = ["env-filter"] } +url = { version = "2.5.8", features = ["serde"] } +utoipa = "5.4.0" +utoipa-rapidoc = { version = "6.0.0", optional = true } +utoipa-redoc = { version = "6.0.0", optional = true } +utoipa-scalar = { version = "0.3.0", optional = true } +utoipa-swagger-ui = { version = "9.0.2", optional = true } + +[dependencies.sqlx] +version = "0.8.6" +default-features = false +features = ["postgres", "runtime-tokio-rustls"] + +[features] +default = ["oauth-discord"] +oauth-discord = [] +utoipa-rapidoc = ["dep:utoipa-rapidoc"] +utoipa-redoc = ["dep:utoipa-redoc"] +utoipa-scalar = ["dep:utoipa-scalar"] +utoipa-swagger-ui = ["dep:utoipa-swagger-ui"] + +[profile.dev.package.sqlx-macros] +opt-level = 3 -- cgit v1.2.3