Commit Graph

365 Commits

Author SHA1 Message Date
David Tolnay
3e64c26a9d
Release 1.0.0-rc4 2019-08-11 20:54:34 -07:00
David Tolnay
037d0c9adc
Release 1.0.0-rc3 2019-08-11 17:45:18 -07:00
David Tolnay
d95097703f
Update to proc-macro2 rc3 2019-08-10 22:24:23 -07:00
David Tolnay
3ba76cd686
Update to quote rc3 2019-08-10 20:38:16 -07:00
David Tolnay
5a619b16e4
Update to quote 1.0.0-rc2 2019-08-10 12:48:45 -07:00
David Tolnay
a20c5ad871
Release 1.0.0-rc2 2019-08-03 16:44:39 -07:00
David Tolnay
68b1aae1c4
Release 1.0.0-rc1 2019-07-29 09:53:37 -07:00
David Tolnay
fd9bf58b7b
Update to insta 0.9 2019-07-28 18:02:54 -07:00
David Tolnay
015b523650
Work around await in macro_rules bug 2019-07-28 13:37:22 -07:00
David Tolnay
997527b904
Update unicode-xid to unicode 12.1.0 2019-07-28 11:12:47 -07:00
David Tolnay
e7173e7ead
Remove build.rs from publish
There are no longer cfgs that need to be enabled based on compiler
version. The only cfg is for running `cargo test` from a clone of the
git repo. We can avoid publishing build.rs to save ~1 second of compile
time when compiling syn as a dependency.
2019-07-27 23:22:36 -07:00
David Tolnay
9c42ea6765
Update to 2018 edition 2019-07-27 17:23:53 -07:00
David Tolnay
cd2645363e
Pull in proc-macro2 and quote breaking changes 2019-07-27 15:36:23 -07:00
David Tolnay
d40ff137a0
Get ready to land breaking changes 2019-07-27 15:26:42 -07:00
David Tolnay
b48a2b922e Release 0.15.42 2019-07-23 19:24:29 -07:00
David Tolnay
d11d8c9022
Release 0.15.41 2019-07-22 21:44:16 -07:00
David Tolnay
86de03a354
Release 0.15.40 2019-07-20 12:39:46 -07:00
David Tolnay
49a674c76e
Release 0.15.39 2019-06-27 09:08:20 -07:00
David Tolnay
6897bc256b
Include benches and tests in published crate
Gitignore rules apply, so tests/rust/... will not be included.
2019-06-27 09:08:19 -07:00
David Tolnay
e2a818aafc
Add a benchmark of TokenStream to File 2019-06-23 18:06:42 -07:00
David Tolnay
a6995ba736
Add benchmark of parsing whole rust repo
On my machine:

    tokenstream_parse:  elapsed=1.453s
    syn_parse:          elapsed=4.632s
    libsyntax_parse:    elapsed=2.039s
