Cargo Features

payjoin-cli has no features set by default.

[dependencies]
payjoin-cli = { version = "0.0.9-alpha", features = ["native-certs", "danger-local-https", "v2"] }
native-certs

Enables rustls-tls-native-roots of reqwest

danger-local-https = hyper-rustls, rcgen, rustls

Enables danger-local-https of payjoin, rustls-tls of reqwest

Affects app::LOCAL_CERT_FILE, v1::LOCAL_CERT_FILE

v2

Enables io and v2 of payjoin

Affects config::AppConfig.ohttp_keys, config::AppConfig.ohttp_relay, config::AppConfig.pj_directory

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.

hyper-rustls danger-local-https?

Enables hyper-rustls ^0.25

rcgen danger-local-https?

Enables rcgen ^0.11.1

rustls danger-local-https?

Enables rustls ^0.22.2