About
A Rust wrapper around the Safaricom API for accessing M-Pesa services. Currently, a work in progress project.
Notes
Warning! v0.*. Expect bugs therefore not recommended for use in production. Pull requests and issues very welcome.
Install & Usage
In your Cargo.toml file:
[dependencies]
mpesa = "0.1.5"
In your lib or binary crate:
use Mpesa;
Examples
Use dotenv crate to store your keys as environmental variables instead of hard coding them like done in the example below.
use ;
let client = new;
Author
Collins Muriuki
- Website: https://muriuki.dev
- Twitter: @collinsmuriuki_
- Github: @collinsmuriuki
- LinkedIn: @collinsmuriuki
Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a ⭐️ if this project helped you!
License
Copyright © 2020 Collins Muriuki. This project is MIT licensed.