forked from divviup/libprio-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
87 lines (77 loc) · 2.48 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
79
80
81
82
83
84
85
86
87
[package]
name = "prio"
version = "0.15.1"
authors = ["Josh Aas <[email protected]>", "Tim Geoghegan <[email protected]>", "Christopher Patton <[email protected]", "Karl Tarbe <[email protected]>"]
edition = "2021"
exclude = ["/supply-chain"]
description = "Implementation of the Prio aggregation system core: https://crypto.stanford.edu/prio/"
license = "MPL-2.0"
repository = "https://github.com/divviup/libprio-rs"
rust-version = "1.64"
resolver = "2"
[dependencies]
aes = { version = "0.8.3", optional = true }
bitvec = { version = "1.0.1", optional = true }
byteorder = "1.4.3"
ctr = { version = "0.9.2", optional = true }
fiat-crypto = { version = "0.2.1", optional = true }
fixed = { version = "1.23", optional = true }
getrandom = { version = "0.2.10", features = ["std"] }
hmac = { version = "0.12.1", optional = true }
num-bigint = { version = "0.4.4", optional = true, features = ["rand", "serde"] }
num-integer = { version = "0.1.45", optional = true }
num-iter = { version = "0.1.43", optional = true }
num-rational = { version = "0.4.1", optional = true }
num-traits = { version = "0.2.16", optional = true }
rand = { version = "0.8", optional = true }
rand_core = "0.6.4"
rayon = { version = "1.7.0", optional = true }
serde = { version = "1.0", features = ["derive"] }
sha2 = { version = "0.10.7", optional = true }
sha3 = "0.10.8"
subtle = "2.5.0"
thiserror = "1.0"
[dev-dependencies]
assert_matches = "1.5.0"
base64 = "0.21.4"
cfg-if = "1.0.0"
criterion = "0.5"
fixed-macro = "1.2.0"
hex = { version = "0.4.3", features = ["serde"] }
hex-literal = "0.4.1"
iai = "0.1"
itertools = "0.11.0"
modinverse = "0.1.0"
num-bigint = "0.4.4"
once_cell = "1.18.0"
prio = { path = ".", features = ["crypto-dependencies", "test-util"] }
rand = "0.8"
serde_json = "1.0"
statrs = "0.16.0"
zipf = "7.0.1"
[features]
default = ["crypto-dependencies"]
experimental = ["bitvec", "fiat-crypto", "fixed", "num-bigint", "num-rational", "num-traits", "num-integer", "num-iter", "rand"]
multithreaded = ["rayon"]
prio2 = ["crypto-dependencies", "hmac", "sha2"]
crypto-dependencies = ["aes", "ctr"]
test-util = ["rand"]
[workspace]
members = [".", "binaries"]
[lib]
bench = false
[[bench]]
name = "speed_tests"
harness = false
[[bench]]
name = "cycle_counts"
harness = false
[[test]]
name = "discrete_gauss"
path = "tests/discrete_gauss.rs"
required-features = ["experimental"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.cargo-all-features]
skip_optional_dependencies = true