Crates.io | fahapi |
lib.rs | fahapi |
version | 0.1.3 |
source | src |
created_at | 2020-06-21 17:54:12.412534 |
updated_at | 2021-02-14 19:42:59.456458 |
description | Folding@home client API wrapper for Rust |
homepage | |
repository | https://github.com/MakotoE/rust-fahapi |
max_upload_size | |
id | 256384 |
size | 53,302 |
fn example() -> fahapi::Result<()> {
let mut api = fahapi::API::connect_timeout(&fahapi::DEFAULT_ADDR, std::time::Duration::from_secs(1))?;
api.pause_all()?;
api.unpause_all()
}
This is a Rust port of go-fahapi.