# 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" name = "umbral-pre" version = "0.11.0" authors = ["Bogdan Opanchuk "] description = "Implementation of Umbral proxy reencryption algorithm" readme = "README.md" categories = [ "cryptography", "no-std", ] license = "GPL-3.0-only" repository = "https://github.com/nucypher/rust-umbral/tree/master/umbral-pre" resolver = "1" [package.metadata.docs.rs] features = [ "default-rng", "default-serialization", ] rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "bench" path = "bench/bench.rs" harness = false [dependencies.base64] version = "0.21" features = ["alloc"] default-features = false [dependencies.chacha20poly1305] version = "0.10" features = ["alloc"] default-features = false [dependencies.derive_more] version = "0.99" features = [ "as_ref", "from", "into", ] optional = true default_features = false [dependencies.generic-array] version = "0.14.6" features = ["zeroize"] [dependencies.getrandom] version = "0.2" optional = true default-features = false [dependencies.hex] version = "0.4" features = ["alloc"] default-features = false [dependencies.hkdf] version = "0.12" default-features = false [dependencies.js-sys] version = "0.3.63" optional = true [dependencies.k256] version = "0.13" features = [ "ecdsa", "arithmetic", "hash2curve", ] default-features = false [dependencies.pyo3] version = "0.18" optional = true [dependencies.rand_core] version = "0.6" default-features = false [dependencies.rmp-serde] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.sha2] version = "0.10" default-features = false [dependencies.subtle] version = "2.4" default-features = false [dependencies.wasm-bindgen] version = "0.2.86" optional = true [dependencies.wasm-bindgen-derive] version = "0.2.0" optional = true [dependencies.zeroize] version = "1.5" features = ["derive"] default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.rmp-serde] version = "1" [dev-dependencies.serde_json] version = "1" [features] bench-internals = ["default-rng"] bindings-python = [ "pyo3", "std", "derive_more", "default-serialization", ] bindings-wasm = [ "js-sys", "default-serialization", "wasm-bindgen", "derive_more", "wasm-bindgen-derive", "getrandom/js", ] default = ["default-rng"] default-rng = [ "getrandom", "rand_core/getrandom", ] default-serialization = [ "serde", "rmp-serde", ] serde = ["dep:serde"] std = []