-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (59 loc) · 1.59 KB
/
Copy pathCargo.toml
File metadata and controls
67 lines (59 loc) · 1.59 KB
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
65
66
67
[package]
name = "geo_filters"
version = "0.3.0"
edition = "2021"
description = "Geometric filters for set cardinality estimation."
repository = "https://github.com/github/rust-gems"
license = "MIT"
keywords = ["probabilistic", "algorithm", "cardinality", "estimation"]
categories = ["algorithms", "data-structures", "mathematics", "science"]
[lib]
crate-type = ["lib", "staticlib"]
bench = false
[features]
default = []
test-support = ["dep:rand", "dep:rand_chacha"]
serde = ["dep:serde"]
evaluation = [
"dep:clap",
"dep:hyperloglogplus",
"dep:rand",
"dep:rayon",
"dep:regex",
]
[dependencies]
clap = { version = "4", optional = true, features = ["derive"] }
fnv = "1.0"
hyperloglogplus = { version = "0.4", optional = true }
itertools = "0.15"
once_cell = "1.18"
rand = { version = "0.10", optional = true }
rayon = { version = "1.7", optional = true }
regex = { version = "1", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
rand_chacha = { version = "0.10", optional = true }
[dev-dependencies]
criterion = "0.8"
geo_filters = { path = ".", features = ["evaluation"] }
rand = "0.10"
rand_chacha = "0.10"
rayon = "1.7"
[[bench]]
name = "performance"
path = "evaluation/performance.rs"
harness = false
required-features = ["evaluation"]
[[bench]]
name = "nearest_neighbor"
path = "evaluation/nearest_neighbor.rs"
harness = false
[[bench]]
name = "masked_sort"
path = "evaluation/masked_sort.rs"
harness = false
[[bin]]
name = "accuracy"
path = "evaluation/accuracy.rs"
test = false
bench = false
required-features = ["evaluation"]