Commit Graph

2610 Commits

Author SHA1 Message Date
David Tolnay
2753ec757b
Merge pull request #1382 from roblabla/serde-other
Implement #[serde(other)] on enum variant
2018-09-11 22:59:30 -07:00
roblabla
dcd2232f69 Enforce unit struct for #[serde(other)] 2018-09-11 17:12:37 +00:00
roblabla
0156f1355a Remove obsolete compile-fail test 2018-09-10 17:15:22 +00:00
roblabla
61bf901048 Fix for rust 1.15 2018-09-10 17:12:33 +00:00
roblabla
7870b58356 Add tests for serde(other) in enum 2018-09-10 16:25:02 +00:00
roblabla
8cc7e6aa90 Implement #serde(other) on enum variant 2018-09-10 15:12:15 +00:00
David Tolnay
7b50388fef
Release 1.0.78 2018-09-08 17:10:41 -07:00
David Tolnay
e704990322
Merge pull request #1380 from dtolnay/f
Fix panic deserializing flattened any after flattened struct
2018-09-08 17:10:01 -07:00
David Tolnay
2a4b8ce42d
Fix panic deserializing flattened any after flattened struct 2018-09-08 16:55:34 -07:00
David Tolnay
108cca687c
Release 1.0.77 2018-09-06 21:36:27 -07:00
David Tolnay
bca8c115c7
Merge pull request #1372 from dtolnay/syn
Update to syn 0.15
2018-09-06 21:34:14 -07:00
David Tolnay
b49bd52a53
Use parse_macro_input to report parse errors 2018-09-06 21:16:12 -07:00
David Tolnay
27bd640812
Update to syn 0.15 2018-09-06 21:16:08 -07:00
David Tolnay
8d5cda8464
Merge pull request #1376 from dreid/fix-internally-tagged-enum-deserialization-with-unknown-fields
Fix internally tagged enum deserialization with unknown fields
2018-09-06 21:10:41 -07:00
David Reid
389b9b5fe7 Add a test for an internally tagged unit enum flattened with a second internally tagged unit enum. 2018-09-06 14:55:10 -07:00
David Reid
27478b6f71 Internally tagged unit enum variants should ignore unknown fields. 2018-09-06 14:29:49 -07:00
David Tolnay
480f858fc3
Update panic_handler attribute name changed in nightly 2018-09-03 08:24:27 -07:00
David Tolnay
7d752c5a60
Merge pull request #1373 from dtolnay/emscripten
Add Emscripten build in Travis
2018-09-02 13:56:41 -07:00
David Tolnay
33b7841300
Skip asmjs 2018-09-02 13:21:36 -07:00
David Tolnay
2244b92eb0
Nvm install in .travis.yml
The one in travis.sh was failing:

    ./travis.sh: line 56: nvm: command not found
    The command "./travis.sh" exited with 127.
2018-09-02 12:45:12 -07:00
David Tolnay
d0464fbff7
Add Emscripten build in Travis 2018-09-02 12:34:13 -07:00
David Tolnay
98eddf9b29
Update to syn 0.15-rc1 2018-09-01 23:03:59 -07:00
David Tolnay
d23a40c1bb
Format with rustfmt 0.99.2 2018-09-01 23:03:41 -07:00
David Tolnay
55cecace29
Release 1.0.76 2018-09-01 15:25:53 -07:00
David Tolnay
3da0deaa50
Merge pull request #1371 from hcpl/nonzero_u128
Add support for `NonZeroU128`
2018-09-01 15:25:10 -07:00
hcpl
585550a5be Add support for NonZeroU128 2018-09-02 00:34:56 +03:00
David Tolnay
5b7b8abf9f
Move some compile-fail errors based on proc-macro2 update 2018-08-28 20:35:49 -07:00
David Tolnay
2aab0ce2f6
Release 1.0.75 2018-08-24 23:03:04 -04:00
David Tolnay
a157c56d7d
Merge pull request #1367 from Eh2406/master
update a deb for minimal-versions
2018-08-24 23:02:02 -04:00
Eh2406
6c45593ee4 update a deb for minimal-versions 2018-08-24 22:50:17 -04:00
David Tolnay
1175d54fb7
Stabilize raw_identifiers 2018-08-24 19:49:13 -04:00
David Tolnay
cfdbbee845
Release 1.0.74 2018-08-23 18:29:16 -04:00
David Tolnay
c1583bf2b8
Merge pull request #1365 from koute/master
Disable i128 integers on Emscripten targets
2018-08-23 18:28:51 -04:00
Jan Bujak
7385b50249 Disable i128 integers on Emscripten targets 2018-08-24 00:02:40 +02:00
David Tolnay
db6aaf5110
Release 1.0.73 2018-08-22 21:47:15 -04:00
David Tolnay
c4a4501d71
Merge pull request #1363 from dtolnay/raw
Trim the r# from raw identifiers in user-facing strings
2018-08-22 21:46:31 -04:00
David Tolnay
a3ae14d090
Test raw identifiers 2018-08-22 21:09:37 -04:00
David Tolnay
dc4bb0bf08
Trim the r# from raw identifiers in user-facing strings 2018-08-22 20:50:29 -04:00
David Tolnay
c69a3e083f
Merge pull request #1360 from Pratyush/master
Update travis.sh to also test `--no-default-features --features "rc alloc"`
2018-08-20 21:38:55 -04:00
Pratyush Mishra
c790bd2a69
Update travis.sh 2018-08-20 18:30:43 -07:00
David Tolnay
60cbbacdb3
Release 1.0.72 2018-08-20 21:02:03 -04:00
David Tolnay
befc7edc17
Merge pull request #1359 from Pratyush/master
Fix compilation under `rc` feature
2018-08-20 21:00:47 -04:00
Pratyush Mishra
3897ccb3f9 Fix compilation under rc feature 2018-08-20 14:35:48 -07:00
David Tolnay
11c5fd78ad
Abbreviate and touch up some attribute parsing comments 2018-08-14 22:37:59 -07:00
David Tolnay
cbfdba3826
Use rustfmt to wrap and format comments 2018-08-14 22:32:27 -07:00
David Tolnay
5985b7edaf
Format with rustfmt 0.99.2 2018-08-14 19:59:20 -07:00
David Tolnay
d28a0e66c8
Fix old reference to serde_codegen 2018-08-12 10:54:59 -07:00
David Tolnay
0ca4db1616
Move untagged borrow test case into codegen tests 2018-08-12 10:54:29 -07:00
David Tolnay
72b3438dfc
Merge pull request #1338 from toidiu/ak-untagged-enum
test borrowing untagged enum
2018-08-12 10:49:15 -07:00
David Tolnay
c7051ac748
Update links to a renamed manual chapter 2018-08-12 10:48:20 -07:00