Commit Graph

365 Commits

Author SHA1 Message Date
Alex Crichton
eed4bc7b59 Fix test_generics 2018-05-17 10:59:15 -07:00
Alex Crichton
a74a1c89fd Update to the next version of proc-macro2
Depends on dtolnay/quote#73
Depends on alexcrichton/proc-macro2#90
Depends on a new nightly
2018-05-17 10:38:43 -07:00
David Tolnay
1df4ef073b
Release 0.13.10 2018-05-12 14:12:52 -07:00
David Tolnay
2e56ab679e
Release 0.13.9 2018-05-11 23:23:06 -07:00
David Tolnay
8d982003d9
Build with all features on play.rust-lang.org 2018-05-11 23:22:30 -07:00
David Tolnay
ee7e98810d
Revert "Build with all features on play.rust-lang.org"
This reverts commit 04257e83cd.
2018-05-11 23:21:31 -07:00
David Tolnay
d1dcfb018b
Release 0.13.8 2018-05-11 10:35:24 -07:00
David Tolnay
04257e83cd
Build with all features on play.rust-lang.org 2018-05-11 01:34:37 -07:00
David Tolnay
38d79dab25
Release 0.13.7 2018-05-05 10:38:20 -07:00
David Tolnay
e3d6b47b86
Release 0.13.6 2018-05-05 00:34:01 -07:00
David Tolnay
bf8ed87a82
Release 0.13.5 2018-05-04 11:01:35 -07:00
David Tolnay
7046d7258c
Release 0.13.4 2018-04-29 20:37:34 -07:00
David Tolnay
7ad746c899
Release 0.13.3 2018-04-29 13:17:37 -07:00
David Tolnay
a8f668174b
Release 0.13.2 2018-04-28 15:45:41 -07:00
David Tolnay
75cbd6e574
Release 0.13.1 2018-04-01 22:24:42 -07:00
David Tolnay
552ff33415
Release 0.13.0 2018-03-31 23:14:59 +02:00
David Tolnay
4c2514407f
Update to quote 0.5 2018-03-31 23:03:04 +02:00
David Tolnay
78bba1982f
Include readme metadata in Cargo.toml 2018-03-31 23:01:24 +02:00
Kartikaya Gupta
6434beb233
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 18:28:15 +02:00
Alex Crichton
9a4dca26c9
Update to proc-macro2 0.3 and tweak apis 2018-03-31 16:55:52 +02:00
David Tolnay
826fee0d89
Release 0.12.15 2018-03-28 13:59:36 +02:00
Igor Gnatenko
951a52be05
deps: update walkdir to 2
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-03-12 10:44:09 +01:00
David Tolnay
8af53999a8
Release 0.12.14 2018-03-09 00:54:16 -08:00
David Tolnay
807b5359cd
Release 0.12.13 2018-02-15 15:18:16 -08:00
Josh Stone
ba089492f8 Update to rayon 1.0 2018-02-14 23:31:03 -08:00
David Tolnay
6f03cfcdd9
Release 0.12.12 2018-02-03 09:30:53 -08:00
David Tolnay
49962c3112
Release 0.12.11 2018-02-02 22:36:07 -08:00
David Tolnay
7e0005971f
Release 0.12.10 2018-01-23 09:11:57 -08:00
David Tolnay
6044da341d
Release 0.12.9 2018-01-23 00:43:57 -08:00
David Tolnay
fe859fefba
Release 0.12.8 2018-01-23 00:35:42 -08:00
David Tolnay
24a58fddd1
Release 0.12.7 2018-01-18 23:25:51 -08:00
David Tolnay
bcf16a56e5
Release 0.12.6 2018-01-17 10:59:07 -08:00
David Tolnay
c6102110ea
Release 0.12.5 2018-01-11 20:12:57 -08:00
David Tolnay
0f9c5cce0a
Release 0.12.4 2018-01-11 17:12:19 -08:00
David Tolnay
441a7aada6
Release 0.12.3 2018-01-09 18:27:17 -08:00
David Tolnay
3c4cbf64e6
Release 0.12.2 2018-01-09 12:21:51 -08:00
David Tolnay
b56a8805fc
Fewer breaking changes these days 2018-01-09 12:21:30 -08:00
David Tolnay
9a0961a50a
Release 0.12.1 2018-01-09 10:09:22 -08:00
David Tolnay
152eb18c84
Release 0.12.0 2018-01-08 08:26:15 -08:00
David Tolnay
66bb8d51c4
Update to quote 0.4 2018-01-08 08:25:38 -08:00
David Tolnay
4cf7db8185
Link to docs.rs for documentation 2018-01-07 15:22:01 -08:00
David Tolnay
d704b9c949
Ensure all features are visible on docs.rs 2018-01-06 17:47:29 -08:00
David Tolnay
9df02c4ff1
Hyphenate cargo cfgs 2018-01-06 13:52:48 -08:00
David Tolnay
d1ec6ec6a5
Move verbase-trace to a RUSTFLAGS env flag 2018-01-03 00:24:29 -08:00
David Tolnay
3cfd1d3a10
Feature gate the derive data structures 2018-01-03 00:24:25 -08:00
David Tolnay
8d1ffa3ade
Polish dump-ast example code 2018-01-01 00:17:46 -05:00
David Tolnay
1cf8091dbe
Do not depend on quote when only parsing 2017-12-31 18:35:12 -05:00
David Tolnay
c5ab8c6b9f
Merge synom into syn 2017-12-26 21:04:29 -05:00
David Tolnay
ee97dbfc2f
Run round-trip and precedence tests in parallel 2017-11-19 15:29:38 -08:00
David Tolnay
cfa5cc0382
Test with libsyntax instead of syntex 2017-11-13 01:05:11 -08:00
David Tolnay
3d6d17cc99
Do not include tests/rust/README.md and other files 2017-11-12 11:11:44 -08:00
David Tolnay
897df29220
Remove tempdir dependency
As far as I can tell, this is no longer used.
2017-11-09 22:49:19 -08:00
David Tolnay
684dd15d56
Merge pull request #216 from dtolnay/no-error-chain
Remove error-chain dependency in doc tests
2017-11-09 22:48:11 -08:00
David Tolnay
9174b97109
Remove error-chain dependency in doc tests 2017-11-09 22:27:50 -08:00
Nika Layzell
9420467353 Switch from using a cfg to specifying required-features for the example 2017-10-26 16:43:19 -04:00
Nika Layzell
a6f46c40ff Rename methods and functions to be more uniform 2017-10-26 15:30:44 -04:00
Nika Layzell
7f5fc685f5 Link to quote when only parsing is enabled as well 2017-10-26 10:38:06 -04:00
David Tolnay
c7a5d3de89 Pare down the Synom trait
I would like to make it clearer that parsing a string is second-class
functionality compared to parsing tokens.
2017-07-06 11:59:10 -07:00
Alex Crichton
f9e8f1a7d9 Update to published version of proc_macro2 2017-07-05 18:20:44 -07:00
David Tolnay
570695ea93
Require Ident to contain a valid ident 2017-06-03 18:50:41 -07:00
David Tolnay
37ea608ccf
Remove aster
Only two libraries on GitHub are using this, and both only use
a small amount of its surface area.
2017-06-03 18:50:40 -07:00
David Tolnay
d7d8ec4049
New syntex 2017-06-01 22:37:32 -07:00
Alex Crichton
7b9e02ff90 Get synom compiling again
Add a `Synom` trait along with impls for all the base types here, to be used
later.
2017-05-30 15:54:33 -07:00
Alex Crichton
1c48953726 Merge commit '416724e44537bad521ef7fc8aad7fbcb4b31be9b' into new-parse 2017-05-30 15:09:25 -07:00
David Tolnay
0421a4576d
Use the master branch of quote 2017-05-26 16:46:46 -07:00
David Tolnay
caf1757c74
Disable publish until proc-macro2 is figured out 2017-05-26 16:42:55 -07:00
Alex Crichton
ccbb45dd92 Rewrite tokenization with proc-macro2 tokens
This ended up being a bit larger of a commit than I intended! I imagine that
this'll be one of the larger of the commits working towards #142. The purpose of
this commit is to use an updated version of the `quote` crate which doesn't work
with strings but rather works with tokens form the `proc-macro2` crate. The
`proc-macro2` crate itself is based on the proposed API for `proc_macro` itself,
and will continue to mirror it. The hope is that we'll flip an easy switch
eventually to use compiler tokens, whereas for now we'll stick to string parsing
at the lowest layer.

