From de92429af89ff5024772d8954338f8289330293a Mon Sep 17 00:00:00 2001 From: miratepuffin Date: Tue, 2 Jul 2024 00:45:59 +0100 Subject: [PATCH] add python dep on search/vectors1# --- raphtory/Cargo.toml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/raphtory/Cargo.toml b/raphtory/Cargo.toml index 71419c6c06..93dcf2c83d 100644 --- a/raphtory/Cargo.toml +++ b/raphtory/Cargo.toml @@ -101,10 +101,18 @@ io = [ "dep:reqwest", "dep:tokio", ] + +# search +search = ["dep:tantivy"] +# vectors +vectors = ["dep:futures-util", "dep:async-trait", "dep:async-openai"] + # Enables generating the pyo3 python bindings python = [ "io", "arrow", + "search", + "vectors", "dep:pyo3", "dep:num", "dep:display-error-chain", @@ -113,10 +121,7 @@ python = [ "dep:kdam", "dep:rpds", ] -# search -search = ["dep:tantivy"] -# vectors -vectors = ["dep:futures-util", "dep:async-trait", "dep:async-openai"] + # storage storage = [ "arrow",