Chris Wong
87b7c9c2ba
Release 0.22.2 ( #253 )
2021-01-09 18:01:17 +13:00
Chris Wong
b286c65939
Use Span::mixed_site
directly from proc-macro2 ( #254 )
...
Since 1.0.19, `proc-macro2` now provides `Span::mixed_site` directly.
2021-01-09 17:15:43 +13:00
Chris Wong
0c9b6f2150
Release 0.22.1 ( #235 )
...
* Release 0.22.1
* Update benchmarks and docs dependencies
* Comrak breaking change
2020-11-02 19:24:13 +13:00
Chris Wong
d66c2d66fd
Remove #![feature(proc_macro_hygiene)]
( #216 )
2020-09-27 23:17:41 +10:00
Chris Wong
50a7e9ce37
Format everything!
2020-09-27 21:36:27 +10:00
CreepySkeleton
7b06af4369
Fix cargo clippy lints
2020-08-31 11:57:56 +03:00
CreepySkeleton
ef120ab2d0
Transfer codebase from ParseResult to abort!
2020-08-30 23:28:49 +03:00
Byte
a10130a9ac
Switch to 3rd party quote
macro ( #201 )
...
* Add proc_macro2 and quote dependencies
* Completly switch over to proc_macro2 where possible
* Remove unessesary ::from casts
* Remove pendantic cast that i missed
* Make Builder::push_tokens accept TokenStream
* Remove stray commented out code
* Reword unclear comment on `Span` to a todo item
* Move comment closer to its intended line
* Use into instead of explicit conversion
2020-07-12 21:42:14 +10:00
Chris Wong
34a79ee706
Release 0.22
2020-06-20 19:57:51 +10:00
Byte
03e03e2e7d
Replace Span::def_site and remove #![feature(proc_macro_def_site)] ( #193 )
2020-06-14 22:29:51 +10:00
Chris Wong
5e2c9e26a8
Release 0.21.0
2019-07-01 21:03:44 +12:00
Chris Wong
b86ba7af85
Use absolute paths in generated code
...
Closes #170
2019-03-28 20:18:12 +13:00
Chris Wong
39f543c819
Rust 2018
2019-03-16 20:18:58 +13:00
Chris Wong
6de2cf1998
Release 0.20.0
2019-01-17 16:01:55 +13:00
Chris Wong
0ccb2829c9
Release 0.19.0
2018-10-20 17:15:57 +13:00
Chris Wong
365d0ab956
Update to rustc 1.31.0-nightly (77af31408 2018-10-11)
2018-10-12 19:26:16 +13:00
Chris Wong
6aee65a6f1
Update to rustc 1.31.0-nightly (fddcd316a 2018-10-05)
2018-10-06 18:03:15 +13:00
Chris Wong
35d5204cab
Update to rustc 1.30.0-nightly (9395f0af7 2018-09-02)
2018-09-03 20:01:39 +12:00
Chris Wong
f17e21423e
Remove #![feature(use_extern_macros)]
2018-08-18 16:25:15 -07:00
Chris Wong
de6f654614
Release 0.18.1
2018-07-18 20:03:44 +12:00
Chris Wong
8dbcdab2bf
Update to rustc 1.29.0-nightly (1ecf6929d 2018-07-16)
...
Closes #139
2018-07-18 19:41:47 +12:00
Chris Wong
aadc749715
Release 0.18.0
2018-07-15 21:46:16 +12:00
Chris Wong
12282093eb
Use diagnostic API everywhere
2018-06-22 21:28:35 +12:00
Chris Wong
67b6fb05e9
Release 0.17.5
2018-05-26 11:57:51 +12:00
Chris Wong
2455de589c
Update to rustc 1.27.0-nightly (2f2a11dfc 2018-05-16)
2018-05-17 20:55:29 +12:00
Chris Wong
9d90e94c87
Change macro internals to use an explicit AST ( #127 )
2018-05-17 20:38:44 +12:00
Chris Wong
7c63fc138a
Release 0.17.4
2018-05-02 20:49:17 +12:00
Chris Stadler
e606e64ef2
Enable proc_macro_non_items feature flag
2018-04-28 12:59:24 +12:00
Chris Wong
41f7744fe1
Release 0.17.3
2018-04-21 17:20:42 +12:00
Chris Wong
dd9d892b8d
Fix up some minor issues
2018-04-16 20:29:32 +12:00
Coleman McFarland
f75da83a60
Pre-allocate sufficient size for our output String
2018-04-16 01:06:19 -07:00
Coleman McFarland
0f453a5568
Refactor to keep up with changes to proc_macro
...
Instead of a `kind` field containting a `TokenNode` variant, a
TokenTree is now an enum with variants of different types (Literal, Op,
Term, etc). Note that a TokenTree could be a sequence of TokenTrees if it is a
Group variant.
Other notes:
I'm unsure about the set_span call in Builder::emit_if, but I did not want to
throw away the passed in Span.
Parsing relies on destructuring references to the values associated with
TokenTree enum variants
It doesn't seem as easy to compose/chain TokenStreams as it is to
collect a Vec<TokenTree> into a TokenStream. There is probably some
iterator API I could use instead. See `match_arms` and build.rs
Refs #121
2018-04-12 14:19:26 -07:00
Chris Wong
62298aec55
Release 0.17.2
2017-11-19 20:12:38 +13:00
Chris Wong
cc833dd624
Update to rustc 1.23.0-nightly (6160040d8 2017-11-18)
2017-11-19 19:55:11 +13:00
Chris Wong
5cd51481c9
Rename Renderer to Builder
2017-08-12 17:41:54 +12:00
Chris Wong
9487dbc3a7
Move some code around
2017-08-12 16:21:13 +12:00
Chris Wong
080b461f1b
Release 0.17.1
2017-08-11 21:15:20 +12:00
Chris Wong
752c4805e4
Release 0.17.0
2017-08-04 22:22:38 +12:00
Chris Wong
3de5f7f3e9
Move lints into their own maud_lints crate
2017-07-30 22:18:26 +12:00
Chris Wong
2213c0dc32
Move escaping routines into a shared maud_htmlescape crate
2017-07-29 20:03:00 +12:00
Chris Wong
fd7e000cda
TokenTreeIter values can be cloned now
2017-07-29 13:24:40 +12:00
Chris Wong
e0c7fcf055
Initial stab at porting to new proc macro interface
2017-07-23 13:58:42 +12:00
Chris Wong
04eb61e870
Use docs.rs for hosting API documentation
2017-06-19 21:25:19 +12:00
Chris Wong
348712f3f4
Add #![doc(html_root_url = "...")] attribute
2017-05-13 14:16:41 +12:00
Chris Wong
dde603757d
Rename PResult
to ParseResult
2017-04-22 17:29:56 +12:00
Chris Wong
dfe721c6b7
Update to rustc 1.18.0-nightly (1785bca51 2017-04-21)
...
Closes #80
2017-04-22 17:29:56 +12:00
Chris Wong
fe08789e3f
Make PResult
type private
...
Not sure why it was public in the first place
2017-02-11 17:19:12 +13:00
Chris Wong
c849d9efdf
Use if_chain from crates.io
2016-12-29 12:20:08 +13:00
Chris Wong
f991ebaa78
Lint against PreEscaped("<!DOCTYPE html>")
...
See #66
2016-12-27 21:27:54 +13:00
Chris Wong
7f7deb7af5
Remove #![feature(question_mark)]
...
Apparently that feature is stable now
2016-10-17 21:41:33 +13:00