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

#199 in #api-wrapper

MIT license

50KB
1.5K SLoC

Folding@home client API wrapper for Rust

Latest version Documentation

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.

rust-fahapi on Github

Dependencies

~4–6.5MB
~113K SLoC