The largest change here is the addition of span information to the AST. Building
on the previous PRs to refactor the AST this makes it relatively easy from a
user perspective to digest and use the AST still, it's just a few extra fields
on the side. The fallout from this was then quite large throughout the
`printing` feature of the crate. The `parsing`, `fold`, and `visit` features
then followed suit to get updated as well.

This commit also changes the the semantics of the AST somewhat as well.
Previously it was inferred what tokens should be printed, for example if you
have a closure argument `syn` would automatically not print the colon in `a: b`
if the type listed was "infer this type". Now the colon is a separate field and
must be in sync with the type listed as the colon/type will be printed
unconditionally (emitting no output if both are `None`).
2017-05-26 13:59:06 -07:00
Michael Layzell
416724e445 Parse based on proc-macro2 2017-05-24 21:12:34 -04:00
Alex Crichton
2e0229cd93 Move all #[derive] impls behind Cargo feature gates
This commit moves all #[derive] annotations behind Cargo feature gates to add
the ability to strip them all out entirely. The `Clone` and `Copy` impls
continue to be enabled by default as they tend to be mega useful but other
equality/hash/debug impls are all default behind the `extra-impls` gate.

This commit, on my computer, has the following timings:

| features                      | before  | after
|-------------------------------|---------|------
| default                       | 3.67    | 2.96
| *none*                        | 1.78    | 0.49
| {printing, parsing}           | 3.71    | 2.57
| default + {full}              | 8.50    | 6.31
| {full}                        | 3.53    | 0.70
| {full, printing, parsing}     | 8.10    | 5.29

