♻️ (macros): Adapta main y test a Tokio
`#[pagetop::main]` y `#[pagetop::test]` expanden ahora a `#[tokio::main]` y `#[tokio::test]`, eliminando la dependencia de Actix-web.
This commit is contained in:
parent
c1afe0e70c
commit
7d43742a11
5 changed files with 12 additions and 13 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use proc_macro2::{Ident, Span, TokenStream};
|
||||
use quote::{quote, ToTokens};
|
||||
use syn::{parse_quote, token::Brace, Expr, Local};
|
||||
use quote::{ToTokens, quote};
|
||||
use syn::{Expr, Local, parse_quote, token::Brace};
|
||||
|
||||
use crate::maud::{ast::*, escape};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue