# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.71" name = "prio" version = "0.16.7" authors = [ "Josh Aas ", "Tim Geoghegan ", "Christopher Patton ", ] build = false exclude = ["/supply-chain"] autobins = false autoexamples = false autotests = false autobenches = false description = "Implementation of the Prio aggregation system core: https://crypto.stanford.edu/prio/" readme = "README.md" license = "MPL-2.0" repository = "https://github.com/divviup/libprio-rs" resolver = "2" [package.metadata.cargo-all-features] skip_optional_dependencies = true [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "prio" path = "src/lib.rs" bench = false [[test]] name = "discrete_gauss" path = "tests/discrete_gauss.rs" required-features = ["experimental"] [[bench]] name = "cycle_counts" path = "benches/cycle_counts.rs" harness = false [[bench]] name = "speed_tests" path = "benches/speed_tests.rs" harness = false [dependencies.aes] version = "0.8.4" optional = true [dependencies.bitvec] version = "1.0.1" optional = true [dependencies.byteorder] version = "1.5.0" [dependencies.ctr] version = "0.9.2" optional = true [dependencies.fiat-crypto] version = "0.2.9" optional = true [dependencies.fixed] version = "1.27" optional = true [dependencies.getrandom] version = "0.2.14" features = ["std"] [dependencies.hex] version = "0.4.3" features = ["serde"] optional = true [dependencies.hmac] version = "0.12.1" optional = true [dependencies.num-bigint] version = "0.4.6" features = [ "rand", "serde", ] optional = true [dependencies.num-integer] version = "0.1.46" optional = true [dependencies.num-iter] version = "0.1.45" optional = true [dependencies.num-rational] version = "0.4.2" features = ["serde"] optional = true [dependencies.num-traits] version = "0.2.19" [dependencies.rand] version = "0.8" [dependencies.rand_core] version = "0.6.4" [dependencies.rayon] version = "1.10.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.sha2] version = "0.10.8" optional = true [dependencies.sha3] version = "0.10.8" [dependencies.subtle] version = "2.6.1" [dependencies.thiserror] version = "1.0" [dependencies.zipf] version = "7.0.1" optional = true [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.base64] version = "0.22.1" [dev-dependencies.cfg-if] version = "1.0.0" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.fixed-macro] version = "1.2.0" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.iai] version = "0.1" [dev-dependencies.modinverse] version = "0.1.0" [dev-dependencies.num-bigint] version = "0.4.6" [dev-dependencies.once_cell] version = "1.19.0" [dev-dependencies.statrs] version = "0.17.1" [features] crypto-dependencies = [ "aes", "ctr", "hmac", "sha2", ] default = ["crypto-dependencies"] experimental = [ "bitvec", "fiat-crypto", "fixed", "num-bigint", "num-rational", "num-integer", "num-iter", ] multithreaded = ["rayon"] test-util = [ "hex", "serde_json", "zipf", ] wasm-compat = ["getrandom/js"]