Closes #143
2017-05-23 10:59:24 -07:00
David Tolnay
2134cc20d4
Release 0.11.11 2017-04-20 10:12:33 -07:00
David Tolnay
90c07ea3a4
Release 0.11.10 2017-04-02 21:32:46 -07:00
Demur Rumed
d6bcd6a0f3 Replace time with std::time 2017-03-12 21:50:39 +00:00
David Tolnay
5e42499da9
Release 0.11.9 2017-03-06 08:41:44 -08:00
Simon Sapin
ec3cb0d26a Parse ConstExpr::Other 2017-02-27 12:28:47 +01:00
Simon Sapin
6f346b7184 quote 0.3.7 is required, syn’s test uses Tokens::as_str
This only affects running tests with an old Cargo.lock file
2017-02-27 12:06:42 +01:00
David Tolnay
f8ed9a990e
Release 0.11.7 2017-02-27 02:27:41 -08:00
David Tolnay
2ce94ed368
Release 0.11.6 2017-02-19 13:08:30 -08:00
David Tolnay
3150dfbf4e
Revert "Link to docs.rs for documentation"
This reverts commit 75abf456f9.
2017-02-19 13:00:54 -08:00
David Tolnay
337409962f
Remove clippy dependency to eliminate cycle 2017-02-19 12:30:14 -08:00
David Tolnay
b7defb7ebe
Release 0.11.5 2017-02-19 11:50:57 -08:00
David Tolnay
75abf456f9
Link to docs.rs for documentation
Fixes #95.
2017-02-19 11:49:34 -08:00
David Tolnay
ba08328052
Include readme and licenses in crates.io archive
Fixes #96.
2017-02-19 11:46:43 -08:00
Igor Gnatenko
2449b76497 Cargo.toml: bump syntex_* deps to latest (0.58.0) version
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-02-18 18:49:35 +01:00
David Tolnay
32c962e21d
Add procedural-macro-helpers category
cc https://github.com/rust-lang/crates.io/pull/545
2017-02-09 18:27:36 -08:00
David Tolnay
62f68a634c Merge pull request #85 from gnzlbg/folder
Implement Folder
2017-01-29 11:09:26 -08:00
gnzlbg
9ae88d862d Implement Folder 2017-01-29 16:35:27 +01:00
David Tolnay
5fe14fc3b7
Touch up the exposed parsers 2017-01-27 16:29:25 -08:00
Michael Layzell
5bde96feb4 Move the internal nom implementation into a seperate syn_nom crate 2017-01-27 12:30:23 -05:00
David Tolnay
b67c0b70ee
Release 0.11.4 2017-01-25 16:01:01 -08:00
David Tolnay
b95f685baf
Release 0.11.3 2017-01-25 15:53:51 -08:00
David Tolnay
3503af76ac
Release 0.11.2 2017-01-25 15:42:00 -08:00
David Tolnay
e04446e1fe
Release 0.11.1 2017-01-25 07:43:24 -08:00
Simon Sapin
fb832af5a8 Merge branch 'xidup-backport' into master. 2017-01-25 16:26:50 +01:00
Simon Sapin
07c7341b0a Update unicode-xid dependency, bump to 0.10.7. 2017-01-25 16:24:55 +01:00
David Tolnay
df8fa31c42
Release 0.11.0 2017-01-23 18:22:29 -08:00
David Tolnay
3f36a0a5d6
Remove type-macros cfg 2017-01-23 17:59:46 -08:00
David Tolnay
48088d2a0e
Drop the expander registry 2017-01-23 00:34:10 -08:00
David Tolnay
881a5efa63 Release 0.10.6
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYcUDHAAoJEPm6FDuV/22CXKUP/2+KeDEX4jJeZ4mTBOJdP5dO
 6ZSOjgO+NYQYB81Sz8yglT8RJaqW2u8nFEI9NabgaCLLpwDnZ0qaz2OD1VadKFPs
 zIuORaDEn9EDjl49qAfPdsrmRV7g+B/YqDOym3gJTKn/TBtWRhAhLSSMzkxBGLJT
 sYbbnjXT46MsbnSrHDEMBF/9SjD/JLuKv6BJrtqdaB8r7XqulcQWzlX8jCa7by0d
 JT/X4bzDopLBM/lM5HLCSTnddxDy6myNYpWlcwzfKKAXyMA3cegG5cR00anzIOfg
 LkW/Ag2YHOGLgQH5BShC7Bo1CUoFU3M50zfk346Wq6WJs/t3rtTHeOK6USbMkY2R
 TIJClfykNIN0ABKYoAbf3yMPgYO3stBjKBKL77KMjcwhHVIgEzaK3xaUI2IExc8W
 1mEi7cYYz63cEHOE/lgk6jFqn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AFGzxsN
 =JJpz
 -----END PGP SIGNATURE-----

