-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
53 lines (47 loc) · 1.2 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
[package]
name = "geo_filters"
version = "0.1.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 = []
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.13"
once_cell = "1.18"
rand = { version = "0.8", optional = true }
rayon = { version = "1.7", optional = true }
regex = { version = "1", optional = true }
[dev-dependencies]
criterion = "0.5"
geo_filters = { path = ".", features = ["evaluation"] }
rand = "0.8"
rand_chacha = "0.3"
rayon = "1.7"
[[bench]]
name = "performance"
path = "evaluation/performance.rs"
harness = false
required-features = ["evaluation"]
[[bin]]
name = "accuracy"
path = "evaluation/accuracy.rs"
test = false
bench = false
required-features = ["evaluation"]