Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Labrador

Labrador - Mini client for rust
This create offers:
- A convenient mainstream third-party service client
- Convenient and quick use of corresponding services in rust
Features:
taobao- Taobao customer related servicesalipay- Alipay related servicespdd- Pinduoduo related servicesjd- Jingdong related serviceswechat- Wechat related services
Crypto Features
- openssl-crypto
If you enable
openssl-cryptofeature. All encryption in this project is done with openssl. Later, other encryption databases will be supported for selection. Therefore, openssl needs to be introduced. See openssl for details.
- default crpto
the default encryption in this project is [rust-crypto] & [x509_parser] & [rsa] [rust-crypto]: https://docs.rs/rust-crypto/0.2.36/crypto/ [x509_parser]: https://docs.rs/x509-parser/0.14.0/x509_parser/ [rsa]: https://docs.rs/rsa/0.6.1/rsa/
Supported Platform
| Platform | is supported |
|---|---|
| Wechat:mp(微信公众号),cp(企业微信),miniapp(微信小程序),pay(微信支付) | √ |
| Alipay(支付宝) | √ |
| Taobao(淘宝客) | √ |
| JD(京东联盟) | √ |
| PDD(拼多多-多多客) | √ |
You may be looking for:
Labrador in action
[]
# The core APIs
= { = "0.1.0", = ["wechat", "alipay"] }
API Documentation
Example
With Wechat(微信开放平台、包含微信支付)
use ;
use ;
async
With Alipay(支付宝)
use ;
async
With Taobao(淘宝客相关)
use ;
async
With JD(京东,目前暂时只支持联盟相关)
use ;
use ;
async
With Custom Request
You can implement this trait and then use the custom request
- AlipayRequest - For Alipay(支付宝)
- JDRequest - For jingdong(京东)
- TaobaoRequest - For taobao(淘宝)
Feature
We will gradually improve the corresponding API
Developing
To setup the development envrionment run cargo run.
Contributers
MrPan <1049058427@qq.com>
Getting help
Labrador is a personal project. At the beginning, I just like Labrador dog because of my hobbies. I hope this project will grow more and more lovely. Many practical database functions will be added in the future. I hope you can actively help this project grow and put forward suggestions. I believe the future will be better and better.