Merge tag 0.10.6 into master

Conflicts:
    src/expr.rs
2017-01-07 11:30:12 -08:00
David Tolnay
66a31d6632
Release 0.10.6 2017-01-07 11:25:24 -08:00
David Tolnay
291b6344f1 Release 0.10.5
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYXGHaAAoJEPm6FDuV/22CbtcQAMGzcWKBRtzQg58jxLXVcfBO
 d4bIDIu0a2T8ZFmiEVw+cYKrN/SXqf45g0rD+fmKCRbPa7aSDya9QvUIWlsxXryO
 rHW1Yf0VigPhFY1UmfWIA87ktEn8tpOJcwIfiWGbpAnqu9D4WVMLy+MdmYicnp3e
 Yn75EWyeP3X4GCzZxoG6H2vAbNmzG7d4aoJc8z0247FLpADN25qjAfPcgi6p0jni
 gKe4GKEY57iWyWe4ckX+Ck0/XrBJBML7cixDEo3dI0otBZg+toBb/C6cokonajlz
 hygmOaGhfRSkqR3YMOnYDqW3O2jZz1XuHo7i0kqm/dYXrk4gc15MlxU1r/ewliXu
 MTbBe3ZM32fHJPZP3DEqKJupgOgZEUpqmb+yp7ReVxFECwM00nSLRMUBnbv4oHY9
 5hnaq53scz7xunzoiA7D4j/LZ5tGXgdU2McHcWjex57ziS8SKGYusFgl7waCHY4w
 OLtgOimNHDW0r/NKEutubb6uWK6Zr7pYVl/TRk0WXZFH9bCwJjyyxMIDEk2CBCl3
 krXT7m/CdzkiYA2KB34JqPPbSBDhlRiQL6gMVGsSy8LazOH7azvAJxu+GTjXEORe
 ZnaLceyyNRNvBU01C6dxQpk288crmiThxIWsUlLta1T8osApQuZKZvxeBQFohzcu
 8c3lIh/ndfxaz+Sa47Vj
 =oqCs
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYXGIHAAoJEPm6FDuV/22CB+wP+wcYICwFSndwyLle1GZpbYO+
 I19r9IcEmMqiw9GIyW0RVDVMg4cvBPT18fJdvZO3lsBzr0ENiTQO6CuH0cu0iPQm
 1N+kMKDzNCreqwQxADd1OS54ey0PTG2PsmV9tEwZP0HSOQtrOKPDEQPZRpGTVkwl
 b7LCKo9d7rcbip5mD8J4oHmyLBBeTEB5gMEFIpq0Olvlg2oB+gVKHpehb28JDrpV
 5LWBFu8cg6HnniNISp55eF5kIogpQoRNjWnX9+ABE5zcDL+L6lA1Mewsuc7ezDHn
 dnuJNDIPvmWgdl2ISz0g4Wmct4JsD2C9D2RBzeQzrzmDEMYprQpVOD1L2sC+iH8o
 k0k0DiUs0oT8b+0uLZuYGniTX1LvJuJw2AOPhFo/UFATH+1GTSXNU3ka2b7inDnV
 nqGvvLFGq236O3cnP/t48prjaUeibqnLoGczzWkxVL8q11ZMNoLrdEHLgffgJts6
 A0gmQZvYft37Hx3+JRuaQoqbk6t23sMsLWruVS4po5LF4P/FvNDRMOaY5TPWEnxd
 ix2XR5dqC86cGuYc0tRlQjcdsWxcvGYIYawzTU+sSZWm2h9LtcHP4gOVj8xzW0G0
 KcBF72yxbIyT6P7+IqAXFsdVMndwrchVp6luZRgYPskmUX+tP0I4sd5hggM/JEKk
 9ONFEfIH0G1VkZLv4TML
 =GbLH
 -----END PGP SIGNATURE-----

