From 69fe55ad54468948c13af520a498ed4aeac194ed Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Thu, 17 Jul 2025 14:00:40 +0200 Subject: chore: convert to workspace --- Cargo.toml | 38 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 22 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 8bdf694..df00993 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,33 +1,27 @@ -[package] -name = "sellershut" -version = "0.1.0" +[workspace] +members = ["crates/*"] +resolver = "3" + +[workspace.package] license = "AGPL-3.0-only" -edition = "2024" homepage = "https://git.kanjala.com/sellershut" documentation = "https://books.kanjala.com/sellershut" description = "A federated marketplace platform" -[dependencies] -activitypub_federation = { version = "0.7.0-beta.5", default-features = false, features = ["axum"] } +[workspace.dependencies] anyhow = "1.0.98" async-trait = "0.1.88" -axum = { version = "0.8.4", features = ["macros"] } -clap = { version = "4.5.41", features = ["derive"] } -config = { version = "0.15.13", default-features = false, features = ["toml"] } -enum_delegate = "0.2.0" +axum = "0.8.4" +clap = "4.5.41" +config = { version = "0.15.13", default-features = false } nanoid = "0.4.0" -serde = { version = "1.0.219", features = ["derive"] } +serde = "1.0.219" serde_json = "1.0.140" -sqlx = { version = "0.8.6", features = ["macros", "migrate", "runtime-tokio", "time", "tls-rustls", "uuid"] } -tokio = { version = "1.46.1", features = ["macros", "rt-multi-thread", "signal"] } -tower-http = { version = "0.6.6", features = ["trace"] } +sqlx = "0.8.6" +stack-up = { git = "https://github.com/rtkay123/stack-up.git" } +tokio = "1.46.1" +tower = "0.5.2" +tower-http = "0.6.6" tracing = "0.1.41" url = "2.5.4" -uuid = { version = "1.17.0", features = ["v7"] } - -[dependencies.stack-up] -git = "https://github.com/rtkay123/stack-up.git" -features = ["api", "postgres", "tracing"] - -[dev-dependencies] -tower = { version = "0.5.2", features = ["util"] } +uuid = "1.17.0" -- cgit v1.2.3