Commit Graph

56 Commits

Author SHA1 Message Date
徐未来
a27120161a 1.0.23升级至1.0.35
Signed-off-by: 徐未来 <xuweilai2@huawei.com>
2024-04-02 17:14:42 +08:00
openharmony_ci
fb0b667103
回退 'Pull Request !3 : quote1.0.23升级至1.0.35' 2024-04-02 03:33:02 +00:00
徐未来
27c12e83f4 1.0.23升级至1.0.35
Signed-off-by: 徐未来 <xuweilai2@huawei.com>
2024-03-11 18:55:48 +08:00
David Tolnay
ead304a8b5
Update build status badge 2022-12-15 17:52:42 -08:00
David Tolnay
c488922051
Use upstreamed docs.rs icon in docs.rs badge 2022-06-11 10:15:58 -07:00
David Tolnay
a429f64194
Merge pull request 157 from vorner/readme-non-macro 2020-05-16 00:39:42 -07:00
Michal 'vorner' Vaner
dcee953c63
Further little alert about non-macro generation 2020-05-14 16:56:45 +02:00
David Tolnay
b5d92a4511
Add tip about rustfmt for non-macro code generators 2020-05-13 22:44:00 -07:00
David Tolnay
68ff242bf2
Organize readme a bit 2020-05-13 22:30:13 -07:00
David Tolnay
3f8d354dbf
Add crosslink icons to readme and rustdoc 2020-05-12 23:01:58 -07:00
David Tolnay
0d5e151ade
Update build status badge to GitHub Actions 2020-05-06 00:11:22 -07:00
David Tolnay
53c2e79ddc
Fix rustc version range in readme 2020-03-19 23:14:47 -07:00
Nika Layzell
35ec18343c Encourage format_ident over Ident::new() 2019-08-16 12:23:29 -07:00
Nika Layzell
c6a5958a87 Add format_ident example from lib.rs to the README 2019-08-16 12:10:17 -07:00
David Tolnay
40f0213ef1
Update to 1.0 in readme and links
Fixes #126.
2019-08-14 21:59:44 -07:00
David Tolnay
5218552d94
Em dashes 2019-08-10 13:51:22 -07:00
David Tolnay
57038ba5e4
Smaller format for license section 2019-05-18 17:21:27 -07:00
David Tolnay
b248452fa2
Port examples from readme to rustdoc 2019-01-19 18:50:09 -08:00
David Tolnay
0f6027e204
Clarify example on making method calls 2019-01-19 18:50:08 -08:00
David Tolnay
d601e32f50
Clarify example on manipulating identifiers 2019-01-19 18:50:07 -08:00
David Tolnay
feb4c0da23
Clarify example on combining fragments 2019-01-19 18:50:07 -08:00
David Tolnay
9d15f7843f
Explain how to return tokens to the compiler 2019-01-19 18:50:06 -08:00
David Tolnay
03ec289b19
Use PhantomData from libcore in examples 2019-01-19 18:50:03 -08:00
David Tolnay
4afbfbae17
Extern crate is no longer needed in readme 2019-01-19 18:50:02 -08:00
Carl
72fcf7e20e
Added some helpful examples of special behaviors.
Added some examples to readme where it's difficult to use quote!, cases where I spent some time figuring out how to use it.
2019-01-19 15:26:42 +01:00
David Tolnay
41ab3152a8
Update Serde snippet to 1.0 api 2018-07-22 11:17:56 -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
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
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
b4d53e67b2
Release 0.5.0 2018-03-31 22:55:49 +02:00
David Tolnay
8b457c25cf
Upgrade to proc-macro2 0.2 2018-01-08 08:10:29 -08:00
David Tolnay
3688c4a4ca
Readme for quote 0.4 2018-01-06 10:44:23 -08:00
David Tolnay
873c0d0ecd
Link to page with slides 2017-07-15 19:08:42 -07:00
David Tolnay
a4771d6bbc
Mention that this is like macro_rules 2017-05-10 10:52:49 -07:00
Thomas Schaller
76183d3f2d Document trailing comma in README 2017-05-10 19:43:34 +02:00
David Tolnay
0ed41b424f
Nice work @asajeffrey 2017-03-09 19:22:57 -08:00
David Tolnay
112fbdceca
Clarify recursion_limit requirement 2017-01-13 00:43:13 -08:00
David Tolnay
2ac3cfad2e
More explanation in readme 2016-12-31 00:53:44 -08:00
David Tolnay
f54f8b216a
Clarify the readme version 2016-11-25 09:53:04 -08:00
Simon Sapin
c4a15f8e8e Add Ident.
When using quote without syn to generate code in a build script,
this is useful to synthesize identifiers in the generated code.

(Quoting &str or String produces a string literal.)
2016-11-25 13:33:14 +01:00
David Tolnay
a224ae47be
Mention as_str() in documentation 2016-11-24 12:46:41 -08:00
David Tolnay
244ece1bce
Link to docs.rs for the rustdocs 2016-11-24 12:16:04 -08:00
David Tolnay
ccf5871483
Mention recursion limit in readme 2016-11-06 19:19:49 -08:00
David Tolnay
9b93325430
Re-brand 2016-10-30 21:58:32 -07:00
David Tolnay
899e7d672f
More distinct rustdoc shield 2016-10-17 11:40:11 -07:00
David Tolnay
1551ce0082
Document quote::Tokens 2016-10-17 11:37:45 -07:00