Merge tag 0.10.5 into master
2016-12-22 18:30:08 -05:00
David Tolnay
9618493b2b
Release 0.10.5 2016-12-22 18:29:24 -05:00
David Tolnay
88aa978ff2
Update to syntex 0.52 2016-12-22 15:34:58 -05:00
David Tolnay
17c036585c Release 0.10.4
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYXDY4AAoJEPm6FDuV/22CQJ0QAJ6YqmoRNk/e4b8kTjwlY4TY
 JFFbxpdEFvOZKH8VQrD/bnfqC3ODTY/ssHb32W35suMELvNtxfERM3Pazu92DEM3
 Vy2Y6adX1CqpmDaRWibywlLb+602gs0B2gWKwoe0kYDQH77Wo9akwg7hb1ynyyWe
 fizBssF+0RkRcD2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/TQTgGCT39xum4Czqpzj2AsT+b7GS1IY1QyXTAc6xFAxpf6erz/7ogQjol
 XWBQ9ZzCU1YpSfhi8AZsqddeqkHeMr5gqrO/tnkg0HiXz+YULQaFX9LZBp6Gj3oe
 VZB9pUU0TBm+I2iuivjQtm91Z/qAhbtU9XZSub5qAaKb+ibcYLcOqP2sty4EX1eX
 Faa2lOGJ4D3fOYCixW2XWWq+3SBuhPhECQhrff0P4cmjywHq5T3llY8bcf+sesQL
 3GRqhZL5/ybrN+GOUuph
 =AS0l
 -----END PGP SIGNATURE-----

