protoflow 0.4.3

Protoflow implements flow-based programming (FBP) for Rust using Protocol Buffers messages.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// This is free and unencumbered software released into the public domain.

use protoflow::{blocks::*, BlockResult};

pub fn main() -> BlockResult {
    System::run(|s| {
        let stdin = s.read_stdin();
        let stdout = s.write_stdout();
        s.connect(&stdin.output, &stdout.input);
    })
}