Skip to content

Folding@home client API wrapper for Rust

License

Notifications You must be signed in to change notification settings

MakotoE/rust-fahapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.