-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
64 lines (52 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "norm"
version = "0.1.1"
edition = "2021"
authors = ["Riccardo Mazzarini <[email protected]>"]
description = "A collection of distance metrics on strings"
documentation = "https://docs.rs/norm"
repository = "https://github.com/nomad/norm"
readme = "README.md"
license = "MIT"
keywords = ["text", "fuzzy", "match", "search", "fzf"]
categories = ["algorithms"]
exclude = ["/.github", "/fuzz", "CHANGELOG.md"]
[package.metadata.docs.rs]
features = ["fzf-v1", "fzf-v2"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
fzf-v1 = ["__any-metric"]
fzf-v2 = ["__any-metric"]
# Private features.
__any-metric = []
__benches = []
__into-score = []
__tests = ["fzf-v1", "fzf-v2"]
[dependencies]
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"]