elif-http-derive 0.2.11

Derive macros for elif-http declarative routing and controller system
Documentation
1
2
3
4
5
6
7
error: controller attribute must be applied to an impl block or struct. Hint: Use `#[controller("/path")] impl MyController { ... }` or `#[controller("/path")] struct MyController;`
 --> tests/ui/fail/controller_on_enum.rs:6:1
  |
6 | #[controller("/api")]
  | ^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the attribute macro `controller` (in Nightly builds, run with -Z macro-backtrace for more info)