From 56a3de7433c2a1735df19f79b9e7c185ef456f88 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Sun, 23 Nov 2025 10:22:32 +0200 Subject: refactor: restructure workspace --- Cargo.toml | 13 ++++--------- crates/sellershut/Cargo.toml | 10 ++++++++++ crates/sellershut/src/main.rs | 3 +++ src/main.rs | 3 --- 4 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 crates/sellershut/Cargo.toml create mode 100644 crates/sellershut/src/main.rs delete mode 100644 src/main.rs 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/crates/sellershut/src/main.rs b/crates/sellershut/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/crates/sellershut/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -} -- cgit v1.2.3