# 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 = "bitcoin-hpke" version = "0.13.0" authors = ["Dan Gould "] description = "An implementation of the HPKE hybrid encryption standard (RFC 9180) on libsecp256k1" documentation = "https://docs.rs/bitcoin-hpke" readme = "README.md" keywords = [ "cryptography", "encryption", "aead", "secp256k1", "bitcoin", ] categories = [ "cryptography", "no-std", ] license = "MIT/Apache-2.0" repository = "https://github.com/payjoin/bitcoin-hpke" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] bench = false [[bench]] name = "benches" harness = false [dependencies.aead] version = "0.5" [dependencies.chacha20poly1305] version = "0.10" [dependencies.digest] version = "0.10" [dependencies.generic-array] version = "0.14" default-features = false [dependencies.hkdf] version = "0.12" [dependencies.hmac] version = "0.12" [dependencies.rand_core] version = "0.6" default-features = false [dependencies.secp256k1] version = "0.29" optional = true [dependencies.sha2] version = "0.10" default-features = false [dependencies.subtle] version = "2.6" default-features = false [dependencies.zeroize] version = "1" features = ["zeroize_derive"] default-features = false [dev-dependencies.aes-gcm] version = "0.10" [dev-dependencies.criterion] version = "0.4" features = ["html_reports"] [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.rand] version = "0.8" features = [ "getrandom", "std_rng", ] default-features = false [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [features] alloc = [] default = [ "alloc", "secp", ] secp = [ "secp256k1/global-context", "secp256k1/rand-std", ] std = []