Commit Graph

1752 Commits

Author SHA1 Message Date
David Tolnay
1e32329e61
Fix unused feature gate warning 2017-04-05 16:30:46 -07:00
David Tolnay
e2a1f08e43
Remove unused import of std::ops 2017-04-05 16:26:58 -07:00
David Tolnay
5f49eb8b24
Remove unused import of MapVisitor 2017-04-05 16:18:11 -07:00
David Tolnay
aa30ef827c
Move Bytes and ByteBuf to their own crate
Moved to https://github.com/serde-rs/bytes.
2017-04-05 15:21:27 -07:00
David Tolnay
ebe214e8ac
Remove CString dependency on ByteBuf 2017-04-05 15:19:29 -07:00
David Tolnay
8fd41d3b28
Disable publishing 2017-04-05 15:11:47 -07:00
David Tolnay
a7f6ad137a
Merge branch 'master' into '1.0'
Conflicts:
    serde/src/macros.rs
2017-04-05 15:10:18 -07:00
David Tolnay
1b763da529
Release 0.9.13 2017-04-05 15:03:37 -07:00
David Tolnay
b7d6c5d9f7
Remove no_std special case in forward_to_deserialize 2017-04-05 15:01:55 -07:00
David Tolnay
e7d3d515df
Simplify integer conversion logic 2017-04-05 13:06:05 -07:00
David Tolnay
145733ce77
Remove redundant Bounded trait 2017-04-05 12:36:51 -07:00
David Tolnay
1a63cbccb2
Remove unused ToPrimitive trait 2017-04-05 12:29:05 -07:00
David Tolnay
07ac9eb538
Remove unused number conversion logic 2017-04-05 12:11:50 -07:00
David Tolnay
14aa89aac8 Merge pull request #846 from serde-rs/float
Remove implicit conversion from float to integer
2017-04-05 11:51:49 -07:00
David Tolnay
e66033e53e
Remove implicit conversion from float to integer 2017-04-05 11:25:12 -07:00
David Tolnay
dcb837b531 Merge pull request #845 from serde-rs/token
Modernize serde_test Token names
2017-04-05 10:52:33 -07:00
David Tolnay
51d3fb1ebc
Update token names in test suite 2017-04-05 10:40:14 -07:00
David Tolnay
826b53f691
Update token names in serde_test 2017-04-05 10:30:46 -07:00
David Tolnay
b6605b57e0
Modernize serde_test Token names 2017-04-05 10:26:34 -07:00
David Tolnay
f03e8e6056
Exhaustive match in serde_test deserializer 2017-04-05 09:54:12 -07:00
David Tolnay
a33a9a5b26 Merge pull request #844 from serde-rs/sep
Eliminate Sep tokens in serde_test
2017-04-05 09:54:02 -07:00
David Tolnay
67ed7a0edd
Eliminate Sep tokens in serde_test 2017-04-05 09:42:27 -07:00
David Tolnay
9b51be4ba6 Merge pull request #843 from serde-rs/ignore
Stop ignoring error in assert_de_tokens_ignore
2017-04-05 09:36:22 -07:00
David Tolnay
c3d9b42cdf
Fix handling of option and newtype in IgnoredAny 2017-04-05 09:19:22 -07:00
David Tolnay
b2377d4c0b
Allow enums in ignored map value in serde_test 2017-04-05 08:54:30 -07:00
David Tolnay
dee58ead7f Merge pull request #841 from serde-rs/nostr
Remove the no_std implementation of collect_str
2017-04-05 08:12:31 -07:00
David Tolnay
887985523e Merge pull request #840 from serde-rs/privimpl
Make the built-in visitors private
2017-04-05 08:12:00 -07:00
David Tolnay
cabc299447 Merge pull request #839 from serde-rs/conv
Remove questionable type conversions
2017-04-05 08:11:50 -07:00
David Tolnay
21adee8f40
Partial support for EnumStart in assert_ser_tokens 2017-04-05 01:15:42 -07:00
David Tolnay
afaab12b66
Improve assert_ser_tokens error messages 2017-04-05 01:06:42 -07:00
David Tolnay
93860d0643
Require slice of tokens in serde_test::Serializer 2017-04-05 00:27:30 -07:00
David Tolnay
b43554fbb1
Require slice of tokens in serde_test::Deserializer 2017-04-05 00:22:00 -07:00
David Tolnay
5871fb9ce0
Remove lifetime from serde_test::Token 2017-04-05 00:17:50 -07:00
David Tolnay
f05368ed24
Remove the no_std implementation of collect_str 2017-04-04 19:10:35 -07:00
David Tolnay
732b91e53d
Make the built-in visitors private 2017-04-04 18:59:57 -07:00
David Tolnay
d03ecda333
Test that conversions do not happen 2017-04-04 18:50:40 -07:00
David Tolnay
7a722d5060
Remove questionable conversion tests 2017-04-04 18:38:58 -07:00
David Tolnay
2795f0ed9d
Remove questionable type conversions 2017-04-04 18:18:47 -07:00
David Tolnay
92bc23e484
Deserializing OsString on windows requires a 'de lifetime 2017-04-04 18:08:36 -07:00
David Tolnay
5a98bd9ee3
Merge branch 'master' into '1.0' 2017-04-04 18:04:40 -07:00
David Tolnay
bfabaf3789 Merge pull request #838 from serde-rs/winstr
Deserialize OsString on Windows
2017-04-04 11:33:42 -07:00
David Tolnay
cf6c4ab7ec
Deserialize OsString on Windows 2017-04-04 11:19:24 -07:00
David Tolnay
7c27e10226 Merge pull request #837 from serde-rs/borrow
Derive for borrowed fields
2017-04-04 10:51:56 -07:00
David Tolnay
20ff9ba89b
Add tests of deserializing borrows 2017-04-04 10:47:21 -07:00
David Tolnay
211e2bb8d9
Support borrowed tokens in serde_test 2017-04-04 09:56:01 -07:00
David Tolnay
cee3efbda8
Relax lifetime requirement of the borrow_cow functions 2017-04-03 00:54:50 -07:00
David Tolnay
fb48111e46
Derive for borrowed fields 2017-04-03 00:40:45 -07:00
David Tolnay
8c3e72f2c8 Merge pull request #834 from serde-rs/easy
Deserialize impls for &str and &[u8]
2017-03-31 00:44:44 -07:00
David Tolnay
aa46318425
Deserialize impls for &str and &[u8] 2017-03-30 23:36:20 -07:00
David Tolnay
3d3118f8b0 Merge pull request #826 from serde-rs/lifetime
Add a 'de lifetime to the deserialize traits
2017-03-30 23:11:49 -07:00