wx-sdk
Warning 🚧 (WIP), this crate is undering develop, api may be changed.
wx-sdk is a WeChat SDK written in Rust.
QuickStart
First, please refer to this page to provide these values: token, EncodingAESKey,EncodingMode.
use ;
let config = new;
let sdk = new_with_default_token_client;
Then, you can use the sdk functions, like get current menu info:
let mpsdk = mp;
let menu = mpsdk.menu.get_current_selfmenu_info.await;
Features
There're mp, pay, wxa features gates, we have only implemented the mp feature now. Please check FEATURES.md
Contributing
Issue reports and Pull Requests are always welcome!
License
wx-sdk is available under the MIT License