Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 497 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 497 Bytes

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.