From d74f71bbef10bb5c98c65350277fcc3058d122e4 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Wed, 4 Sep 2019 13:10:12 +0900 Subject: Lighter regex dependency. (#644) Detail on https://github.com/rust-lang/regex/pull/613 --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3