# 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 = "2018" rust-version = "1.58" name = "prio" version = "0.9.1" authors = [ "Josh Aas ", "Tim Geoghegan ", "Christopher Patton ", ] 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.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "sum" required-features = ["prio2"] [[test]] name = "backward_compatibility" path = "tests/backward_compatibility.rs" required-features = ["prio2"] [[bench]] name = "speed_tests" harness = false [[bench]] name = "cycle_counts" harness = false [dependencies.aes] version = "0.8.1" optional = true [dependencies.aes-gcm] version = "^0.9" optional = true [dependencies.base64] version = "0.13.0" [dependencies.byteorder] version = "1.4.3" [dependencies.cmac] version = "0.7.1" optional = true [dependencies.ctr] version = "0.9.1" optional = true [dependencies.getrandom] version = "0.2.7" features = ["std"] [dependencies.rand] version = "0.8" optional = true [dependencies.rayon] version = "1.5.3" optional = true [dependencies.ring] version = "0.16.20" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.static_assertions] version = "1.1.0" [dependencies.thiserror] version = "1.0" [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.cfg-if] version = "1.0.0" [dev-dependencies.criterion] version = "0.4" [dev-dependencies.hex] version = "0.4.3" features = ["serde"] [dev-dependencies.iai] version = "0.1" [dev-dependencies.itertools] version = "0.10.3" [dev-dependencies.modinverse] version = "0.1.0" [dev-dependencies.num-bigint] version = "0.4.3" [dev-dependencies.serde_json] version = "1.0" [features] crypto-dependencies = [ "aes", "ctr", "cmac", ] default = ["crypto-dependencies"] multithreaded = ["rayon"] prio2 = [ "aes-gcm", "ring", ] test-util = [ "rand", "serde_json", ]