#pipeline #plugs #run-to-completion

simple-pipeline

A simple run-to-completion pipeline

1 unstable release

0.6.0 Jan 22, 2022

#1906 in Development tools

MIT license

7KB
137 lines

Simple Pipeline

Usage:

// create the plugs for the pipeline
let plugs: Vec<Box<dyn Plug<PlugCtx>>> = vec![
    Box::new(...),
    Box::new(...),
    ...
];

// initialize the pipeline
let pipeline = Pipeline::new(plugs, None);

// execute the pipeline
let result = pipeline.execute(ctx).await;

Dependencies

~0.4–0.8MB
~19K SLoC