Cargo Features
[dependencies]
payjoin-cli = { version = "0.1.0", default-features = false, features = ["native-certs", "v1", "v2"] }
- default = v2
-
The
v2
feature is set by default wheneverpayjoin-cli
is added without
somewhere in the dependency tree.default-features = false - native-certs
-
Enables rustls-tls-native-roots of reqwest
- v1 = http-body-util, hyper, hyper-util
-
Affects
config::V1Config
… - v2 default
-
Affects
config::V2Config
,app::App.resume_payjoins
… - _danger-local-https = hyper-rustls, rcgen, rustls, tokio-rustls
-
Enables rustls of payjoin, rustls-tls of reqwest
Affects
app::LOCAL_CERT_FILE
,v1::LOCAL_CERT_FILE
…
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.
- http-body-util v1?
- hyper v1?
- hyper-rustls _danger-local-https?
-
Enables hyper-rustls ^0.26
- hyper-util v1?
- rcgen _danger-local-https?
-
Enables rcgen ^0.11.1
- rustls _danger-local-https?
-
Enables rustls ^0.22.4
- tokio-rustls _danger-local-https?
-
Enables tokio-rustls ^0.25