Cargo Features

[dependencies]
jwiesler-async-stripe = { version = "0.34.3", default-features = false, features = ["full", "stream", "checkout", "billing", "connect", "fraud", "issuing", "orders", "sigma", "terminal", "webhook-endpoints", "tax-calculation", "products", "webhook-events", "events", "async", "blocking", "runtime-tokio-hyper", "runtime-tokio-hyper-rustls", "runtime-tokio-hyper-rustls-webpki", "runtime-blocking", "runtime-blocking-rustls", "runtime-blocking-rustls-webpki", "runtime-async-std-surf", "hyper-client", "hyper-rustls-native", "hyper-rustls-webpki", "uuid", "rocket"] }
default = full, stream, uuid, webhook-events

These default features are set whenever jwiesler-async-stripe is added without default-features = false somewhere in the dependency tree.

full default = billing, checkout, connect, fraud, issuing, orders, products, sigma, tax-calculation, terminal, webhook-endpoints
stream default
checkout full = billing

stripe feature groups

Affects generated::checkout

billing checkout? full

Affects generated::billing

connect full

Affects generated::connect

fraud full

Affects generated::fraud

issuing full

Affects generated::issuing

orders full
sigma full

Affects generated::scheduled_query_run

terminal full

Affects generated::terminal

webhook-endpoints full

Affects generated::webhook_endpoints

tax-calculation full

Affects generated::tax_calculation

products full
webhook-events default = chrono, events, hex, hmac, sha2

deserialize events from webhooks

Affects webhook_events::Webhook

events webhook-events

Affects generated::event

async runtime-async-std-surf? runtime-tokio-hyper? runtime-tokio-hyper-rustls? runtime-tokio-hyper-rustls-webpki? = futures-util

runtimes

blocking runtime-blocking? runtime-blocking-rustls? runtime-blocking-rustls-webpki?
runtime-tokio-hyper = async, hyper-client, hyper-tls, tokio
runtime-tokio-hyper-rustls = async, hyper-client, hyper-rustls, hyper-rustls-native, tokio
runtime-tokio-hyper-rustls-webpki = async, hyper-client, hyper-rustls-webpki, tokio
runtime-blocking = blocking, hyper-client, hyper-tls, tokio

Enables rt of tokio

tokio:

Includes basic task execution capabilities

runtime-blocking-rustls = blocking, hyper-client, hyper-rustls-native, tokio

Enables rt of tokio

runtime-blocking-rustls-webpki = blocking, hyper-client, hyper-rustls-webpki, tokio

Enables rt of tokio

runtime-async-std-surf = async, async-std, surf
hyper-client runtime-blocking? runtime-blocking-rustls? runtime-blocking-rustls-webpki? runtime-tokio-hyper? runtime-tokio-hyper-rustls? runtime-tokio-hyper-rustls-webpki? = hyper

we need the compat crate if using hyper

Enables hyperium_http of http-types

hyper-rustls-native runtime-blocking-rustls? runtime-tokio-hyper-rustls? = hyper-rustls

Enables native-tokio of hyper-rustls ^0.24

hyper-rustls-webpki runtime-blocking-rustls-webpki? runtime-tokio-hyper-rustls-webpki? = hyper-rustls

Enables webpki-tokio of hyper-rustls ^0.24

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.

async-std runtime-async-std-surf?

Enables async-std ^1.8, <1.11

chrono webhook-events
hyper hyper-client?

Enables hyper ^0.14

hyper-tls runtime-blocking? runtime-tokio-hyper?

Enables hyper-tls ^0.5

hyper-rustls hyper-rustls-native? hyper-rustls-webpki? runtime-tokio-hyper-rustls?

Enables hyper-rustls ^0.24

surf runtime-async-std-surf?
tokio runtime-blocking? runtime-blocking-rustls? runtime-blocking-rustls-webpki? runtime-tokio-hyper? runtime-tokio-hyper-rustls? runtime-tokio-hyper-rustls-webpki?
uuid default

Enables uuid ^0.8

futures-util async?

Enables futures-util

stream for lists

hmac webhook-events

Enables hmac

webhook support

sha2 webhook-events
hex webhook-events
rocket implicit feature

Enables rocket ^0.4

rocket:

Web framework with a focus on usability, security, extensibility, and speed