payjoin 0.25.0

Payjoin Library implementing BIP 78 and BIP 77 batching protocols.
Documentation
# 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.85"
name = "payjoin"
version = "0.25.0"
authors = ["Dan Gould <d@ngould.dev>"]
build = false
exclude = ["tests"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Payjoin Library implementing BIP 78 and BIP 77 batching protocols."
readme = "README.md"
keywords = [
    "bip78",
    "payjoin",
    "bitcoin",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
    "network-programming",
]
license = "MITNFA"
repository = "https://github.com/payjoin/rust-payjoin"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
_core = [
    "bitcoin/rand-std",
    "dep:http",
    "serde_json",
    "url/serde",
    "bitcoin_uri",
    "serde",
    "bitcoin/serde",
]
_manual-tls = [
    "reqwest/rustls-tls",
    "rustls",
]
_test-utils = []
default = ["v2"]
directory = []
io = [
    "v2",
    "reqwest/rustls-tls",
]
v1 = ["_core"]
v2 = [
    "_core",
    "hpke",
    "bhttp",
    "ohttp",
    "directory",
]

[lib]
name = "payjoin"
path = "src/lib.rs"

[dependencies.bhttp]
version = "0.6.1"
optional = true

[dependencies.bitcoin]
version = "0.32.7"
features = ["base64"]

[dependencies.bitcoin_uri]
version = "0.1.0"
optional = true

[dependencies.hpke]
version = "0.13.0"
optional = true
package = "bitcoin-hpke"

[dependencies.http]
version = "1.3.1"
optional = true

[dependencies.ohttp]
version = "0.6.0"
optional = true
package = "bitcoin-ohttp"

[dependencies.reqwest]
version = "0.12.23"
optional = true
default-features = false

[dependencies.rustls]
version = "0.23.31"
features = ["ring"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.219"
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0.142"
optional = true

[dependencies.tracing]
version = "0.1.41"

[dependencies.url]
version = "2.5.4"
features = ["serde"]
optional = true
default-features = false

[dev-dependencies.once_cell]
version = "1.21.3"

[dev-dependencies.payjoin-test-utils]
version = "0.0.1"

[dev-dependencies.tokio]
version = "1.47.1"
features = ["full"]

[dev-dependencies.tracing]
version = "0.1.41"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1.0"