Cargo Features

[dependencies]
async-stripe-tsar = { version = "0.0.1", default-features = false, features = ["full", "stream", "checkout", "billing", "connect", "fraud", "issuing", "orders", "sigma", "terminal", "webhook-endpoints", "webhook-events", "events", "async", "blocking", "runtime-tokio-hyper", "runtime-tokio-hyper-rustls", "runtime-blocking", "runtime-blocking-rustls", "runtime-async-std-surf", "hyper-client", "async-global-executor", "uuid", "indexmap", "time"] }
default = full, stream, uuid, webhook-events

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

full default = billing, checkout, connect, fraud, issuing, orders, sigma, 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

Affects generated::orders

sigma full

Affects generated::scheduled_query_run

terminal full

Affects generated::terminal

webhook-endpoints full

Affects generated::webhook_endpoints

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? = futures-util

runtimes

blocking runtime-blocking? runtime-blocking-rustls?
runtime-tokio-hyper = async, hyper-client, hyper-tls, tokio
runtime-tokio-hyper-rustls = async, hyper-client, hyper-rustls, 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, tokio

Enables rt of tokio

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

we need the compat crate if using hyper

Enables hyperium_http of http-types

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

async-global-executor implicit feature

Enables async-global-executor ^2.0, <2.1

async-global-executor:

A global executor built on top of async-executor and async-io

chrono webhook-events
hyper hyper-client?

Enables hyper ^0.14

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

Enables hyper-tls ^0.5

hyper-rustls runtime-blocking-rustls? runtime-tokio-hyper-rustls?

Enables hyper-rustls ^0.22

surf runtime-async-std-surf?
tokio runtime-blocking? runtime-blocking-rustls? runtime-tokio-hyper? runtime-tokio-hyper-rustls?
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
indexmap implicit feature

Enables indexmap ^1.0, <1.9.0

pinned deps to prevent msrv breakage

time implicit feature

Enables time ^0.3, <0.3.10