[package] name = "bitcoin-ohttp" version = "0.6.0" authors = ["Dan Gould "] edition = "2021" rust-version = "1.63.0" build = "build.rs" license = "MIT OR Apache-2.0" description = "Oblivious HTTP over secp256k1 and ChaCha20Poly1305" repository = "https://github.com/payjoin/bitcoin-ohttp" [features] default = ["client", "server", "rust-hpke"] app-svc = ["nss"] client = [] external-sqlite = [] gecko = ["nss", "mozbuild"] nss = ["bindgen", "regex-mess"] regex-mess = ["regex", "regex-automata", "regex-syntax"] rust-hpke = ["rand", "aead", "aes-gcm", "chacha20poly1305", "hkdf", "sha2", "bitcoin-hpke"] server = [] [dependencies] aead = {version = "0.4", optional = true, features = ["std"]} aes-gcm = {version = "0.9", optional = true} byteorder = "1.4" chacha20poly1305 = {version = "0.8", optional = true} hex = "0.4" hkdf = {version = "0.11", optional = true} bitcoin-hpke = {version = "0.13.0", optional = true, default-features = false, features = ["std", "secp"]} lazy_static = "1.4" log = {version = "0.4", default-features = false} rand = {version = "0.8", optional = true} # bindgen uses regex and friends, which have been updated past our MSRV # however, the cargo resolver happily resolves versions that it can't compile regex = {version = "~1.9", optional = true} regex-automata = {version = "~0.3", optional = true} regex-syntax = {version = "~0.7", optional = true} sha2 = {version = "0.9", optional = true} thiserror = "1" [build-dependencies] mozbuild = {version = "0.1", optional = true} serde = "1.0" serde_derive = "1.0" toml = "0.5" [build-dependencies.bindgen] version = "0.69" default-features = false optional = true features = ["runtime"] [dev-dependencies] env_logger = {version = "0.10", default-features = false}