From 0edd70778486a1388b59955912ef0483cdf08282 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 16 May 2022 10:28:47 +0100 Subject: [PATCH] Only include executor crate with parallel feature --- lib/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 674af9a1..937d9c94 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -7,7 +7,7 @@ authors = ["Tobie Morgan Hitchcock "] [features] default = ["parallel", "kv-tikv", "kv-echodb", "kv-yokudb"] -parallel = [] +parallel = ["executor"] kv-tikv = ["tikv"] kv-echodb = ["echodb"] kv-indxdb = ["indxdb"] @@ -22,7 +22,7 @@ chrono = { version = "0.4.19", features = ["serde"] } derive = { version = "0.1.2", package = "surrealdb-derive" } dmp = "0.1.1" echodb = { version = "0.3.0", optional = true } -executor = { version = "1.4.1", package = "async-executor" } +executor = { version = "1.4.1", package = "async-executor", optional = true } futures = "0.3.21" fuzzy-matcher = "0.3.7" geo = { version = "0.20.1", features = ["use-serde"] }