From 902ef858ce600b1c15a4a729b4473e1047e2c1ac Mon Sep 17 00:00:00 2001 From: Tristan Druyen Date: Tue, 15 Apr 2025 14:28:07 +0200 Subject: [PATCH] Bump version to 0.3.2 --- CHANGELOG.md | 6 ++++++ Cargo.lock | 23 ++++++++++++++++------- Cargo.toml | 2 +- src/lib.rs | 3 --- 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e3d130..7b2d756 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file. - No changes yet +## [0.3.2] - 2025-04-15 +- Refactor internals +- Add solid testing + - explicitly test generated macro output using macrotest + - test error output using trybuilt + ## [0.3.1] - 2025-04-15 - Fix invalid doc links diff --git a/Cargo.lock b/Cargo.lock index b97d71e..64afad5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,7 +94,7 @@ dependencies = [ [[package]] name = "axum-folder-router" -version = "0.3.1" +version = "0.3.2" dependencies = [ "anyhow", "axum", @@ -324,9 +324,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "libc" -version = "0.2.171" +version = "0.2.172" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" +checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" [[package]] name = "lock_api" @@ -396,7 +396,7 @@ checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", "wasi", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -630,7 +630,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" dependencies = [ "libc", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -680,7 +680,7 @@ dependencies = [ "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -809,7 +809,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys", + "windows-sys 0.59.0", ] [[package]] @@ -821,6 +821,15 @@ dependencies = [ "windows-targets", ] +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets", +] + [[package]] name = "windows-targets" version = "0.52.6" diff --git a/Cargo.toml b/Cargo.toml index 6998f67..32e2a06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axum-folder-router" -version = "0.3.1" +version = "0.3.2" edition = "2024" readme = "./README.md" authors = ["Tristan Druyen "] diff --git a/src/lib.rs b/src/lib.rs index d9858bc..4dbe3ec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -190,9 +190,6 @@ impl ModuleDir { /// * `state_type` - The type name of your application state that will be shared /// across all routes /// -/// This will scan all `route.rs` files in the `./src/api` directory and its -/// subdirectories, automatically mapping their path structure to URL routes -/// with the specified state type. #[allow(clippy::missing_panics_doc)] #[proc_macro_attribute] pub fn folder_router(attr: TokenStream, item: TokenStream) -> TokenStream {