Cargo Features
[dependencies]
ruipay = { version = "0.0.1", default-features = false, features = ["openssl-crypto", "wechat", "alipay", "taobao", "pdd", "jd", "qiniu", "rsa", "x509-parser"] }
FEATURES
- default = rsa, x509-parser
-
These default features are set whenever
ruipay
is added without
somewhere in the dependency tree.default-features = false - openssl-crypto = openssl
- wechat = sxd-document, sxd-xpath
-
Provide wechat
- alipay = json
-
Provide alipay
- taobao
-
Provide taobao
- pdd
-
Provide pinduoduo
- jd
-
Provide jingdong
- qiniu
-
Provide qiniu
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- sxd-document wechat?
-
Enables sxd-document ^0.2
- sxd-xpath wechat?
-
Enables sxd-xpath ^0.2
- openssl openssl-crypto?
- json alipay?
- rsa default
-
Enables rsa ^0.6.1
- x509-parser default
-
Enables x509-parser ^0.14.0