diff --git a/Cargo.lock b/Cargo.lock index f00d37f4..0446bae5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -271,17 +271,14 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "elasticlunr-rs" -version = "2.3.13" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "515a402b5acb08002194dd926065be7733003bb37ac0f030dfd39160028238e1" +checksum = "e6dae5cac90640734ee881bc5f21b6e5123f4e5235e52428db114abffc2391d6" dependencies = [ - "lazy_static", "regex", "serde", "serde_derive", "serde_json", - "strum", - "strum_macros", ] [[package]] @@ -584,15 +581,6 @@ dependencies = [ "http", ] -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "hermit-abi" version = "0.1.19" @@ -1604,24 +1592,6 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" -[[package]] -name = "strum" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" - -[[package]] -name = "strum_macros" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "syn" version = "1.0.75" @@ -1873,12 +1843,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-segmentation" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" - [[package]] name = "unicode-xid" version = "0.2.2" diff --git a/Cargo.toml b/Cargo.toml index dc603aea..e3e8a32e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread"], optional = tr warp = { version = "0.3.1", default-features = false, features = ["websocket"], optional = true } # Search feature -elasticlunr-rs = { version = "2.3", optional = true, default-features = false } +elasticlunr-rs = { version = "3.0.0", optional = true } ammonia = { version = "3", optional = true } [dev-dependencies]