-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (38 loc) · 1.17 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
[package]
name = "quack"
version = "0.1.0"
edition = "2021"
description = "A data structure for being able to refer to and efficiently acknowledge a set of opaque packets seen by a network intermediary."
readme = "README.md"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
once_cell = "1.18.0"
[dev-dependencies]
clap = { version = "4.0.26", features = ["derive"] }
rand = "0.8.5"
log = "0.4.17"
env_logger = "0.9.3"
multiset = "0.0.5"
sha2 = "0.10.6"
bincode = "1.3.3"
[build-dependencies]
cc = { version = "1.0.33", optional = true }
[features]
default = []
# Enable decoding 32-bit power sum quACKs by factorization using the PARI library
libpari = ["dep:cc"]
# 16-bit power sum quACKs and the precomputation optimization
power_table = []
# 64-bit power sum quACKs and the Montgomery multiplication optimization
montgomery = []
# Strawman quACK data structures
strawmen = []
[[example]]
name = "benchmark_decode"
required-features = ["libpari", "power_table", "montgomery", "strawmen"]
[[example]]
name = "benchmark_construct"
required-features = ["power_table", "montgomery", "strawmen"]
[[example]]
name = "benchmark_construct_multi"
required-features = ["strawmen"]