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