# `autortr_rocket` `autortr_rocket` is a lightweight Rust library designed for automatic route mapping in web applications for the `Rocket` framework. It simplifies the process of defining and managing `HTTP` routes by automatically registering functions annotated with custom attributes like `#[request_mapping]` Or `#[get_mapping]`, `#[post_mapping]`, `#[patch_mapping]`, `#[put_mapping]`,`#[delete_mapping]` and `#[head_mapping]`. ## 1.`Usage` Add this to your `Cargo.toml`: ```toml [dependencies] autortr_rocket = "0.2" # And # If necessary rocket = "${version}" lazy_static = "${version}" ctor = "${version}" ``` ## 2.`APIs` ### 2.0.`Macros` - `#[request_mapping]` - `namespace` - `method` - `GET` - `POST` - `PUT` - `PATCH` - `DELETE` - `HEAD` - `path` - `data` - `