elif-http-derive 0.2.11

Derive macros for elif-http declarative routing and controller system
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Test that controller macro on enum fails

use elif_http_derive::controller;

// This should fail - controller macro should only work on structs
#[controller("/api")]
pub enum BadController {
    Variant,
}

fn main() {}