# 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 = "2018" rust-version = "1.54.0" name = "async-stripe-tsar" version = "0.0.1" authors = [ "Anna Baldwin ", "Kevin Stenerson ", "Alexander Lyon ", ] description = "API bindings for the Stripe HTTP API. With some de-duped types." 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"] cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples=examples", ] [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 = "webhook-axum" required-features = ["async"] [[example]] name = "webhook-actix" required-features = ["async"] [dependencies.async-global-executor] version = "2.0, <2.1" optional = true [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.22" optional = true [dependencies.hyper-tls] version = "0.5" optional = true [dependencies.indexmap] version = "1.0,<1.9.0" optional = true [dependencies.serde] version = ">=1.0.79" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_qs] version = "0.9" [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.time] version = "0.3,<0.3.10" optional = true [dependencies.tokio] version = "1.2" optional = true [dependencies.uuid] version = "0.8" features = ["v4"] optional = true [dev-dependencies.actix-web] version = "4.0.1" [dev-dependencies.anyhow] version = "1.0.38" [dev-dependencies.async-std] version = "1.10.0" features = ["attributes"] [dev-dependencies.axum] version = "0.4.8" [dev-dependencies.httpmock] version = "0.6.6" [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.tokio] version = "1.2" features = [ "rt", "macros", ] [dev-dependencies.tokio-test] version = "0.4.2" [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", ] hyper-client = [ "hyper", "http-types/hyperium_http", ] issuing = [] orders = [] 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", "blocking", ] runtime-tokio-hyper = [ "tokio", "hyper-client", "hyper-tls", "async", ] runtime-tokio-hyper-rustls = [ "tokio", "hyper-client", "hyper-rustls", "async", ] sigma = [] stream = [] terminal = [] webhook-endpoints = [] webhook-events = [ "events", "hmac", "sha2", "chrono", "hex", ]