[package] name = "wechat-pay-rust-sdk" version = "0.2.17" 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"] }