[package] name = "search" version = "0.1.0" authors = ["Vincent Prouillet "] edition = "2018" [dependencies] elasticlunr-rs = "2" ammonia = "3" lazy_static = "1" tantivy = { version = "0.12", optional = true } isolang = { version = "1.0", optional = true } serde = { version = "1.0", optional = true } serde_derive = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } num_cpus = { version = "1.12", optional = true } chrono = { version = "0.4", optional = true } errors = { path = "../errors" } library = { path = "../library" } [features] default = [] tantivy-indexing = ["isolang", "serde", "serde_derive", "serde_json", "num_cpus", "tantivy", "chrono"]