ass-rs

Crates.ioass-rs
lib.rsass-rs
version3.0.0
sourcesrc
created_at2019-01-30 19:13:33.628145
updated_at2020-07-20 12:43:43.544799
descriptionA library for working with Aptoma Smooth Storage
homepage
repositoryhttps://github.com/mipli/ass-rs
max_upload_size
id111687
size24,017
Michael (mipli)

documentation

https://docs.rs/septem/latest/ass-rs/

README

Build Status Crate API

ASS-rs

A library for working with Aptoma Smooth Storage.

Examples

use ass_rs::{AssClient, AssError, file_handling, image_handling};

let ass_client = AssClient::create("https://url-to-storage", "account-name", "secretkey")?;

let image_url = image_handling::get_image_url(&ass_client, 123)?;
let image_data = image_handling::get_image_data(&ass_client, 123)?;

let file_data = file_handling::upload_file(&ass_client, "/data/file.pdf", "/destination")?;
let image_data = file_handling::upload_image(&ass_client, "/data/image.jpg")?;
Commit count: 15

cargo fmt