caio.co/de/cantine

Rename tique's `unstable` feature to `queryparser`

... And somehow `tique` can't be built because `cantine` wants a
feature that stopped existing? That kinda diminishes the usefulness
of workspaces.
Id
8e992612bcd9a4c6def7e33cad537455e5ba90b8
Author
Caio
Commit time
2020-03-17T11:16:39+01:00

Modified cantine/Cargo.toml

@@ -10,7 +10,7

[dependencies]
cantine_derive = { path = "../cantine_derive" }
-tique = { path = "../tique", features = ["unstable"] }
+tique = { path = "../tique", features = ["queryparser"] }
actix-rt = "1.0"
actix-service = "1.0"
actix-web = "2.0"

Modified tique/Cargo.toml

@@ -14,7 +14,7

[features]
default = []
-unstable = ["nom"]
+queryparser = ["nom"]

[dependencies]
tantivy = "0.12"

Modified tique/src/lib.rs

@@ -41,8 +41,10
pub mod conditional_collector;
pub mod topterms;

-#[cfg(feature = "unstable")]
-pub mod queryparser;
+#[cfg(feature = "queryparser")]
+mod queryparser;
+#[cfg(feature = "queryparser")]
+pub use queryparser::QueryParser;

mod dismax;
pub use dismax::DisMaxQuery;