Cargo Features
[dependencies]
stripe-rust-fgribreau = { version = "0.4.5", default-features = false, features = ["with-rustls", "with-openssl"] }
- default = with-rustls
-
The
with-rustls
feature is set by default wheneverstripe-rust-fgribreau
is added without
somewhere in the dependency tree.default-features = false - with-rustls default = hyper-rustls
- with-openssl = hyper-openssl
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 with-rustls
-
Enables hyper-rustls ^0.6
- hyper-openssl with-openssl?
-
Enables hyper-openssl ^0.2