synctick-derive 0.1.0

Wire and StableHash derive macros for Synctick
Documentation

synctick-derive

Wire and StableHash derive macros for Synctick.

Derive macros for deterministic command encoding and state hashing. Use the Wire and StableHash re-exports from synctick; ordinary consumers do not need a direct dependency on this implementation crate.

use synctick::{StableHash, Wire};

#[derive(Wire, StableHash)]
struct Move {
    x: i32,
    y: i32,
}

See the integration guide and examples.

Licensed under the Apache License, Version 2.0. See NOTICE.