Merge tag 0.10.4 into master
2016-12-22 15:24:02 -05:00
David Tolnay
c37d1b6298
Release 0.10.4 2016-12-22 15:23:06 -05:00
David Tolnay
0047c71c93
Type macros 2016-12-21 22:36:10 -05:00
David Tolnay
62f4fb6dc5
Crate description consistent with readme 2016-11-25 11:18:28 -08:00
David Tolnay
30b25bef25
Clarify the readme version 2016-11-25 09:52:42 -08:00
David Tolnay
db84cb2c50
Update to syntex 0.50 2016-11-20 21:34:58 -08:00
David Tolnay
59681e8297 Release 0.10.3 2016-11-10 17:24:22 -08:00
David Tolnay
c124ded56b Release 0.10.2 2016-11-10 13:06:59 -08:00
David Tolnay
4aa5c72b0f
Release 0.10.1 2016-11-09 06:29:51 -08:00
David Tolnay
3c0c8c5ac8
Release 0.10.0 2016-10-30 20:20:46 -07:00
David Tolnay
a3a2dce606
Exciting walkdir 1.0 2016-10-30 20:19:51 -07:00
David Tolnay
276690fabd
Implement field shorthands in struct literal expressions
Fixes #57.
2016-10-30 12:07:02 -07:00
David Tolnay
0b07f602b5
Give up on comparing strings macro tokens in round trip test 2016-10-25 10:24:54 -07:00
David Tolnay
45823d04aa
Release 0.10.0-rc1 2016-10-25 00:32:23 -07:00
David Tolnay
c7b636a2ee
Fold away underscores and escaped newlines 2016-10-24 13:01:08 -07:00
David Tolnay
9e24d4da46
Integrate with syntex to print expanded code 2016-10-23 22:18:45 -07:00
David Tolnay
453cfd1168
Expand custom derives 2016-10-23 20:40:47 -07:00
David Tolnay
4df2bcc6b1 Release 0.9.2
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYCOjGAAoJEPm6FDuV/22CQOsQALu3n/F1YrSzoqgbcoMsINWA
 BDmHgsCa3xkqdmDHLKptiVXhrGdqWufBOWZEMl6nl4ZboSZqOFfmGrTfoepnfr3l
 6dtE+HDatxNc6+NNySRCsF7SsfwNKzeDsGfCL4bBN3GaT59zePmOxx+6FOoE7qEx
 yaRnAFc0jAij+erIGZvomqTXE4Qa5C2GFnNie7+XIcOjc0dUnAeqIgc3lpz7SqwO
 HjnHyvKLl0m6RbiwyCzZb7CI5WIAms8oMOpb5NlT87Thrv/ioBR2KQDOwn6fk7Jt
 hyN2wyEM+xlGrOD3oUtIc35lMzEOERWFk2YSdOqqzT9JIcZRGp9/EBx/1xzSFTKJ
 27h5cDX7XSVxtfoM61bbrVvBOOve70CXQSDJaKkywWxIFK/k5kURIk10xd+YHhD3
 OBF0Gr+mT2YDUUY8TEiywU83QULvl1tEmaU5x3MUX42Dqnf0E27Tq/zMrqOkMcGs
 DWG574bnDoe6VLFzsO8sEKQrNm3JcUdoyixf7Bi6P4fQrQaicXPfIX1qAbLZj/wL
 zFN2xFNYw6vA/LkIYyjHYpw6ebKhTwlK81Z0TATPIUr+9Bc1KuvQ0mDk/H9axPHi
 lbxESv5VHg6y+OiawcmreqyCwxgssPD8/lwdH9B73F7JoNqYCkfIKLrXkw3UANiR
 ogNYujZUyuczKBJmL73t
 =LUAq
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYCOjcAAoJEPm6FDuV/22CcogP/0fz6OfjufAhggyIBi6ZGFJN
 udw+GO5SBHt++bTB0S2RzlVe43nLm5QHxFZatDhjEQ3vwek69u/ly/t9SHmTSsyC
 VVjPhR78o67sp9X/6m0IgwaMRCdp32b5yWnW62Ld1pbw8fG8pFdO9/9cYZJu5i1u
 sTysD4aDtb+N3SBcSpbcRaZi2oxGalPT4cxqlAj4RAhJsAofcl4nBEX+r3FZN5Ex
 4Kko/QDr4ejjo8Vj+C7GrLhfZ5ntNFkzx0+LpgP/DJpRVy4vYbmEnmbEE9c/Vxwy
 JNchCwL9sq3pdGlLF4Hf7kboetq7Hi3Xehuq+8EXH7Po3TpZwUfNUIC9aa7p0jPB
 1RzE93KvNkf8kIOALbY3CxnimELRtalHEeYhk2vXmdLXeAPeH/4lKD37cw5YxvcY
 zWYKkgA36+L4/wDYAvgnB08d7UFb4UHfs037zrjONHiSfwGw8B2ASJRdAgjgRfVj
 k0ovM6RA/NWdaovXYgETmySoJtYImjgbx3+1fHwCl6gYnyTF5rleWGLxWTch1C9V
 qM9MP4BhP5qTe912IG7KP/1I14TPXjJmxf7uXhocxrsr7lVDiilAgbcMwB+COq2v
 +Qo/Ifu2+Zl7E+yG4iKRzMXU7Szl8wXevUy/sm7gpZEEODqahqG1VPpdq9oJxNAA
 lpicHW/cgT1LiCfm5M1R
 =1qJa
 -----END PGP SIGNATURE-----

