use pipecircuit::{InstalledPipe, Pipe, Inline, StateMachine, StepInputOf};
struct Worker;
impl Pipe for Worker { type In<'a> = u8; type Out<'a> = u8; }
pipecircuit::pipe_roster! { mod program { client: super::Worker, worker: super::Worker } }
struct Echo;
impl StateMachine for Echo {}
impl StepInputOf<Echo> for u8 { type Outcome = u8; fn step(self, _: &mut Echo) -> u8 { self } }
fn main() {
let _pipes = program::Pipes { client: InstalledPipe::new(Inline::for_pipe::<Worker>(Echo)) };
}