diff --git a/Cargo.lock b/Cargo.lock index 8100c97..de0d55e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2831,6 +2831,7 @@ dependencies = [ name = "server" version = "0.3.13" dependencies = [ + "anyhow", "bcrypt", "chrono", "common", @@ -2847,6 +2848,7 @@ dependencies = [ "sqlx", "steel-core", "steel-derive 0.5.0 (git+https://github.com/mattwparas/steel.git?branch=master)", + "tantivy", "thiserror 2.0.12", "time", "tokio", diff --git a/Cargo.toml b/Cargo.toml index 702f077..1a875ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,4 +36,7 @@ dotenvy = "0.15.7" lazy_static = "1.5.0" tracing = "0.1.41" +# Search crate +tantivy = "0.24.1" + common = { path = "./common" } diff --git a/search/Cargo.toml b/search/Cargo.toml index e3eeeb1..a16a5dd 100644 --- a/search/Cargo.toml +++ b/search/Cargo.toml @@ -12,6 +12,6 @@ serde_json = { workspace = true } tokio = { workspace = true } tonic = { workspace = true } tracing = { workspace = true } +tantivy = { workspace = true } common = { path = "../common" } -tantivy = "0.24.1" diff --git a/server/Cargo.toml b/server/Cargo.toml index a9e426e..0be5f73 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -8,6 +8,8 @@ license = "AGPL-3.0-or-later" common = { path = "../common" } search = { path = "../search" } +anyhow = { workspace = true } +tantivy = { workspace = true } chrono = { version = "0.4.40", features = ["serde"] } dotenvy = "0.15.7" prost = "0.13.5" diff --git a/server/src/bin/mod.rs b/server/src/bin/mod.rs deleted file mode 100644 index 740a433..0000000 --- a/server/src/bin/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -// src/bin/mod.rs - -pub mod manual_indexer;