From 45ec0d260ef9afe2cab1c09c728c9f88d21e1942 Mon Sep 17 00:00:00 2001 From: voidarc Date: Mon, 16 Nov 2026 13:42:30 +0000 Subject: [PATCH] initial workspace --- Cargo.toml | 9 ++++----- backend/Cargo.toml | 6 ++++++ backend/src/lib.rs | 0 frontend/Cargo.toml | 6 ++++++ {src => frontend/src}/main.rs | 0 5 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 backend/Cargo.toml create mode 100644 backend/src/lib.rs create mode 100644 frontend/Cargo.toml rename {src => frontend/src}/main.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 47d784f..58dab39 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,5 @@ -[package] -name = "search-engine" -version = "0.1.0" -edition = "2024" +[workspace] +members = ["frontend", "backend"] +default-members = ["frontend"] +resolver = "3" -[dependencies] diff --git a/backend/Cargo.toml b/backend/Cargo.toml new file mode 100644 index 0000000..2927186 --- /dev/null +++ b/backend/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "backend" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/backend/src/lib.rs b/backend/src/lib.rs new file mode 100644 index 0000000..e69de29 diff --git a/frontend/Cargo.toml b/frontend/Cargo.toml new file mode 100644 index 0000000..fdcf40d --- /dev/null +++ b/frontend/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "frontend" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/src/main.rs b/frontend/src/main.rs similarity index 100% rename from src/main.rs rename to frontend/src/main.rs