KSoft.rs
A KSoft api wrapper written in pure Rust
Usage for asynchronous client
Cargo.toml
[]
= "1.1.0"
[]
= "1.0"
= ["macros"]
Usage example
use Client;
async
Also there is an extra error management tool, it is ApiResponse, its behaviour is the same as Result, as it is a renaming of it used to difference between an http error and an API error or unsuccessful response
pub type ApiResponse<S, E> = ;
ApiResponse example
use Client;
async
Usage for blocking client
This is an optional feature for those people that want a blocking client for non-asynchronous contexts
Both features cannot be enabled at the same time
Cargo.toml
[]
= "1.1.0"
=false
= ["blocking"]
Usage example
use Client