summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Masurel <paul.masurel@gmail.com>2019-09-04 13:10:12 +0900
committerGitHub <noreply@github.com>2019-09-04 13:10:12 +0900
commitd74f71bbef10bb5c98c65350277fcc3058d122e4 (patch)
tree0190997c88c8638d0c7c0a64b7b79871f2203978
parent5196ca41d86c52b48e6bed102bd6c1a44b6f1a07 (diff)
Lighter regex dependency. (#644)
Detail on https://github.com/rust-lang/regex/pull/613
-rw-r--r--Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c9d246d..3644832 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,7 +16,7 @@ edition = "2018"
base64 = "0.10.0"
byteorder = "1.0"
once_cell = "1.0"
-regex = "1.0"
+regex ={version = "1.3.0", default-features = false, features = ["std"]}
tantivy-fst = "0.1"
memmap = {version = "0.7", optional=true}
lz4 = {version="1.20", optional=true}
@@ -84,6 +84,7 @@ wasm-bindgen = ["uuid/wasm-bindgen"]
travis-ci = { repository = "tantivy-search/tantivy" }
[dev-dependencies.fail]
+version = "0.3"
features = ["failpoints"]
# Following the "fail" crate best practises, we isolate