2019-06-23 16:45:06 -07:00
David Tolnay
1139c5e920
Release 0.15.38 2019-06-23 14:22:46 -07:00
David Tolnay
8f31583339
Release 0.15.37 2019-06-22 00:29:31 -07:00
David Tolnay
2cf48740ca
Release 0.15.36 2019-06-13 22:47:49 -07:00
David Tolnay
848f676fcf
Release 0.15.35 2019-06-08 06:13:31 -07:00
David Tolnay
77beabd1a7
Switch to SPDX 2.1 license expression 2019-05-09 15:20:52 -07:00
David Tolnay
3c3c7d15a0
Generate debug impls more appropriate for inline snapshot 2019-05-09 13:23:48 -07:00
David Tolnay
a1d0bfe113
Switch from colored to termcolor 2019-05-08 13:58:10 -07:00
David Tolnay
b765ca795e
Support inline snapshots in snapshot macro
Actual use of inline snapshots coming later.
2019-05-08 13:57:56 -07:00
David Tolnay
950cc121d0
Move codegen types to syn-codegen crate 2019-05-07 22:04:22 -07:00
David Tolnay
52c0abc464
Release 0.15.34 2019-05-07 13:09:55 -07:00
David Tolnay
e21177e987
Release 0.15.33 2019-04-25 18:58:38 -07:00
David Tolnay
643b96d00c
Release 0.15.32 2019-04-17 12:00:25 -07:00
David Tolnay
ac5e44e01c
Release 0.15.31 2019-04-13 17:31:06 -07:00
David Tolnay
f2f9a53885
Remove lib name from Cargo.toml
This is left over from the 0.15-rc versions which used [package] name =
"syn-next" and [lib] name = "syn".
2019-04-07 11:12:13 -07:00
David Tolnay
c1a8efe882
Release 0.15.30 2019-04-02 09:14:24 -07:00
David Tolnay
7d8b331453
Move tests to snapshot testing via insta 2019-03-10 22:42:20 -07:00
David Tolnay
3f7d9d3b9c
Display a banner when nightly-only tests are being skipped 2019-03-10 00:14:28 -08:00
David Tolnay
d01c8935aa
Release 0.15.29 2019-03-09 23:21:54 -08:00
David Tolnay
de32b4769f
Ship build.rs to crates.io 2019-03-09 23:01:03 -08:00
David Tolnay
9350a2ce1d
Release 0.15.28 2019-03-07 23:40:05 -08:00
David Tolnay
8d7f7cf470
Remove dump-syntax from top-level Cargo.toml
I am about to begin using `proc-macro2 = { features = ["span-locations"] }`
in dump-syntax and I don't think that dependency can be specified
correctly under [[examples]] without also enabling it in syn's ordinary
dependency on proc-macro2, which we don't want.
2019-03-01 23:36:04 -08:00
David Tolnay
87407bd18b
Remember to update version number in syn.json 2019-02-28 23:40:40 -08:00
David Tolnay
feb1f055f2
Release 0.15.27 2019-02-28 23:22:14 -08:00
David Tolnay
c0d4ee5f3e
Add a dev crate to run the File parser 2019-02-09 01:03:49 +01:00
David Tolnay
64e7a83e31
Release 0.15.26 2019-01-15 21:14:57 -08:00
David Tolnay
dad42e04a3
Release 0.15.25 2019-01-14 14:19:48 -08:00
David Tolnay
868c132ece
Release 0.15.24 2019-01-06 01:15:50 -08:00
David Tolnay
ab3ff960ef
Release 0.15.23 2018-12-15 00:53:40 -08:00
David Tolnay
dd08f48cd6
Release 0.15.22 2018-11-24 16:16:40 -08:00
David Tolnay
6bd3e03c3d
Release 0.15.21 2018-11-16 04:23:04 -08:00
David Tolnay
0cae447d0f
Release 0.15.20 2018-11-11 10:58:35 -08:00
David Tolnay
70a6c78a30
Release 0.15.19 2018-11-10 14:26:50 -08:00
David Tolnay
ec0af592a1
Release 0.15.18 2018-11-02 08:18:53 -07:00
David Tolnay
b0db8d5ed0
Release 0.15.17 2018-10-31 00:49:39 -07:00
David Tolnay
ffd17b1ba5
Release 0.15.16 2018-10-30 02:18:57 -07:00
David Tolnay
89596520e3
Release 0.15.15 2018-10-27 23:26:02 -07:00
David Tolnay
1a07c9785d
Release 0.15.14 2018-10-26 02:11:45 -07:00
David Tolnay
243e458db4
Release 0.15.13 2018-10-20 08:12:58 -04:00
David Tolnay
d8666299ca
Release 0.15.12 2018-10-16 15:01:00 -07:00
David Tolnay
0587ab263b
Release 0.15.11 2018-10-13 19:56:16 -07:00
David Tolnay
19007d6e2e
Release 0.15.10 2018-10-13 15:32:36 -07:00
David Tolnay
51bd7a09f7
Release 0.15.9 2018-10-06 20:48:54 -07:00
David Tolnay
0f1bdc070d
Release 0.15.8 2018-10-03 08:55:41 -07:00
David Tolnay
2876e415af
Release 0.15.7 2018-09-30 20:20:40 -07:00
David Tolnay
d50d1a3b36
Release 0.15.6 2018-09-23 14:34:53 -07:00
David Tolnay
b2dd835c82
Release 0.15.5 2018-09-22 13:45:12 -07:00
David Tolnay
dda417e883
Release 0.15.4 2018-09-12 00:20:17 -07:00
David Tolnay
981c19be27
Release 0.15.3 2018-09-09 00:37:43 -07:00
David Tolnay
6503de477e
Release 0.15.2 2018-09-09 00:31:38 -07:00
David Tolnay
efb6f5d0c8
Release 0.15.1 2018-09-06 10:09:24 -07:00
David Tolnay
24f0408d25
Fix url to released 0.15 2018-09-06 10:08:59 -07:00
David Tolnay
b28acf3656
Release 0.15.0 2018-09-06 09:01:40 -07:00
David Tolnay
130baaced7
Release 0.15.0-rc4 2018-09-06 02:08:46 -07:00
David Tolnay
445f70a8f0
Release 0.15.0-rc3 2018-09-02 13:36:04 -07:00
David Tolnay
800df6efb8
Release 0.15.0-rc2 2018-09-02 12:17:25 -07:00
David Tolnay
06faaca040
Remove references to nom 2018-09-01 20:25:04 -07:00
David Tolnay
c847239be6
Release 0.15.0-rc1 2018-09-01 20:16:39 -07:00
David Tolnay
606e794df4
Prepare to publish preview as syn-next 2018-09-01 20:16:38 -07:00
David Tolnay
d1c31cc713
Update tests to nightly-2018-08-23 2018-08-24 15:26:17 -04:00
David Tolnay
e6ec9e0906
Release 0.14.9 2018-08-21 21:32:03 -04:00
David Tolnay
dd8ae77039
Release 0.14.8 2018-08-12 10:02:20 -07:00
David Tolnay
299ea3efcc
Display a Travis badge on crates.io 2018-08-07 00:18:20 -07:00
David Tolnay
77503e8179
Release 0.14.7 2018-08-03 08:39:15 -07:00
David Tolnay
66e20892d4
Release 0.14.6 2018-08-01 11:47:28 -07:00
David Tolnay
209a78c862
Release 0.14.5 2018-07-22 11:18:37 -07:00
David Tolnay
c566b20fec
Release 0.14.4 2018-06-30 23:16:41 -07:00
David Tolnay
72283c16c3
Release 0.14.3 2018-06-30 10:23:46 -07:00
David Tolnay
a3693e11b8
Release 0.14.2 2018-06-02 13:29:06 -07:00
David Tolnay
e8722512d8
Release 0.14.1 2018-05-28 21:49:08 -07:00
hcpl
aa51179851 Replace TokenStream::empty with ::new
`TokenStream::empty` is deprecated since `proc-macro2` 0.4.4.
2018-05-29 07:22:54 +03:00
hcpl
7c4e25742d Require proc-macro2 ^0.4.2
`proc-macro` 0.4.1 no longer works after
446f7d6da0
2018-05-22 04:31:23 +03:00
David Tolnay
87003d0365
Release 0.14.0 2018-05-20 20:40:18 -07:00
David Tolnay
a6f7917911
Update to quote 0.6 from crates.io 2018-05-20 19:42:57 -07:00
David Tolnay
f875eae50b
Tidy version numbers in dev-dependencies 2018-05-20 19:40:49 -07:00
David Tolnay
857e7e711f
Merge pull request #426 from alexcrichton/next
Update to the next version of proc-macro2
2018-05-20 18:10:38 -07:00
David Tolnay
e58fa706e0
Propagate quote/proc-macro 2018-05-20 17:22:58 -07:00
Alex Crichton
3fec393878
Fix up some final issues 2018-05-20 16:41:41 -07:00
David Tolnay
5efb787c53
Release 0.13.11 2018-05-19 22:23:41 -07:00
Alex Crichton
40cef9a110 Update proc-macro2 2018-05-17 11:04:39 -07:00
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