diff --git a/CHANGELOG.md b/CHANGELOG.md index 46e570c..d5e241b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,14 @@ ## [Unreleased] +## [0.1.1] - Dec 2 2023 + +Fixed the CI pipeline of the previous release. + ## [0.1.0] - Dec 2 2023 Initial public release. -[Unreleased]: https://github.com/nomad/norm/compare/v0.1.0...HEAD +[Unreleased]: https://github.com/nomad/norm/compare/v0.1.1...HEAD +[0.1.0]: https://github.com/nomad/norm/tree/v0.1.1 [0.1.0]: https://github.com/nomad/norm/tree/v0.1.0 diff --git a/Cargo.toml b/Cargo.toml index 7af370f..a857774 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "norms" -version = "0.1.0" +version = "0.1.1" edition = "2021" authors = ["Riccardo Mazzarini "] description = "A collection of distance metrics on strings" @@ -10,7 +10,7 @@ readme = "README.md" license = "MIT" keywords = ["text", "fuzzy", "match", "search", "fzf"] categories = ["algorithms"] -exclude = ["/.github", "/benches", "/fuzz", "/tests"] +exclude = ["/.github", "/fuzz", "CHANGELOG.md"] [package.metadata.docs.rs] features = ["fzf-v1", "fzf-v2"] @@ -27,7 +27,7 @@ fzf-v2 = ["__any-metric"] __any-metric = [] __benches = [] __into-score = [] -__tests = [] +__tests = ["fzf-v1", "fzf-v2"] [dependencies] memchr = "2" @@ -35,6 +35,33 @@ 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"]