strict-typing 0.1.0

A procedural macro for ensuring strict type safety.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use strict_typing::strict_types;

struct Velocity(f64);
struct Tag(String);

#[strict_types]
enum Event {
    Click { x: Velocity, y: Velocity },
    Label(Tag),
    Disconnect,
}

fn main() {}