-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
42 lines (37 loc) · 1.16 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
[package]
name = "wechat-pay-rust-sdk"
version = "0.2.18"
edition = "2021"
authors = ["lake"]
description = "微信支付 © Wechat Pay SDK Official (标准库)"
repository = "https://github.com/dounine/wechat-pay-rust-sdk"
license = "MIT"
keywords = ["wechat", "pay", "weixin", "wechatpay", "weixinpay"]
exclude = ["example"]
[workspace]
members = ["example"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base64 = "0.21.6"
chrono = "0.4.31"
rsa = { version = "0.9.6", features = ["sha2"] }
aes-gcm = "0.10.3"
md5 = "0.7.0"
reqwest = { version = "0.11.23", features = ["json"] }
thiserror = "1.0.56"
uuid = { version = "1.6.1", features = ["v4"] }
tracing = { version = "0.1.40", optional = true }
tracing-subscriber = { version = "0.3.18", optional = true }
serde = { version = "1.0.195", features = ["derive"] }
pem = "3.0"
x509-parser = "0.16"
serde_json = "1.0.111"
[features]
default = []
blocking = ["reqwest/blocking"]
debug-print = ["tracing", "tracing-subscriber"]
[dev-dependencies]
dotenvy = "0.15.7"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
tokio = { version = "1.35.1", features = ["full"] }