transfer-rs 0.3.0

Simple library to upload files to https://transfer.sh/
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 78.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.28 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 5s Average build duration of successful builds.
  • all releases: 1m 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • msfjarvis
transfer-rs-0.3.0 has been yanked.

transfer-rs

Small Rust library to upload files to transfer.sh. Created for practical experience in Rust, you can probably do this in one line using bash.

Usage

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 directory as a working example.

Building

  • Install rustc using RustUp
  • Run cargo build --release