# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74.0" name = "async-stripe" version = "0.39.1" authors = [ "Anna Baldwin ", "Kevin Stenerson ", "Alexander Lyon ", ] description = "API bindings for the Stripe HTTP API" homepage = "https://github.com/arlyon/async-stripe" documentation = "https://docs.rs/async-stripe" readme = "README.md" keywords = [ "stripe", "v1", "api", "async", ] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/arlyon/async-stripe" [package.metadata.docs.rs] features = ["runtime-tokio-hyper"] [lib] name = "stripe" [[example]] name = "checkout" required-features = ["async"] [[example]] name = "connect" required-features = ["async"] [[example]] name = "customer" required-features = ["async"] [[example]] name = "payment-intent" required-features = ["async"] [[example]] name = "payment-link" required-features = ["async"] [[example]] name = "strategy" required-features = ["async"] [[example]] name = "subscriptions" required-features = ["async"] [[example]] name = "test-clocks" required-features = ["async"] [[example]] name = "webhook-axum" required-features = ["async"] [[example]] name = "webhook-actix" required-features = ["async"] [[example]] name = "webhook-rocket" required-features = ["rocket"] [dependencies.async-std] version = "1.8,<1.11" optional = true [dependencies.chrono] version = "0.4" features = [ "serde", "clock", ] optional = true default-features = false [dependencies.futures-util] version = "0.3.21" optional = true [dependencies.hex] version = "0.4" optional = true [dependencies.hmac] version = "0.12" optional = true [dependencies.http-types] version = "2.12.0" default-features = false [dependencies.hyper] version = "0.14" features = [ "http1", "http2", "client", "tcp", ] optional = true default-features = false [dependencies.hyper-rustls] version = "0.24" features = [ "http1", "http2", "tls12", "logging", ] optional = true default-features = false [dependencies.hyper-tls] version = "0.5" optional = true [dependencies.rocket] version = "0.4" optional = true [dependencies.serde] version = ">=1.0.79" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_path_to_error] version = "0.1.8" [dependencies.serde_qs] version = "0.10.1" [dependencies.sha2] version = "0.10" optional = true [dependencies.smart-default] version = "0.6.0" [dependencies.smol_str] version = "0.1" [dependencies.surf] version = "2.1" optional = true [dependencies.thiserror] version = "1.0.24" [dependencies.tokio] version = "1" optional = true [dependencies.uuid] version = "0.8" features = ["v4"] optional = true [dev-dependencies.actix-web] version = "4.2.1" [dev-dependencies.async-std] version = "1.10.0" features = ["attributes"] [dev-dependencies.async-trait] version = "0.1" [dev-dependencies.axum] version = "0.7.4" features = ["macros"] [dev-dependencies.bumpalo] version = ">=3.0.0, <= 3.15.0" [dev-dependencies.httpmock] version = "0.6.6" [dev-dependencies.tokio] version = "1.24.1" features = [ "rt", "macros", ] [features] async = ["futures-util"] billing = [] blocking = [] checkout = ["billing"] connect = [] default = [ "full", "webhook-events", "uuid", "stream", ] events = [] fraud = [] full = [ "checkout", "billing", "connect", "fraud", "issuing", "orders", "sigma", "terminal", "webhook-endpoints", "tax-calculation", "products", ] hyper-client = [ "hyper", "http-types/hyperium_http", ] hyper-rustls-native = [ "hyper-rustls", "hyper-rustls/native-tokio", ] hyper-rustls-webpki = [ "hyper-rustls", "hyper-rustls/webpki-tokio", ] issuing = [] orders = [] products = [] runtime-async-std-surf = [ "async-std", "surf", "async", ] runtime-blocking = [ "tokio", "tokio/rt", "hyper-client", "hyper-tls", "blocking", ] runtime-blocking-rustls = [ "tokio", "tokio/rt", "hyper-client", "hyper-rustls-native", "blocking", ] runtime-blocking-rustls-webpki = [ "tokio", "tokio/rt", "hyper-client", "hyper-rustls-webpki", "blocking", ] runtime-tokio-hyper = [ "tokio", "hyper-client", "hyper-tls", "async", ] runtime-tokio-hyper-rustls = [ "tokio", "hyper-client", "hyper-rustls", "hyper-rustls-native", "async", ] runtime-tokio-hyper-rustls-webpki = [ "tokio", "hyper-client", "hyper-rustls-webpki", "async", ] sigma = [] stream = [] tax-calculation = [] terminal = [] webhook-endpoints = [] webhook-events = [ "events", "hmac", "sha2", "chrono", "hex", ]