#mimic #runnable #interface #callable #java #traits #callable-t

rust_runnables

Rust traits that mimic the Runnable and Callable<T> interfaces in Java

2 unstable releases

Uses old Rust 2015

0.2.0 Jul 31, 2016
0.1.0 May 1, 2016

#5 in #callable


Used in vampire_api

Apache-2.0

6KB

Rust Runnables

Build Status Crates.io

Rust traits that mimic the Runnable and Callable<T> interfaces in Java.

Usage

Please see src/lib.rs for code examples.

Building

  1. Make sure you have Rust (stable) and Cargo installed

  2. Run the following command:

    cargo build && cargo test
    

Releasing

  1. Make sure the last build is successful

  2. Tag the commit

    git tag 0.0.1  # see Cargo.toml
    
  3. Publish the package

    Make sure you have publishing permissions, and have logged in to Cargo, then run:

    cargo publish
    
  4. Update Cargo.toml to the next version

License

Licensed under Apache License, Version 2.0

No runtime deps