aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2026-02-01 15:20:13 +0200
committerrtkay123 <dev@kanjala.com>2026-02-01 15:20:13 +0200
commit78f61ccdf66572d7432b5b627994038479103653 (patch)
tree3b752267d04d041c35efe5a9f5c732988179f020 /Cargo.toml
parentce65d9eeafcd1f9d5c3adef1c9b1af6258ee711a (diff)
downloadsellershut-78f61ccdf66572d7432b5b627994038479103653.tar.bz2
sellershut-78f61ccdf66572d7432b5b627994038479103653.zip
feat: oauth from config
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml42
1 files changed, 35 insertions, 7 deletions
diff --git a/Cargo.toml b/Cargo.toml
index de917e4..f80e8c9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,21 +1,46 @@
+[workspace]
+resolver = "3"
+members = [ ".", "lib/*" ]
+
+[workspace.package]
+description = "A federated marketplace platform"
+documentation = "https://books.kanjala.com/sellershut"
+homepage = "https://git.kanjala.com/sellershut"
+license = "AGPL-3.0-only"
+
+[workspace.dependencies]
+anyhow = "1.0.100"
+bon = "3.8.2"
+oauth2 = "5.0.0"
+rand = "0.9.2"
+secrecy = "0.10.3"
+serde = "1.0.228"
+thiserror = "2.0.18"
+tracing = "0.1.44"
+url = "2.5.8"
+
[package]
name = "sellershut"
version = "0.1.0"
edition = "2024"
-license = "AGPL-3.0-only"
-description = "A federated marketplace platform"
-homepage = "https://git.kanjala.com/sellershut"
+description.workspace = true
+documentation.workspace = true
+homepage.workspace = true
+license.workspace = true
[dependencies]
-anyhow = "1.0.100"
+anyhow.workspace = true
axum = "0.8.8"
clap = { version = "4.5.56", features = ["derive", "env"] }
-serde = { version = "1.0.228", features = ["derive"] }
+oauth2.workspace = true
+secrecy = { workspace = true, features = ["serde"] }
+sellershut-auth = { path = "lib/auth" }
+serde = { workspace = true, features = ["derive"] }
tokio = { version = "1.49.0", features = ["rt-multi-thread", "macros", "signal"] }
toml = "0.9.11"
-tracing = "0.1.44"
+tracing.workspace = true
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
-url = { version = "2.5.8", features = ["serde"] }
+url = { workspace = true, features = ["serde"] }
utoipa = "5.4.0"
utoipa-rapidoc = { version = "6.0.0", optional = true }
utoipa-redoc = { version = "6.0.0", optional = true }
@@ -37,3 +62,6 @@ utoipa-swagger-ui = ["dep:utoipa-swagger-ui"]
[profile.dev.package.sqlx-macros]
opt-level = 3
+
+[dev-dependencies]
+rand.workspace = true