[dependencies.proc-macro-error]
version = "1.0"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
features = ["full"]
version = "2.0"
[dev-dependencies.axum]
version = "0.8.8"
[dev-dependencies.axum-extra]
features = ["cookie"]
version = "0.12"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tokio]
features = ["full"]
version = "1.0"
[dev-dependencies.tower]
features = ["util"]
version = "0.5"
[dev-dependencies.tower-sessions]
version = "0.14"
[[example]]
name = "01_basic_routing"
path = "examples/01_basic_routing.rs"
[[example]]
name = "02_path_params"
path = "examples/02_path_params.rs"
[[example]]
name = "03_query_params"
path = "examples/03_query_params.rs"
[[example]]
name = "04_json_body"
path = "examples/04_json_body.rs"
[[example]]
name = "05_form_data"
path = "examples/05_form_data.rs"
[[example]]
name = "06_text_body"
path = "examples/06_text_body.rs"
[[example]]
name = "07_bytes"
path = "examples/07_bytes.rs"
[[example]]
name = "08_headers"
path = "examples/08_headers.rs"
[[example]]
name = "09_cookies"
path = "examples/09_cookies.rs"
[[example]]
name = "10_sessions"
path = "examples/10_sessions.rs"
[[example]]
name = "11_state"
path = "examples/11_state.rs"
[[example]]
name = "12_response_headers"
path = "examples/12_response_headers.rs"
[[example]]
name = "13_middleware"
path = "examples/13_middleware.rs"
[[example]]
name = "14_mixed_extractors"
path = "examples/14_mixed_extractors.rs"
[[example]]
name = "15_multiple_controllers"
path = "examples/15_multiple_controllers.rs"
[features]
cookies = []
default = []
headers = []
sessions = []
[lib]
name = "route_controller"
path = "src/lib.rs"
proc-macro = true
[package]
authors = ["Athish Venkatesh <athishaves@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming", "web-programming::http-server"]
description = "A procedural macro for generating Axum routers from controller-style implementations with support for route prefixing and middleware"
documentation = "https://docs.rs/route_controller"
edition = "2024"
homepage = "https://github.com/athishaves/route_controller"
keywords = ["axum", "router", "controller", "macro", "web"]
license = "MIT"
name = "route_controller"
readme = "README.md"
repository = "https://github.com/athishaves/route_controller"
rust-version = "1.85"
version = "0.2.0"
[[test]]
name = "01_basic_routing"
path = "tests/01_basic_routing.rs"
[[test]]
name = "02_path_params"
path = "tests/02_path_params.rs"
[[test]]
name = "03_query_params"
path = "tests/03_query_params.rs"
[[test]]
name = "04_json_body"
path = "tests/04_json_body.rs"
[[test]]
name = "05_form_data"
path = "tests/05_form_data.rs"
[[test]]
name = "06_text_body"
path = "tests/06_text_body.rs"
[[test]]
name = "07_bytes"
path = "tests/07_bytes.rs"
[[test]]
name = "08_headers"
path = "tests/08_headers.rs"
[[test]]
name = "09_cookies"
path = "tests/09_cookies.rs"
[[test]]
name = "10_sessions"
path = "tests/10_sessions.rs"
[[test]]
name = "11_state"
path = "tests/11_state.rs"
[[test]]
name = "12_middleware"
path = "tests/12_middleware.rs"
[[test]]
name = "13_response_headers"
path = "tests/13_response_headers.rs"
[[test]]
name = "14_mixed_extractors"
path = "tests/14_mixed_extractors.rs"
[[test]]
name = "15_edge_cases"
path = "tests/15_edge_cases.rs"
[[test]]
name = "16_error_validation"
path = "tests/16_error_validation.rs"
[[test]]
name = "17_feature_validation"
path = "tests/17_feature_validation.rs"
[[test]]
name = "18_edge_cases_validation"
path = "tests/18_edge_cases_validation.rs"