David Tolnay
b975550678
Release 0.6.3
2018-05-28 21:15:32 -07:00
David Tolnay
11477965e3
Merge pull request #74 from hcpl/replace-deprecated
...
Replace `TokenStream::empty` with `TokenStream::new`
2018-05-28 21:14:03 -07:00
hcpl
6506e16aca
Replace TokenStream::empty
with ::new
...
`TokenStream::empty` is deprecated since `proc-macro2` 0.4.4.
2018-05-29 07:05:50 +03:00
David Tolnay
ab3d5000c6
Release 0.6.2
2018-05-21 09:30:42 -07:00
David Tolnay
d4211c4b14
Quote has been updated to call_site by default
2018-05-21 09:30:14 -07:00
David Tolnay
ddcf528fdc
Update link to proc-macro2 Span API
2018-05-21 09:29:45 -07:00
David Tolnay
7f9e27e7c1
Link to release notes
2018-05-20 22:37:16 -07:00
David Tolnay
7946ea340e
Release 0.6.1
2018-05-20 22:05:14 -07:00
David Tolnay
68cd090799
Eliminate references to Tokens
2018-05-20 22:04:52 -07:00
David Tolnay
e62263ff70
Release 0.6.0
2018-05-20 19:38:16 -07:00
David Tolnay
55fb078112
Add back a proc-macro dependency in case we find we need it
2018-05-20 17:18:26 -07:00
David Tolnay
92eba1f874
Merge pull request #73 from alexcrichton/next
...
Update to proc-macro2 0.4
2018-05-17 11:03:40 -07:00
David Tolnay
2d8ef48384
Brief explanation of TokenStreamExt trait
2018-05-17 10:58:28 -07:00
David Tolnay
f47adf390e
Format with rustfmt 0.7.0
2018-05-17 10:55:59 -07:00
David Tolnay
6e5f38911c
Seal the TokenStreamExt trait
2018-05-17 10:55:44 -07:00
David Tolnay
dce26ff9af
Move TokenStreamExt trait to ext.rs
2018-05-17 10:54:48 -07:00
David Tolnay
ab935db3f8
Remove references to quote/proc-macro feature
2018-05-17 10:46:01 -07:00
David Tolnay
eed3a2aba5
Optimize into_token_stream for TokenStream
...
This optimization used to be in the impl ToTokens for Tokens.
2018-05-17 10:41:59 -07:00
Alex Crichton
9604c635f8
Prepare for the next proc-macro2 release
...
Depends on alexcrichton/proc-macro2#90
2018-05-17 10:34:08 -07:00
David Tolnay
c1ff101f5f
Format example code in rustfmt style
2018-05-14 09:28:13 -07:00
David Tolnay
fa988fe9cb
Link to some limitations
2018-05-04 09:52:12 -07:00
David Tolnay
d5baceb7c5
Release 0.5.2
2018-04-21 10:40:41 -07:00
David Tolnay
8df6c7324d
Implement ToTokens for proc_macro2::Op, Group
2018-04-21 10:40:04 -07:00
David Tolnay
45d3801fde
Release 0.5.1
2018-03-31 22:59:53 +02:00
David Tolnay
4a2f2cacdd
Include readme metadata in Cargo.toml
2018-03-31 22:59:32 +02:00
David Tolnay
b4d53e67b2
Release 0.5.0
2018-03-31 22:55:49 +02:00
David Tolnay
622e7b535f
Format with rustfmt 0.4.1
2018-03-31 22:00:32 +02:00
David Tolnay
9efc2e52b3
Merge pull request #62 from staktrace/standalone
...
Add proc-macro feature to control the runtime dependency on rustc toolchain libs
2018-03-31 11:56:58 +02:00
Kartikaya Gupta
7ef4822746
Add a feature for linking to proc_macro.
...
This feature is enabled by default for backwards compatibility, but
it can be disabled in order to break the runtime dependency on
the dynamic library libproc_macro in the rustc toolchain.
2018-03-31 11:55:22 +02:00
David Tolnay
5a1b906e56
Merge pull request #66 from alexcrichton/v3
...
Update to the proc-macro2 0.3.0 branch
2018-03-31 11:49:21 +02:00
Alex Crichton
0f60738c5a
Update to the proc-macro2 0.3.0 branch
2018-03-31 11:48:42 +02:00
David Tolnay
062a4b9b3c
Document why quote_spanned should be formatted the way we recommend
2018-03-30 11:34:34 +02:00
David Tolnay
3bdfd716aa
Release 0.4.2
2018-01-08 13:24:19 -08:00
David Tolnay
a2aa4d09ed
Merge pull request #59 from mystor/tt_eq_hash
...
Implement Hash and PartialEq for quote::Tokens
2018-01-08 13:23:38 -08:00
Nika Layzell
33eb276a63
Implement Hash and PartialEq for quote::Tokens
2018-01-08 16:17:00 -05:00
David Tolnay
c8f09623ba
Release 0.4.1
2018-01-08 11:17:58 -08:00
David Tolnay
4047de7663
Implement IntoIterator for Tokens
...
This allows a Tokens to be passed to Tokens::append_all.
tokens.append_all(quote!(...));
2018-01-08 11:15:53 -08:00
David Tolnay
5520c53d81
Release 0.4.0
2018-01-08 08:11:41 -08:00
David Tolnay
8b457c25cf
Upgrade to proc-macro2 0.2
2018-01-08 08:10:29 -08:00
David Tolnay
3569255089
Set html_root_url
2018-01-08 08:08:21 -08:00
David Tolnay
3688c4a4ca
Readme for quote 0.4
2018-01-06 10:44:23 -08:00
David Tolnay
92b47f21c3
Doc tweaks
2018-01-06 10:40:59 -08:00
David Tolnay
a3ef0148c6
Crate-level documentation
2018-01-06 10:24:39 -08:00
David Tolnay
2a88cd835a
Tokens documentation
2018-01-06 10:24:32 -08:00
David Tolnay
0510e99ecb
Implement ToTokens for TokenNode
2018-01-06 09:58:09 -08:00
David Tolnay
63e52822c3
Implement ToTokens for Literal
2018-01-06 09:57:33 -08:00
David Tolnay
cf3b56392c
Default for Tokens can be derived
2018-01-06 09:56:21 -08:00
David Tolnay
1f11ce282e
Organize ToTokens implementations
2018-01-06 09:55:34 -08:00
David Tolnay
4189356a5d
Remove ByteStr
...
Users can now build a `Literal::byte_string(bytes)` and interpolate that.
2018-01-06 09:48:29 -08:00
David Tolnay
9ae2877249
ToTokens documentation
2018-01-06 09:44:39 -08:00