diff --git a/Cargo.toml b/Cargo.toml index 45386f9..008ff46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluer" -version = "0.4.2" +version = "0.5.0" edition = "2021" authors = ["Nils Wrenger "] description = "A wrapper for Rust frameworks that eliminates redundant type and function definitions between the frontend and backend" @@ -14,7 +14,7 @@ license = "MIT" [lib] [dependencies] -gluer-macros = { path = "macros", version = "0.4.2" } +gluer-macros = { path = "macros", version = "0.5.0" } axum = "0.7.5" [dev-dependencies] diff --git a/README.md b/README.md index 7576b1e..5974a8b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -gluer = "0.4.2" +gluer = "0.5.0" ``` ## Features @@ -102,7 +102,8 @@ async fn hello() -> Json { } let mut app: Api<()> = Api::new() - // Add non-API-important routes or state by accessing axum's Router directly via inner_router + // Add non-API-important routes or state by + // accessing axum's Router directly via inner_router .inner_router(|f| f.route("/", get(root))) // Add API-important routes with the route function .route("/hello-world", extract!(get(hello))); diff --git a/macros/Cargo.toml b/macros/Cargo.toml index ccc52c6..561e665 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluer-macros" -version = "0.4.2" +version = "0.5.0" edition = "2021" authors = ["Nils Wrenger "] description = "Procedural macros for the gluer framework"