From 2024884f49334e7eaf64adc425da77b773204b42 Mon Sep 17 00:00:00 2001 From: Mark Wotton Date: Thu, 9 Sep 2021 17:46:46 +0700 Subject: Reordered fuzzy search (#179) * add test demonstrating problem * add a reordered fuzzy-search mode that presents shorter matches first, rather than using strict chronological ordering. * fix warnings, refactor interface to minspan slightly --- atuin-client/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'atuin-client/Cargo.toml') diff --git a/atuin-client/Cargo.toml b/atuin-client/Cargo.toml index b4c9c13e..300ce26a 100644 --- a/atuin-client/Cargo.toml +++ b/atuin-client/Cargo.toml @@ -40,6 +40,7 @@ humantime = "2.1.0" itertools = "0.10.0" shellexpand = "2" sqlx = { version = "0.5", features = [ "runtime-tokio-rustls", "uuid", "chrono", "sqlite" ] } +minspan = "0.1.1" [dev-dependencies] tokio-test = "*" -- cgit v1.3.1