d3-derive 0.1.0

A framework for server development -- the derive macro
Documentation

Rust Derive Macro for D3 -- A Framework for Server Development

Build Status License Rust 1.47+

Custom derive for automatically implementing the MachineImpl trait for an enum, tranforming it into a d3 instruction set. d3-derive is a companion to d3-core and d3-components. Combined, they form a framework for server development.

#[macro_use]
extern crate d3_derive;

#[derive(MachineImpl)]
pub enum Foo {
    Bar,
    Baz {
        name: String,
    },
    Baa (u32),
}