lingual 1.0.4

Free and Unlimited Language Translation (Google) API for Rust. Supports Async and Sync.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug)]
pub enum Errors {
    /// An error occurred while generating the token which is normally
    /// caused by an parsing error of an integer.
    ParseIntErr,
    /// An error occurred while sending the request to the server.
    HttpErr(String),
    /// An error occurred while parsing the url.
    UrlParseErr,
    /// An error occurred while parsing the json.
    /// This error is normally caused by an invalid json.
    JsonParseErr,
}