filepush-rs

Small Rust library to upload and download files from/to filepush.co.

I forked the transfer-rs library and added download capabilities.

Usage

```rust extern crate filepush; use filepush::{upload, download};

fn main() { match upload("Cargo.toml") { Ok(url) => println!("{}", url), Err(err) => panic!("Error: {}", err), }; match download("https://filepush.co/9LY9/test1") { Ok(url) => println!("{}", url), Err(err) => panic!("Error: {}", err), }; } ```

A simple CLI application is provided in the examples directory.

Building

Cli app usage from examples folder

Credit

Transfer-rs lib author is Harsh Shandilya