Merge tag 0.9.2 into origin/master
2016-10-20 08:55:01 -07:00
David Tolnay
a842db767f
Release 0.9.2 2016-10-20 08:54:33 -07:00
David Tolnay
79aaee6270 Release 0.9.1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYBdJpAAoJEPm6FDuV/22CiQAQAJEDVenqpXAvTtKlx+a4JM6u
 eA2aUn7p2cmQyGcrYPA7mNFybQ9QlvxJgnT+i38qxgQ9I61cVXvzqeTUic9t+BMV
 PsfNqd7/S2L3hhS+SvCF8N5Y6lcBO+vOmNFeV5MloEkliUn0zz4t5JoGH6WrOVRI
 y6MmckCWn6KZiGXUdSfFGIKnFTFYp20iGGVWKnMGRIj9PE49WXitWaB8F1bvZleo
 St07kPJuncA42/+gOrcpaCJt3Uynq5ECdJSD5FXYQKQWOq8IDAlA11gF3O6cfu3V
 8Rd2ZKJoWPhr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o0KtGxqAaGPhA+jOCbYqVEyo+hEgYcJzDiVLd+3yY/fBuPY4/
 Or1+3uCafbYdua9xVV0WntXeSMEHn8YAH6VOBxV3ZT5w2Mmv4G/t+FjBCym1UiS7
 Qqh8LsNo1QsXtEmFqtRG
 =O0Q6
 -----END PGP SIGNATURE-----

