# transfer-rs Small Rust library to upload files to [transfer.sh](https://github.com/dutchcoders/transfer.sh). Created for practical experience in Rust, you can probably do this in one line using `bash`. ## Usage ```rust extern crate transfer; use transfer::upload; fn main() { match upload("Cargo.toml") { Ok(url) => println!("{}", url), Err(err) => panic!("Error: {}", err), }; } ``` A simple application is provided in the [bin](bin/) directory as a working example. ## Building - Install rustc using [RustUp](https://rustup.rs) - Run `cargo build --release`