queuey-macros 0.3.0

Derive macros (#[derive(Queues)], #[derive(Job)]) for queuey
Documentation
1
2
3
4
5
6
7
8
9
10
11
use queuey_macros::Queues;

// `Copy` is intentionally not derived here: the payload field would add a
// second, unrelated error to the expected output.
#[derive(Debug, Clone, PartialEq, Eq, Hash, Queues)]
enum AppQueues {
    Emails,
    Images(String),
}

fn main() {}