bloop-protocol 1.0.0

Core implementation of the Bloop wire protocol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use bloop_protocol::{Decode, Encode, MessageSet, Payload};

#[derive(Encode, Decode, Payload)]
#[bloop(opcode = 0x80)]
struct First;

#[derive(Encode, Decode, Payload)]
#[bloop(opcode = 0x80)]
struct Second;

#[derive(MessageSet)]
enum Set {
    First(First),
    Second(Second),
}

fn main() {}