(macros): Añade #[builder_impl]

Aplica `#[builder_fn]` a todos los métodos `with_...()` de un bloque
`impl` o de una definición de trait de una vez, sin anotarlos uno a uno.
This commit is contained in:
Manuel Cillero 2026-08-29 19:19:58 +02:00
parent bea4b3f30d
commit c34dc02357
4 changed files with 529 additions and 275 deletions

View file

@ -140,7 +140,7 @@ pub const PAGETOP_VERSION: &str = env!("CARGO_PKG_VERSION");
/// [`impl Extension`](crate::core::extension::Extension).
pub use async_trait::async_trait;
pub use pagetop_macros::{AutoDefault, builder_fn, html, main, test};
pub use pagetop_macros::{AutoDefault, builder_fn, builder_impl, html, main, test};
pub use pagetop_statics::{StaticFile, resource};