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
//! Test that HTTP method macros on structs fail

use elif_http_derive::get;

// This should fail - HTTP method macros should only work on functions
#[get("/test")]
pub struct BadStruct;

fn main() {}