summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-11-23 10:22:32 +0200
committerrtkay123 <dev@kanjala.com>2025-11-23 10:22:32 +0200
commit56a3de7433c2a1735df19f79b9e7c185ef456f88 (patch)
tree80b42f7d885e6ec3a1e07b413b93581b0430ecd3
parent2dce7add8564441bde4ee2bbf0fd099c8d6ce7db (diff)
downloadsellershut-56a3de7433c2a1735df19f79b9e7c185ef456f88.tar.bz2
sellershut-56a3de7433c2a1735df19f79b9e7c185ef456f88.zip
refactor: restructure workspace
-rw-r--r--Cargo.toml13
-rw-r--r--crates/sellershut/Cargo.toml10
-rw-r--r--crates/sellershut/src/main.rs (renamed from src/main.rs)0
3 files changed, 14 insertions, 9 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 7440fcb..79364b4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,6 @@
-[package]
-name = "sellershut"
-version = "0.1.0"
-edition = "2024"
+[workspace]
+resolver = "3"
+members = ["crates/*"]
[workspace.package]
license = "AGPL-3.0-only"
@@ -9,8 +8,4 @@ homepage = "https://git.kanjala.com/sellershut"
documentation = "https://books.kanjala.com/sellershut"
description = "A federated marketplace platform"
-[workspace]
-resolver = "3"
-members = ["."]
-
-[dependencies]
+[workspace.dependencies]
diff --git a/crates/sellershut/Cargo.toml b/crates/sellershut/Cargo.toml
new file mode 100644
index 0000000..e964cf7
--- /dev/null
+++ b/crates/sellershut/Cargo.toml
@@ -0,0 +1,10 @@
+[package]
+name = "sellershut"
+version = "0.1.0"
+edition = "2024"
+license.workspace = true
+homepage.workspace = true
+documentation.workspace = true
+description.workspace = true
+
+[dependencies]
diff --git a/src/main.rs b/crates/sellershut/src/main.rs
index e7a11a9..e7a11a9 100644
--- a/src/main.rs
+++ b/crates/sellershut/src/main.rs