-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
79 lines (67 loc) · 2.06 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[workspace]
resolver = "2"
members = [".", "hyperloglog-derive", "optimal-gap-codes", "measure_variant", "statistical_comparisons", "statistical_comparisons/macro_test_utils", "test_utils", "hash_list_correction"]
[package]
name = "hyperloglog-rs"
version = "0.1.56"
edition = "2021"
authors = ["Luca Cappelletti <cappelletti.luca94@gmail.com>"]
description = "A Rust implementation of HyperLogLog trying to be parsimonious with memory."
homepage = "https://github.com/LucaCappelletti94/hyperloglog-rs"
repository = "https://github.com/LucaCappelletti94/hyperloglog-rs"
readme = "README.md"
license = "MIT"
keywords = ["hyperloglog", "probabilistic", "algorithm", "cardinality", "estimation",]
categories = [
"no-std",
"algorithms",
"science"
]
exclude = [
"fuzz/",
"intersection_tests/",
"union_test",
"experiments",
"intersection_benchmarks.tsv.gz"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
paste = "1.0.15"
twox-hash = {version="1.6.3", default-features = false}
mem_dbg = {version = "0.2.4", optional = true}
hyperloglog-derive = { path = "hyperloglog-derive" }
[dev-dependencies]
serde_json = "1.0"
wyhash = "0.5.0"
ahash = "0.8.11"
color-backtrace = { version = "0.6" }
ctor = "0.2.8"
criterion = { version = "0.5", features = ["html_reports"] }
[features]
default = []
mem_dbg = [
"dep:mem_dbg",
"std",
]
std = ["alloc"]
mle = ["std"]
alloc = []
[package.metadata.clippy]
all-features = true
[profile.test]
overflow-checks = true # Disable integer overflow checks.
debug = true # Include debug info.
debug-assertions = true # Enables debug assertions.
opt-level = 3
[profile.release]
overflow-checks = false # Disable integer overflow checks.
debug = false # Include debug info.
debug-assertions = false # Enables debug assertions.
opt-level = 3
[[bench]]
name = "hash_list_insert"
harness = false
[[bench]]
name = "hyperloglog_insert"
harness = false