Cargo Features

Payjoin has no features set by default.

payjoin = { version = "0.19.0", features = ["send", "receive", "base64", "v2", "io", "danger-local-https"] }

Affects payjoin::send, v2::encrypt_message_a, v2::decrypt_message_b


Enables rand of bitcoin ^0.30.0

Affects payjoin::receive, v2::decrypt_message_a, v2::encrypt_message_b


Enables bitcoin ^0.30.0

v2 = bhttp, chacha20poly1305, ohttp, serde

Enables http, rand and serde of bitcoin ^0.30.0, serde of url

Affects io::fetch_ohttp_keys, receive::v2, request::V2_REQ_CONTENT_TYPE, send::ContextV2

io danger-local-https?

Enables rustls-tls of reqwest

Affects payjoin::io

danger-local-https = io, rustls

Enables rustls-tls of reqwest

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

chacha20poly1305 v2?
bhttp v2?

Enables bhttp =0.5.1

ohttp v2?
serde v2?
reqwest danger-local-https? io?
rustls danger-local-https?

Enables rustls ^0.22.2