David Tolnay
58b3af4c29
Copyright/license headers
...
The following changes are included:
- Delete per-file license notices at the top of each file.
- Delete the first paragraph of LICENSE-MIT (an inaccurate
pseudo-copyright line), leaving only the text of the MIT license.
Nothing about the license of Serde code has changed, only our
understanding of how to correctly communicate that license has changed.
This mirrors an equivalent change being applied in the rust-lang/rust
repository.
2018-11-24 15:53:09 -08:00
David Tolnay
4821d09a48
Move all compile-fail tests to ui tests
...
The update-references.sh script makes these much easier to update in
bulk compared to compile-fail tests.
2018-11-24 15:43:19 -08:00
David Tolnay
b3d9d51b51
Simplify compiletest setup
2018-11-24 15:35:49 -08:00
David Tolnay
6b33abb179
Set up Travis build names
2018-11-24 15:12:48 -08:00
David Tolnay
a043b2a763
Point serde_derive_internals documentation to docs.rs
2018-11-21 14:22:33 -08:00
David Tolnay
0c3d4a8a37
Release serde_derive_internals 0.24.0
2018-11-21 14:17:55 -08:00
David Tolnay
9afc5fef11
Format with rustfmt 1.0.0-nightly
2018-11-21 01:13:17 -08:00
David Tolnay
a8a54c0568
Remove 1.26-dev docs.rs workaround
...
They are now building with 1.31.0-nightly.
2018-11-11 12:13:25 -08:00
David Tolnay
451ee2d78e
Clean up calls to into_iter per into_iter_on_ref lint
2018-11-10 20:10:37 -08:00
David Tolnay
820107d15e
Move emscripten CI to allow_failures
...
Not sure what is going on with this failure that just started happening with no
code change on our end. Wait and see if it goes away.
On asmjs-unknown-emscripten:
Assertion failed: compiled without a main, but one is present. if you added
it from JS, use Module["onRuntimeInitialized"]
undefined:109
throw ex;
^
abort("Assertion failed: compiled without a main, but one is present. if you
added it from JS, use Module[\"onRuntimeInitialized\"]") at Error
On wasm32-unknown-emscripten:
Assertion failed: compiled without a main, but one is present. if you added
it from JS, use Module["onRuntimeInitialized"]
failed to asynchronously prepare wasm: abort("Assertion failed: compiled
without a main, but one is present. if you added it from JS, use
Module[\"onRuntimeInitialized\"]") at Error
2018-11-10 20:06:18 -08:00
David Tolnay
a51f831ae4
Drop nightly dependency of compiletest
2018-10-27 23:59:48 -07:00
David Tolnay
1b45e5766a
Release 1.0.80
2018-10-14 03:08:53 -07:00
David Tolnay
59c8951341
Merge pull request #1411 from dtolnay/vec
...
Optimize Vec::deserialize_in_place to deserialize elements in place
2018-10-14 03:08:04 -07:00
David Tolnay
aca61b5dda
Optimize Vec::deserialize_in_place to deserialize elements in place
2018-10-14 02:51:24 -07:00
David Tolnay
908affd24f
Remove unused code in seq and map impls
2018-10-14 02:31:56 -07:00
David Tolnay
f878d2ebd5
Do not require clippy for a green build
2018-10-06 21:26:25 -07:00
David Tolnay
778e516270
Feature panic_handler has been stabilized
2018-10-06 21:12:14 -07:00
David Tolnay
6d58492ad0
Fix links to redirected derive documentation
2018-10-03 23:14:49 -07:00
David Tolnay
fecfabb168
Merge pull request #1399 from derekdreery/more_docs
...
Some docs
2018-09-30 08:16:24 -07:00
Richard Dodd
80765eb453
Make suggested changes
2018-09-30 15:17:47 +01:00
Richard Dodd
f1073dca04
Make the recommended changed from code review.
2018-09-30 12:34:52 +01:00
Richard Dodd
da65fe5a52
Some docs
2018-09-29 15:06:23 +01:00
David Tolnay
3f0f739e17
Merge pull request #1391 from dtolnay/ci
...
Move CI commands into travis.yml and appveyor.yml
2018-09-15 17:00:27 -07:00
David Tolnay
5023e2ad52
Fix escaping issues in emscripten CI commands
2018-09-15 16:37:46 -07:00
David Tolnay
810cde1c84
Split travis builds into individual steps
2018-09-15 16:15:59 -07:00
David Tolnay
9436efb80e
Move CI commands into travis.yml and appveyor.yml
2018-09-15 16:04:57 -07:00
David Tolnay
48230890c5
Merge pull request #1390 from dtolnay/asmjs
...
Run test suite on asmjs
2018-09-15 15:50:11 -07:00
David Tolnay
f1e8dcf38e
Run test suite on asmjs
2018-09-15 15:25:55 -07:00
David Tolnay
2cf10a6003
Remove separate proc-macro2/nightly build
...
This feature is automatically enabled on sufficiently new compilers.
2018-09-15 15:25:19 -07:00
David Tolnay
23a53d8008
Remove unused proc-macro2 dependency in test suite
2018-09-15 15:12:47 -07:00
David Tolnay
9956589ed5
Release 1.0.79
2018-09-15 14:40:38 -07:00
David Tolnay
81a3f66d78
Ignore unseparated_literal_suffix pedantic lint
2018-09-11 23:08:13 -07:00
David Tolnay
a8247bc619
Sort the ignored lints in serde_derive
2018-09-11 23:08:00 -07:00
David Tolnay
66a9ccb10e
Ignore renamed_and_removed_lints lint
...
The recommended replacement involving clippy::all has not been
stabilized yet.
2018-09-11 23:05:33 -07:00
David Tolnay
53fe1b328e
Format with rustfmt 0.99.4
2018-09-11 23:00:08 -07:00
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