rs_taskflow
Attempt at recreating https://github.com/cpp-taskflow/cpp-taskflow in Rust.
Example:
;
let mut flow = new;
let a = flow.new_task;
let b = flow.new_task;
let c = flow.new_task;
flow.connect_output0_to_input0;
flow.connect_output0_to_input0;
let flow_exec = flow.execute.await;
let result = flow_exec.get_output_0;
For a more complete example, see full_example_test.rs.
Usage
Installation
Build
For development iterations
# disables use of the macros in rs_taskflow_derive
For testing build with more debug messages
For testing release build
Requirements
Developed using Ubuntu 20.04 and Rust 1.64.
Tested nightly using ubuntu-latest
and latest stable Rust (as fetched by actions-rs/toolchain@v1
).