Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 678 Bytes

File metadata and controls

16 lines (15 loc) · 678 Bytes

libeasydonate - a Rust wrapper for the EasyDonate API

libeasydonate

libeasydonate was created for easy access to the EasyDonate API from Rust.

HTTP клиенты

libeasydonate has a mechanism of adapting any asynchronous HTTP client for use with the API. In the library, there is a builtin adapter for reqwest (with the feature flag “reqwest”).

reqwest

Example usage:

let easydonate_config = EasyDonateConfig {
    api_key: "<API key>".into()
};
let easydonate = EasyDonate::new(EasyDonateReqwest::new(easydonate_config));
// ... use the easydonate object ...