fsm-macro 0.1.0

A statically checked finite state machine written in rust.
Documentation
use fsm_macro::fsm;

fsm! {
    initial = A
        A
        B
        C
        end = C, B

        A -> B: b
        A -> A: a
        B -> C: c
}

#[test]
fn compiles() {
    let t = trybuild::TestCases::new();
    t.pass("tests/compile.rs");
    t.pass("tests/calling.rs");
    t.pass("tests/history.rs");
    // t.pass("tests/order.rs");
}