feat: implement naive fuzzy matcher
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-15 21:14:44 +02:00
parent 1520374a39
commit 6773122076
4 changed files with 47 additions and 5 deletions

17
Cargo.lock generated
View File

@@ -492,6 +492,7 @@ dependencies = [
"dirs",
"dotenv",
"gitea-rs",
"nucleo-matcher",
"octocrab",
"pretty_assertions",
"prost",
@@ -905,6 +906,16 @@ dependencies = [
"winapi",
]
[[package]]
name = "nucleo-matcher"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf33f538733d1a5a3494b836ba913207f14d9d4a1d3cd67030c5061bdd2cac85"
dependencies = [
"memchr",
"unicode-segmentation",
]
[[package]]
name = "num-bigint"
version = "0.4.6"
@@ -1965,6 +1976,12 @@ dependencies = [
"tinyvec",
]
[[package]]
name = "unicode-segmentation"
version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]]
name = "untrusted"
version = "0.9.0"