Adrian Heine
46a2794a87
Rename more typed-html references
...
This also fixes the documentation links from axohtml_macros to axohtml.
2023-03-14 13:36:23 +01:00
Samuel El-Borai
95764776f2
Remove use of deprecated proc_macro_hack
...
This fixes the error:
"unresolved macro `$crate::proc_macro_call_dodrio!`" from the file
examples/dodrio/counter/src/lib.rs.
Quoting proc_macro_hack documentation:
> Note: As of Rust 1.45 this crate is superseded by native support for
> #[proc_macro] in expression position. Only consider using this crate
> if you care about supporting compilers between 1.31 and 1.45.
Source: https://docs.rs/proc-macro-hack/latest/proc_macro_hack/index.html
2022-01-27 18:16:32 +00:00
Bodil Stokke
a39ccf737f
Support boolean attrs, child blocks, and port TodoMVC example.
2019-03-16 21:14:38 +00:00
Bodil Stokke
813121b3a7
Dodrio support with a bespoke macro.
2019-03-16 03:18:49 +00:00
Bodil Stokke
818c8ebdac
Make it generic on event type, determined by output type.
...
Unfortunately, this means the macro now requires a type annotation when
using event handlers.
Closes #6 , #17 .
2018-12-01 18:33:34 +00:00
David Tolnay
893566118d
Remove proc_macro_hygiene feature
2018-11-18 02:45:06 -08:00
David Tolnay
54f35aae28
Remove proc_macro_span feature
2018-11-18 02:45:06 -08:00
David Tolnay
dcda57c8af
Remove proc_macro_diagnostic feature
2018-11-18 02:45:04 -08:00
David Tolnay
78f0e9b1e6
Remove proc_macro_quote feature
2018-11-17 23:38:39 -08:00
Bodil Stokke
bc94387213
Toplevel docs.
2018-11-17 21:49:45 +00:00
Bodil Stokke
276ba31432
Documentation++.
2018-11-17 20:38:07 +00:00
Bodil Stokke
7d1e95f262
Completely transitioned to LALRPOP and new declare macro.
2018-11-14 16:22:07 +00:00
Bodil Stokke
cb7e148310
A mess of LALRPOP.
2018-11-14 00:30:59 +00:00
Bodil Stokke
d25c4d5624
Improve parser error reporting.
2018-11-13 14:31:44 +00:00
Bodil Stokke
858b16cf34
Drop the bad Rust 2018 Cargo forces on you. Rewrite to work with actual native proc_macros.
2018-10-27 19:49:52 +01:00
Bodil Stokke
dee331c5eb
Cleanup, reorg, data attributes.
2018-10-27 17:00:43 +01:00
Bodil Stokke
4f8b4e2b20
The nastiest element declaration macro.
2018-10-27 03:11:00 +01:00
Bodil Stokke
3bc444068c
Make it so.
2018-10-26 22:02:21 +01:00