Debian Codegraph @

third_party/rust/prio/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.71"
15 name = "prio"
16 version = "0.16.2"
17 authors = [
18 "Josh Aas <[email protected]>",
19 "Tim Geoghegan <[email protected]>",
20 "Christopher Patton <[email protected]",
21 "Karl Tarbe <[email protected]>",
22 ]
23 exclude = ["/supply-chain"]
24 description = "Implementation of the Prio aggregation system core: https://crypto.stanford.edu/prio/"
25 readme = "README.md"
26 license = "MPL-2.0"
27 repository = "https://github.com/divviup/libprio-rs"
28 resolver = "2"
29
30 [package.metadata.cargo-all-features]
31 skip_optional_dependencies = true
32
33 [package.metadata.docs.rs]
34 all-features = true
35 rustdoc-args = [
36 "--cfg",
37 "docsrs",
38 ]
39
40 [lib]
41 bench = false
42
43 [[test]]
44 name = "discrete_gauss"
45 path = "tests/discrete_gauss.rs"
46 required-features = ["experimental"]
47
48 [[bench]]
49 name = "speed_tests"
50 harness = false
51
52 [[bench]]
53 name = "cycle_counts"
54 harness = false
55
56 [dependencies.aes]
57 version = "0.8.4"
58 optional = true
59
60 [dependencies.bitvec]
61 version = "1.0.1"
62 optional = true
63
64 [dependencies.byteorder]
65 version = "1.5.0"
66
67 [dependencies.ctr]
68 version = "0.9.2"
69 optional = true
70
71 [dependencies.fiat-crypto]
72 version = "0.2.6"
73 optional = true
74
75 [dependencies.fixed]
76 version = "1.26"
77 optional = true
78
79 [dependencies.getrandom]
80 version = "0.2.12"
81 features = ["std"]
82
83 [dependencies.hex]
84 version = "0.4.3"
85 features = ["serde"]
86 optional = true
87
88 [dependencies.hmac]
89 version = "0.12.1"
90 optional = true
91
92 [dependencies.num-bigint]
93 version = "0.4.4"
94 features = [
95 "rand",
96 "serde",
97 ]
98 optional = true
99
100 [dependencies.num-integer]
101 version = "0.1.46"
102 optional = true
103
104 [dependencies.num-iter]
105 version = "0.1.44"
106 optional = true
107
108 [dependencies.num-rational]
109 version = "0.4.1"
110 features = ["serde"]
111 optional = true
112
113 [dependencies.num-traits]
114 version = "0.2.18"
115 optional = true
116
117 [dependencies.rand]
118 version = "0.8"
119 optional = true
120
121 [dependencies.rand_core]
122 version = "0.6.4"
123
124 [dependencies.rayon]
125 version = "1.9.0"
126 optional = true
127
128 [dependencies.serde]
129 version = "1.0"
130 features = ["derive"]
131
132 [dependencies.serde_json]
133 version = "1.0"
134 optional = true
135
136 [dependencies.sha2]
137 version = "0.10.8"
138 optional = true
139
140 [dependencies.sha3]
141 version = "0.10.8"
142
143 [dependencies.subtle]
144 version = "2.5.0"
145
146 [dependencies.thiserror]
147 version = "1.0"
148
149 [dependencies.zipf]
150 version = "7.0.1"
151 optional = true
152
153 [dev-dependencies.assert_matches]
154 version = "1.5.0"
155
156 [dev-dependencies.base64]
157 version = "0.22.0"
158
159 [dev-dependencies.cfg-if]
160 version = "1.0.0"
161
162 [dev-dependencies.criterion]
163 version = "0.5"
164
165 [dev-dependencies.fixed-macro]
166 version = "1.2.0"
167
168 [dev-dependencies.hex-literal]
169 version = "0.4.1"
170
171 [dev-dependencies.iai]
172 version = "0.1"
173
174 [dev-dependencies.modinverse]
175 version = "0.1.0"
176
177 [dev-dependencies.num-bigint]
178 version = "0.4.4"
179
180 [dev-dependencies.once_cell]
181 version = "1.19.0"
182
183 [dev-dependencies.rand]
184 version = "0.8"
185
186 [dev-dependencies.statrs]
187 version = "0.16.0"
188
189 [features]
190 crypto-dependencies = [
191 "aes",
192 "ctr",
193 "hmac",
194 "sha2",
195 ]
196 default = ["crypto-dependencies"]
197 experimental = [
198 "bitvec",
199 "fiat-crypto",
200 "fixed",
201 "num-bigint",
202 "num-rational",
203 "num-traits",
204 "num-integer",
205 "num-iter",
206 "rand",
207 ]
208 multithreaded = ["rayon"]
209 test-util = [
210 "hex",
211 "rand",
212 "serde_json",
213 "zipf",
214 ]