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?;
- Upload files
- Download files
- Metadata