3 unstable releases

0.2.0 Jan 12, 2020
0.1.1 Jan 3, 2018
0.1.0 Jan 3, 2018

#9 in #im

34 downloads per month

Apache-2.0/MIT

21KB
276 lines

Uploads.im Client

Linux build status Windows build status crates.io latest published version docs.rs latest published version Apache License MIT License

Bindings to the Uploads.im web API. Upload your images for free with Rust!

Overview

The Uploads.im API currently has only the upload endpoint, which allows anyone to upload an image file with no authentication. Here's an example of how to use it:

extern crate uploads_im_client;

fn main() {
    let uploaded_image = uploads_im_client::upload_with_default_options("my_image.jpg").expect("successful image upload");
    println!("Uploaded image! You can now view it at {}", uploaded_image.view_url.to_string());
}

Licensing

This project is dual-licensed under either the MIT or Apache 2.0 license. Take your pick!

Contributing

Contributions, feature requests, and bug reports are warmly welcomed! See the contribution guidelines for getting started.

See also the Code of Conduct for more details about expectations regarding contributions to this project.

Contributors

@ErichDonGubler, original author

Dependencies

~5–9.5MB
~214K SLoC