forked from wyyerd/stripe-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (43 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[workspace]
members = ["openapi"]
[package]
name = "stripe-rust" # b.c. stripe and stripe-rs were already taken
version = "0.10.5"
description = "API bindings for the Stripe v1 HTTP API"
authors = [
"Anna Baldwin <[email protected]>",
"Kevin Stenerson <[email protected]>"
]
license = "MIT/Apache-2.0"
repository = "https://github.com/wyyerd/stripe-rs"
documentation = "https://docs.rs/stripe-rust"
keywords = ["stripe", "v1", "api"]
categories = ["api-bindings"]
edition = "2018"
[badges]
travis-ci = {repository = "wyyerd/stripe-rs"}
[lib]
name = "stripe"
[features]
default = ["webhooks"]
webhooks = ["hmac", "sha2"]
# TODO: Deprecate `async` after we can use Generic Associated Types
# (see https://github.com/rust-lang/rust/issues/44265)
async = []
[dependencies]
chrono = { version = "0.4", features = ["serde"] }
futures = "0.1.23"
reqwest = "0.9"
serde = "1.0.79" # N.B. we use `serde(other)` which was introduced in `1.0.79`
serde_derive = "1.0.79"
serde_json = "1.0"
serde_qs = "0.4"
# Webhook support
hmac = { version = "0.6", optional = true }
sha2 = { version = "0.7", optional = true }
smol_str = "0.1.10"
[[example]]
name = "async_create_charge"
required-features = ["async"]
[dev-dependencies]
lazy_static = "1.3.0"