# 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 = "2021" name = "paybox" version = "0.0.2" authors = ["l-7-l cyupdev@gmail.com"] description = "pay's sdk. 目前支持支付宝支付和微信支付 Alipay and wechatpay supported for now. Note, not yet tested." readme = "README.md" keywords = [ "alipay", "paybox", "wechatpay", ] categories = ["finance"] license = "Apache-2.0" repository = "https://github.com/l-7-l/paybox" [dependencies.aes] version = "0.8.3" optional = true [dependencies.aes-gcm-siv] version = "0.11.1" [dependencies.ahash] version = "0.8.7" [dependencies.base64] version = "0.21.5" [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4.31" optional = true [dependencies.ctr] version = "0.9.2" optional = true [dependencies.dashmap] version = "5.5.3" [dependencies.derive-new] version = "0.6.0" optional = true [dependencies.either] version = "1.9.0" [dependencies.hex] version = "0.4.3" [dependencies.once_cell] version = "1.19.0" [dependencies.postgres-types] version = "0.2.6" optional = true [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.11.22" features = ["json"] optional = true [dependencies.rsa] version = "0.9.3" features = [ "pem", "serde", "sha1", "sha2", ] [dependencies.rust_decimal] version = "1.33.1" [dependencies.serde] version = "1.0.195" [dependencies.serde_json] version = "1.0.111" [dependencies.serde_repr] version = "0.1.18" [dependencies.time] version = "0.3.30" optional = true [dependencies.tokio] version = "1.35.1" features = ["full"] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.urlencoding] version = "2.1.3" [dependencies.uuid] version = "1.6.1" [dependencies.x509-parser] version = "0.15.1" [features] alipay = ["pay"] alipay_aes = [ "dep:aes", "dep:ctr", ] alipay_cert = [] chrono = ["dep:chrono"] default = [ "chrono", "derive_new", "platform", "reqwest", "tokio", ] derive_new = ["dep:derive-new"] pay = [] platform = [] postgres = ["dep:postgres-types"] reqwest = [ "dep:reqwest", "dep:tokio", ] third_party = [] time = ["dep:time"] tokio = ["dep:tokio"] wechat_pay_app = ["pay"] wechat_pay_h5 = ["pay"] wechat_pay_jsapi = ["pay"] wechat_pay_v3 = [ "wechat_pay_app", "wechat_pay_h5", "wechat_pay_jsapi", ]