Cargo Features
Payjoin has no features set by default.
[dependencies]
payjoin = { version = "0.21.0", features = ["send", "receive", "base64", "v2", "io", "rustls"] }
- send
-
Affects
hpke::encrypt_message_a
,hpke::decrypt_message_b
,payjoin::send
… - receive
-
Affects
hpke::decrypt_message_a
,hpke::encrypt_message_b
,payjoin::receive
… - base64
-
Enables bitcoin
- v2 = bhttp, hpke, ohttp, serde
-
Enables http, rand and serde of bitcoin, serde of url
Affects
io::fetch_ohttp_keys
,receive::v2
,request::V2_REQ_CONTENT_TYPE
,send::V2PostContext
,send::V2GetContext
,uri::ShortId
,uri::ShortIdError
… - io
-
Enables rustls-tls of reqwest
Affects
payjoin::io
…
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.
- hpke v2?
-
Enables bitcoin-hpke
- bhttp v2?
-
Enables bhttp =0.5.1
- ohttp v2?
-
Enables bitcoin-ohttp
- serde v2?
- reqwest io?
- rustls implicit feature
-
Enables rustls ^0.22.4
rustls:
Rustls is a modern TLS library written in Rust