✨ (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:
parent
bea4b3f30d
commit
c34dc02357
4 changed files with 529 additions and 275 deletions
|
|
@ -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};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue