From 4b481e0b509729075fcd8c6b6eceadb8b5aa9110 Mon Sep 17 00:00:00 2001 From: muji Date: Fri, 1 Dec 2023 15:13:03 +0800 Subject: [PATCH] The probly-search dependency is optional. Only enabled when the search feature flag is on. --- workspace/sdk/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workspace/sdk/Cargo.toml b/workspace/sdk/Cargo.toml index 3c5602233b..fe7d603de5 100644 --- a/workspace/sdk/Cargo.toml +++ b/workspace/sdk/Cargo.toml @@ -21,7 +21,7 @@ files = [] mem-fs = ["sos-vfs/mem-fs"] recovery = ["dep:vsss-rs"] test-utils = ["dep:anyhow"] -search = [] +search = ["dep:probly-search"] security-report = [] [dependencies] @@ -84,6 +84,7 @@ vsss-rs = {version = "3", optional = true } [dependencies.probly-search] version = "2.0.0-alpha-2" +optional = true #path = "../../../../forks/probly-search" #git = "https://github.com/tmpfs/probly-search/" #branch = "multi-field"