Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 506 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 506 Bytes

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