Commit Graph

19 Commits

Author SHA1 Message Date
David Tolnay
ced57a9e5f
Re-enable testing of nightly proc macro 2018-05-22 21:02:45 -07:00
David Tolnay
62850bf832
Disable nightly proc-macro build 2018-05-18 12:24:03 -07:00
David Tolnay
77f9e63661
Add a CI build on 1.15.0 2018-05-02 14:29:51 -07:00
David Tolnay
dd6914a203
Build the test suite in CI using proc-macro2/nightly 2018-01-09 22:23:19 -08:00
David Tolnay
f4ae0888c8
Run clippy on serde_test in Travis 2017-11-06 22:28:58 -08:00
David Tolnay
a6df35b3d2
Disable no_std test on appveyor 2017-08-15 21:58:52 -07:00
David Tolnay
4f2e8d5dbb
Workaround for "no bin target named serde_derive_tests_no_std" 2017-07-21 00:05:30 -07:00
David Tolnay
e43d3f3e4f
Merge crate collections into alloc 2017-06-17 18:35:56 -07:00
David Tolnay
a369ee156f
Run serde_test doc tests in Travis 2017-04-19 14:45:06 -07:00
David Tolnay
aed5a77540
Fix assert_next_token on old rustc 2017-04-10 19:41:32 -07:00
David Tolnay
0b7accf86c
Remove unused unstable flag from serde_derive 2017-04-10 17:29:59 -07:00
David Tolnay
0f72d1a388
Put rc impls behind a cfg 2017-04-10 17:01:11 -07:00
David Tolnay
8bbab627a0
Document the cargo cfgs 2017-04-10 16:38:11 -07:00
Alex Crichton
ce687431f3 Implement Serialize/Deserialize for OsStr/OsString
This commit implements the two serde traits for the libstd `OsStr` and
`OsString` types. This came up as a use case during implementing sccache where
we're basically just doing IPC to communicate paths around. Additionally the
`Path` and `PathBuf` implementations have been updated to delegate to the os
string ones.

These types are platform-specific, however, so the serialization/deserialization
isn't trivial. Currently this "fakes" a newtype variant for Unix/Windows to
prevent cross-platform serialization/deserialization. This means if you're doing
IPC within the same OS (e.g. Windows to Windows) then serialization should be
infallible. If you're doing IPC across platforms (e.g.  Unix to Windows) then
using `OsString` is guaranteed to fail as bytes from one OS won't deserialize on
the other (even if they're unicode).
2017-03-27 11:44:50 -07:00
David Tolnay
dd6989d551
Actually run unstable tests 2017-03-08 21:02:15 -08:00
David Tolnay
34b39083bc
No error if clippy install fails 2017-02-01 00:38:02 -08:00
David Tolnay
9a0f05d00d
Speed up the travis clippy installation 2017-01-31 12:09:44 -08:00
David Tolnay
39c7797633
Allow running travis build locally 2017-01-31 12:07:31 -08:00
Oliver Schneider
368784949e move to cargo clippy instead of using the clippy plugin (#733)
* move to cargo clippy instead of using the clippy plugin

fixes #729

* non-exectable scripts must be run with `sh`

* don't build serde in the clippy travis job

* only run clippy tests if installing clippy succeeds

* why is travis so picky?

* no more serde_codegen

* serde_test_suite_deps has no features

* don't use empty loops, llvm optimizes them to undefined behaviour

* abort the clippy job when clippy lints are triggered

* use caches on travis to speed up builds

* why are we even using `travis-cargo`?

* need to reinstall clippy frequently due to nightly updates

* command line tools are hard
2017-01-31 09:09:37 -08:00