Bump version to 0.3.2

This commit is contained in:
Tristan D. 2025-04-15 14:28:07 +02:00
parent 9b90c53b35
commit 902ef858ce
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4
4 changed files with 23 additions and 11 deletions

View file

@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
- No changes yet - 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 ## [0.3.1] - 2025-04-15
- Fix invalid doc links - Fix invalid doc links

23
Cargo.lock generated
View file

@ -94,7 +94,7 @@ dependencies = [
[[package]] [[package]]
name = "axum-folder-router" name = "axum-folder-router"
version = "0.3.1" version = "0.3.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",
@ -324,9 +324,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.171" version = "0.2.172"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
[[package]] [[package]]
name = "lock_api" name = "lock_api"
@ -396,7 +396,7 @@ checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
dependencies = [ dependencies = [
"libc", "libc",
"wasi", "wasi",
"windows-sys", "windows-sys 0.52.0",
] ]
[[package]] [[package]]
@ -630,7 +630,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef"
dependencies = [ dependencies = [
"libc", "libc",
"windows-sys", "windows-sys 0.52.0",
] ]
[[package]] [[package]]
@ -680,7 +680,7 @@ dependencies = [
"signal-hook-registry", "signal-hook-registry",
"socket2", "socket2",
"tokio-macros", "tokio-macros",
"windows-sys", "windows-sys 0.52.0",
] ]
[[package]] [[package]]
@ -809,7 +809,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [ dependencies = [
"windows-sys", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -821,6 +821,15 @@ dependencies = [
"windows-targets", "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]] [[package]]
name = "windows-targets" name = "windows-targets"
version = "0.52.6" version = "0.52.6"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "axum-folder-router" name = "axum-folder-router"
version = "0.3.1" version = "0.3.2"
edition = "2024" edition = "2024"
readme = "./README.md" readme = "./README.md"
authors = ["Tristan Druyen <ek36g2vcc@mozmail.com>"] authors = ["Tristan Druyen <ek36g2vcc@mozmail.com>"]

View file

@ -190,9 +190,6 @@ impl ModuleDir {
/// * `state_type` - The type name of your application state that will be shared /// * `state_type` - The type name of your application state that will be shared
/// across all routes /// 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)] #[allow(clippy::missing_panics_doc)]
#[proc_macro_attribute] #[proc_macro_attribute]
pub fn folder_router(attr: TokenStream, item: TokenStream) -> TokenStream { pub fn folder_router(attr: TokenStream, item: TokenStream) -> TokenStream {