4 releases
0.1.3 | Feb 14, 2021 |
---|---|
0.1.2 | Sep 17, 2020 |
0.1.1 | Jun 22, 2020 |
0.1.0 | Jun 21, 2020 |
#193 in #api-wrapper
25 downloads per month
50KB
1.5K
SLoC
Folding@home client API wrapper for Rust
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.
lib.rs
:
Folding@home client API wrapper for Rust. Use
API::connect_timeout()
to connect to your FAH
client.
Dependencies
~4–6MB
~111K SLoC