1 unstable release
0.1.0 | Apr 8, 2021 |
---|
#4 in #sia
20KB
581 lines
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
Dependencies
~9–20MB
~297K SLoC