diff --git a/Cargo.toml b/Cargo.toml index f6d25ad..02a1a71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ readme = "README.md" license = "MIT" keywords = ["text", "fuzzy", "match", "search", "fzf"] categories = ["algorithms"] -exclude = ["/.github", "/benches", "/examples", "/fuzz", "/tests"] +exclude = ["/.github", "/benches", "/fuzz", "/tests"] [package.metadata.docs.rs] features = ["fzf-v1", "fzf-v2"] @@ -32,33 +32,6 @@ memchr = "2" [dev-dependencies] criterion = "0.5" -[[test]] -name = "fzf_common" -required-features = ["__tests"] - -[[test]] -name = "fzf_v1" -required-features = ["__tests"] - -[[test]] -name = "fzf_v2" -required-features = ["__tests"] - -[[bench]] -name = "fzf_common" -harness = false -required-features = ["__benches"] - -[[bench]] -name = "fzf_v1" -harness = false -required-features = ["__benches"] - -[[bench]] -name = "fzf_v2" -harness = false -required-features = ["__benches"] - [[example]] name = "cities" required-features = ["fzf-v2"] diff --git a/src/candidate.rs b/src/candidate.rs index a02c6e4..362f6db 100644 --- a/src/candidate.rs +++ b/src/candidate.rs @@ -114,6 +114,7 @@ impl<'a> Candidate<'a> { } /// TODO: docs + #[allow(dead_code)] #[inline(always)] pub fn find_last_from( self,