about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock10
-rw-r--r--Cargo.toml8
-rw-r--r--client/Cargo.toml12
-rw-r--r--client/src/main.rs3
-rw-r--r--crawler/Cargo.toml12
-rw-r--r--crawler/src/main.rs3
-rw-r--r--indexer/Cargo.toml12
-rw-r--r--indexer/src/main.rs3
-rw-r--r--src/main.rs3
9 files changed, 56 insertions, 10 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 21b8418..b9c356f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,5 +3,13 @@
 version = 3
 
 [[package]]
-name = "search-index"
+name = "client"
+version = "0.1.0"
+
+[[package]]
+name = "crawler"
+version = "0.1.0"
+
+[[package]]
+name = "indexer"
 version = "0.1.0"
diff --git a/Cargo.toml b/Cargo.toml
index d00ac87..36b7c3f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,8 +1,4 @@
-[package]
-name = "search-index"
-version = "0.1.0"
-edition = "2021"
-
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
-[dependencies]
+[workspace]
+members = [ "crawler", "indexer", "client" ]
diff --git a/client/Cargo.toml b/client/Cargo.toml
new file mode 100644
index 0000000..1cd3c2a
--- /dev/null
+++ b/client/Cargo.toml
@@ -0,0 +1,12 @@
+[package]
+name = "client"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+
+[[bin]]
+name = "client"
+path = "src/main.rs"
diff --git a/client/src/main.rs b/client/src/main.rs
new file mode 100644
index 0000000..ccf0d30
--- /dev/null
+++ b/client/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+    println!("Hello, world! Im the client!");
+}
diff --git a/crawler/Cargo.toml b/crawler/Cargo.toml
new file mode 100644
index 0000000..7fbf8b9
--- /dev/null
+++ b/crawler/Cargo.toml
@@ -0,0 +1,12 @@
+[package]
+name = "crawler"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+
+[[bin]]
+name = "crawler"
+path = "src/main.rs"
diff --git a/crawler/src/main.rs b/crawler/src/main.rs
new file mode 100644
index 0000000..b95ce69
--- /dev/null
+++ b/crawler/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+    println!("Hello, world! Im the crawler!");
+}
diff --git a/indexer/Cargo.toml b/indexer/Cargo.toml
new file mode 100644
index 0000000..46846bd
--- /dev/null
+++ b/indexer/Cargo.toml
@@ -0,0 +1,12 @@
+[package]
+name = "indexer"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+
+[[bin]]
+name = "indexer"
+path = "src/main.rs"
diff --git a/indexer/src/main.rs b/indexer/src/main.rs
new file mode 100644
index 0000000..33ec668
--- /dev/null
+++ b/indexer/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+    println!("Hello, world! Im the indexer!");
+}
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!");
-}