Merge tag 0.9.1 into origin/master
2016-10-18 00:44:04 -07:00
David Tolnay
edea33fc40
Release 0.9.1 2016-10-18 00:42:21 -07:00
David Tolnay
2201800aab
Bump syntex to 0.45 2016-10-16 10:56:30 -07:00
David Tolnay
f8f43075a8
Release 0.9.0 2016-10-08 14:58:05 -07:00
David Tolnay
493f7e2f1b
Bump quote dependency 2016-10-08 14:57:28 -07:00
David Tolnay
2165b0452f
Large test case 2016-10-08 10:53:31 -07:00
David Tolnay
079b5ad4d9
Block comment perf
This is 95 times faster in debug mode for large block comments.
2016-10-08 09:53:43 -07:00
David Tolnay
f17fd2f8fb
Finish up literal printing 2016-10-07 23:38:08 -07:00
David Tolnay
15dc31f7ac
Merge branch origin/stable into origin/master 2016-10-04 23:45:14 -07:00
David Tolnay
05205da7d1
Release 0.8.7 2016-10-04 23:39:48 -07:00
David Tolnay
04983e10fa
Merge branch origin/stable into origin/master 2016-10-03 09:25:43 -07:00
David Tolnay
f8068bed5b
Release 0.8.6 2016-10-03 09:19:27 -07:00
David Tolnay
da41a4e0d8
Merge branch origin/stable into origin/master
Conflicts:
    src/attr.rs
2016-10-02 09:57:27 -07:00
David Tolnay
176d8a972b
Release 0.8.5 2016-10-02 09:56:08 -07:00
David Tolnay
4a51dc70fc
Round trip testing 2016-10-01 09:41:33 -07:00
David Tolnay
bd61b72816
Release 0.8.4 2016-10-01 08:27:50 -07:00
David Tolnay
83d3629754
Release 0.8.3 2016-10-01 08:18:59 -07:00
David Tolnay
87649ace0a
Release 0.8.2 2016-10-01 01:16:07 -07:00
David Tolnay
eae163f6b6
Release 0.8.1 2016-09-30 21:02:23 -07:00
David Tolnay
10413f0b21
Add keyword parser 2016-09-30 09:30:36 -07:00
David Tolnay
a3faf259f2
Release 0.8.0 2016-09-27 09:52:30 -07:00
David Tolnay
ee4d5cee99
Bump quote dependency 2016-09-27 09:51:54 -07:00
David Tolnay
adf1d5034f
Release 0.7.1 2016-09-27 00:00:31 -07:00
David Tolnay
5a0647501c
Release 0.7.0 2016-09-24 09:34:31 -07:00
David Tolnay
aed77b0573
Add optional clippy 2016-09-23 21:30:56 -07:00
David Tolnay
ab09d46c41
Release 0.6.0 2016-09-23 19:27:54 -07:00
David Tolnay
f4bbbd9f19
Expressions 2016-09-23 17:38:38 -07:00
David Tolnay
c32996abe5
Release 0.5.2 2016-09-14 00:01:58 -07:00
David Tolnay
b5a7b144a3
Vendor a simplified nom 2016-09-13 23:57:36 -07:00
David Tolnay
6f92720eff
Release 0.5.1 2016-09-13 10:59:18 -07:00
David Tolnay
7b3973eea0
Release 0.5.0 2016-09-11 17:46:52 -07:00
David Tolnay
5533772670
Things needed by serde_derive 2016-09-11 17:36:30 -07:00
David Tolnay
1521119acf
Add documentation link 2016-09-07 08:48:23 -07:00
David Tolnay
19229c0a18
Update version in readme 2016-09-07 08:23:51 -07:00
David Tolnay
6576064b18
Release 0.4.0 2016-09-07 08:22:16 -07:00
David Tolnay
62a8b69243
Rebrand as 'syn' 2016-09-07 08:19:28 -07:00
David Tolnay
1c836f75a5
Release 0.3.2 2016-09-05 17:14:58 -07:00
David Tolnay
2b6f74cf44
Release 0.3.1 2016-09-04 17:39:09 -07:00
David Tolnay
71247d164e
Release 0.3.0 2016-09-04 15:47:58 -07:00
David Tolnay
94ebdf913b
Use append_separated 2016-09-04 13:33:16 -07:00
David Tolnay
87d0b44e98
Printing for attributes and types 2016-09-04 13:21:49 -07:00
David Tolnay
86eca7562a
Feature flag for nom dependency 2016-09-04 11:26:41 -07:00
David Tolnay
3192a8943a
Release 0.2.0 2016-09-04 11:17:06 -07:00
David Tolnay
35161fff39
item::parse 2016-09-03 11:33:15 -07:00