pipeline-macro 0.1.1

A crate to create a pipeline in Rust
Documentation

pipeline-macro

crates.io

A crate to create a pipeline in Rust.

How to use it ?

  • Define a pipeline with type in input and type in output
  • Use run method to run this pipeline
    let pipeline = pipeline! {
        i32
        => add2
        -> div_by_3
        -> mul_by_83
        => f64
    };

    let result = pipeline.run(3); // ~= 110.6666..

How to build ?

    cargo build

How to run tests ?

    cargo test