-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
73 lines (64 loc) · 1.65 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[workspace]
members = [
".",
]
[package]
name = "pinpayments_rs"
version = "0.1.0"
description = "API bindings for the Pin Payments HTTP API"
rust-version = "1.65.0"
authors = [
"Chris Kruger <[email protected]>"
]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/montdidier/pinpayments_rs"
repository = "https://github.com/montdidier/pinpayments_rs"
keywords = ["pinpayments", "v1", "api", "async"]
categories = ["api-bindings"]
edition = "2021"
exclude = [
".github/*",
".gitignore",
"tests/*",
"tags",
"run.sh",
"test.sh",
"secret.txt",
]
[lib]
name = "pinpayments"
[features]
default = []
stream = []
async = []
[dependencies]
async-std = { version = "1.12" }
async-stream = { version = "0.3.5" }
chrono = { version = "0.4.31", default-features = false, features = ["serde", "clock"], optional = true }
futures = "0.3.29"
thiserror = "1.0.50"
http-types = { version = "2.12.0", default-features = false }
serde = {version = ">=1.0.79", features = ["derive"] }
serde_json = "1.0"
serde_qs = "0.12"
serde_path_to_error = "0.1.14"
smol_str = "0.2"
surf = { version = "2.3.2" }
tokio = { version = "1.35", optional = true }
uuid = { version = "1.6.1", optional=true, features=["v4"] }
time = { version = "0.3.30", features=["serde", "formatting", "parsing", "macros"] }
futures-util = { version = "0.3.21" }
#serde_struct_wrapper = "0.3.2"
[dev-dependencies]
async-std = { version = "1.12", features = ["attributes"] }
http = "1.0.0"
httpmock = "0.6.8"
httptest = "0.15.5"
tokio = { version = "1.35", features = ["rt", "macros"] }
[[example]]
name = "charge"
[[example]]
name = "pagination_manual"
[[example]]
name = "pagination_async"