Commit Graph

1922 Commits

Author SHA1 Message Date
David Tolnay
8dba87661b
Bump serde_codegen_internals because it failed to publish somehow 2016-11-19 11:47:19 -08:00
David Tolnay
17fb4cb503
Release 0.8.18 2016-11-19 11:40:00 -08:00
David Tolnay
5bd0386b8e Merge pull request #618 from serde-rs/up
Ask proc_macro_derive to ignore serde attributes
2016-11-19 14:19:15 -05:00
David Tolnay
8b484c9703 Hide the serde_codegen functions from docs 2016-11-15 21:37:19 -05:00
David Tolnay
a16f07858b Ask proc_macro_derive to ignore serde attributes 2016-11-15 21:29:34 -05:00
David Tolnay
133d117bf4
Bump post-expansion dependency 2016-11-07 11:16:14 -08:00
David Tolnay
e7f3a80867
Update serde codegen to syn 0.10 2016-11-02 22:58:55 -07:00
David Tolnay
f8c3d225a3
Shorten the syn meta item matches 2016-11-02 22:56:27 -07:00
David Tolnay
6d40d9e8ec
Update codegen internals to syn 0.10 2016-11-02 22:52:20 -07:00
David Tolnay
c91fca19e1
Release 0.8.17 2016-11-02 09:26:04 -07:00
David Tolnay
f13a805530 Merge pull request #605 from serde-rs/up
Bump syntex to 0.48
2016-11-02 09:24:55 -07:00
David Tolnay
54802983b8
Bump syntex to 0.48 2016-11-02 09:12:22 -07:00
David Tolnay
f430d9d1c8
Remove unneeded type ascription 2016-10-23 21:06:50 -07:00
David Tolnay
c9612a2f57
Release 0.8.16 2016-10-22 00:07:27 -07:00
David Tolnay
7ffea5a716
Bump syntex to 0.46 2016-10-21 23:38:27 -07:00
David Tolnay
c8c9f7d96c Merge pull request #599 from TheCatPlusPlus/master
Explictly discard result of visiting IgnoredAny
2016-10-21 23:36:57 -07:00
Cat Plus Plus
f75d286b90 Explictly discard result of visiting IgnoredAny
Makes the code generated by `derive(Deserialize)` compile cleanly when
`unused_results` lint is enabled.
2016-10-22 08:00:44 +02:00
David Tolnay
9acb17ab54
Release 0.8.15 2016-10-20 08:42:40 -07:00
David Tolnay
f15ff1868e Merge pull request #597 from serde-rs/cov
Drop coveralls
2016-10-20 00:44:19 -07:00
David Tolnay
86f0d0382f
Drop coveralls
Has not been uploading for months.
2016-10-20 00:33:03 -07:00
David Tolnay
8595b25763 Merge pull request #592 from serde-rs/post
Use post-expansion crate to let other custom derives see serde attrs
2016-10-20 00:18:23 -07:00
David Tolnay
49aca521f1
Bump post-expansion dependency 2016-10-20 00:01:14 -07:00
David Tolnay
4c38bd0180
Merge branch origin/master into origin/post 2016-10-19 23:59:53 -07:00
Homu
02c4ff7b7e Auto merge of #594 - serde-rs:expr, r=oli-obk
No longer need `e!`

