skynet-rs

Crates.ioskynet-rs
lib.rsskynet-rs
version0.1.0
sourcesrc
created_at2021-04-08 04:56:57.999308
updated_at2021-04-08 04:56:57.999308
descriptionSia Skynet API
homepage
repositoryhttps://github.com/cerebralcourt/skynet-rs
max_upload_size
id380682
size20,970
(giraffekey)

documentation

README

skynet-rs

Rust implementation of the Sia Skynet API.

use skynet_rs::{SkynetClient, UploadOptions, DownloadOptions, MetadataOptions};

let client = SkynetClient::default();
let skylink = client.upload_file("hello.txt", UploadOptions::default()).await?;
let data = client.download_data(&skylink, DownloadOptions::default()).await?;
let metadata = client.get_metadata(&skylink, MetadataOptions::default()).await?;

Features

  • Upload files
  • Download files
  • Metadata
Commit count: 25

cargo fmt