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
12
13
14
15
//! Test invalid module section names

use elif_http_derive::module;

pub struct UserService;
pub struct UserController;

// Invalid section name should cause error
#[module(
    invalid_section: [UserService],
    controllers: [UserController]
)]
pub struct InvalidSectionModule;

fn main() {}