This compiles all the way back to Rust 1.7.0, and 1.6.0 fails for other reasons so I think we are clear here. The referenced issue https://github.com/rust-lang/rust/issues/19630 is still open so they must have fixed it some other way.
2016-10-19 18:07:10 +09:00
David Tolnay
a8d1c0253a Merge pull request #593 from serde-rs/rmbench
Remove benchmarks
2016-10-19 00:48:05 -07:00
David Tolnay
bb5370b746
No longer need e! 2016-10-19 00:30:23 -07:00
David Tolnay
536e78a146
Remove benchmarks
Nobody noticed these did not compile for 3 months, so I am guessing nobody
cares. The JSON benchmarks at https://github.com/serde-rs/json-benchmark are
much more relevant.
2016-10-18 22:19:10 -07:00
David Tolnay
21c9446890
Update benchmarks to serde 0.8 2016-10-18 22:15:54 -07:00
David Tolnay
1b42f3f594
Release 0.8.14 2016-10-18 21:42:39 -07:00
David Tolnay
cafa02d9b4 Merge pull request #591 from serde-rs/sess
Not safe to share Spans from one ParseSess to another
2016-10-18 21:41:05 -07:00
David Tolnay
a9b6cbb8b3
Use post-expansion crate to let other custom derives see serde attrs 2016-10-18 09:00:33 -07:00
David Tolnay
1d719b542c
Not safe to share Spans from one ParseSess to another
Spans in the AST returned by `parse_item_from_source_str` and other parsing
functions contain byte offsets into the source code they were parsed from. The
pretty printer uses these Spans [here][1] to preserve the representation of
literals when parsing and printing back out unmodified.

In this bug, the byte offset of a string in the input to
`parse_item_from_source_str` coincidentally matched the byte offset of a totally
different string in the input to `parse_crate_from_file` called [here][2] by
Syntex. The Span from the former triggered the pretty printer to write out the
content of the latter.

By using the same ParseSess, Spans from the two `parse_*` calls never collide.

[1]: https://github.com/rust-lang/rust/blob/1.12.0/src/libsyntax/print/pprust.rs#L628
[2]: https://github.com/serde-rs/syntex/blob/v0.45.0/syntex/src/registry.rs#L134
2016-10-17 23:12:32 -07:00
David Tolnay
532b950971
Release 0.8.13 2016-10-16 10:34:26 -07:00
Erick Tryzelaar
f93b4e91e6 Version bump serde_derive to 0.8.13 2016-10-15 15:24:37 -07:00
Erick Tryzelaar
94e2ccc94e Merge pull request #588 from erickt/master
Drop support for rust 1.8.0 and 1.9.0.
2016-10-15 15:12:56 -07:00
Erick Tryzelaar
cbe6b4c97c Drop support for rust 1.8.0 and 1.9.0. 2016-10-15 14:43:30 -07:00
Erick Tryzelaar
a46a4e27dd Merge pull request #587 from erickt/master
Update syntex version to 0.45.0
2016-10-15 14:43:13 -07:00
Erick Tryzelaar
4919a3184d Update syntex version to 0.45.0 2016-10-15 14:01:14 -07:00
David Tolnay
0b19608d85 Merge pull request #584 from serde-rs/array-tuple
Array and tuple deserialization cleanup
2016-10-14 08:43:08 -07:00
David Tolnay
99bddddd8e
Array and tuple deserialization cleanup 2016-10-14 00:15:24 -07:00
David Tolnay
85c95040b3
Release 0.8.12 2016-10-08 15:38:29 -07:00
David Tolnay
339c0f5493
Remove unneeded test feature 2016-10-08 15:36:46 -07:00
David Tolnay
b4d5c26f4e
Update to latest syn and quote 2016-10-08 15:36:02 -07:00
David Tolnay
f4e1ffa2cb Merge pull request #578 from mjroghelia/rename_rustc_macro
Rename rustc_macro to proc_macro
2016-10-08 15:35:15 -07:00
Mark Roghelia
ef5d09e144 Rename rustc_macro to proc_macro
Fixes #575
2016-10-08 18:29:36 -04:00
David Tolnay
e547a06639 Simplify deserialize_field_visitor 2016-10-03 13:45:11 -07:00
David Tolnay
c61b20cceb Release 0.8.11 2016-10-03 13:38:52 -07:00
David Tolnay
42987a5b24 Fix break in quote 0.2.2 2016-10-03 13:37:46 -07:00
David Tolnay
3f28a93240
Update readme to serde_derive 2016-09-29 09:21:01 -07:00
David Tolnay
9970084550 Merge pull request #568 from tbu-/pr_ipaddr_stable
Allow the use of `IpAddr` implementations on stable
2016-09-29 08:58:33 -07:00