Commit Graph

1918 Commits

Author SHA1 Message Date
David Tolnay
7a7d4c6364
Format in rfc style 2017-04-18 14:23:21 -07:00
David Tolnay
c567e749ef
Merge branch 'origin/1.0' into 'origin/master' 2017-04-18 14:03:00 -07:00
David Tolnay
b8a6e68322
Revert "Allow borrowing from str's IntoDeserializer"
This reverts commit 30e8c84d01.
2017-04-17 16:18:48 -07:00
David Tolnay
6279b0d930
Resolve merge conflicts 2017-04-17 14:25:29 -07:00
David Tolnay
a778425d0f
Merge branch 'origin/master' into 'origin/1.0'
Conflicts:
    serde/Cargo.toml
    serde/src/de/impls.rs
    serde/src/ser/impls.rs
    serde_derive/Cargo.toml
    serde_test/Cargo.toml
2017-04-17 14:18:33 -07:00
David Tolnay
faaf5ee115 Merge pull request #884 from serde-rs/sfs
Remove seq_fixed_size in favor of tuple
2017-04-17 12:29:36 -07:00
David Tolnay
86deb8db79
Remove seq_fixed_size in favor of tuple 2017-04-17 12:07:49 -07:00
David Tolnay
d4d2061a2e
Release 0.9.14 2017-04-17 07:33:45 -07:00
David Tolnay
c202ce13dc Merge pull request #882 from jethrogb/feature/interior_mut_types
Add Serialize/Deserialize for std types that provide interior mutability
2017-04-17 07:32:13 -07:00
Jethro Beekman
1c9478bfa6 Add Serialize/Deserialize for std types that provide interior mutability
Fixes #179
2017-04-16 22:59:17 -07:00
David Tolnay
739ad64c7c
Organize top links 2017-04-16 20:44:27 -07:00
David Tolnay
3eef7c87c9
Fix xml link spacing 2017-04-16 20:33:15 -07:00
David Tolnay
e0c040a3a2
Document MapAccess misuse 2017-04-15 12:36:43 -07:00
David Tolnay
c13a37d4db
Rename VariantAccess methods to not conflict with Deserializer 2017-04-15 12:35:04 -07:00
David Tolnay
4354aab93a
Document the default behavior of Visitor methods 2017-04-14 22:29:46 -07:00
David Tolnay
691e304fff
Mention the shorthand for identifiers 2017-04-14 22:13:55 -07:00
David Tolnay
13463e25c2
Add a lowercase case convention 2017-04-14 22:09:46 -07:00
David Tolnay
54bbf81dfc
Put deserialize_struct and deserialize_enum adjacent 2017-04-14 22:00:27 -07:00
David Tolnay
cdfd445528
Generate deserialize impls for identifiers 2017-04-14 21:53:48 -07:00
David Tolnay
30e8c84d01
Allow borrowing from str's IntoDeserializer 2017-04-14 20:54:58 -07:00
David Tolnay
a35bde49c6
Factor out logic to decide the tag style 2017-04-14 16:14:10 -07:00
David Tolnay
f9535a4d67
Remove "item" terminology in favor of "container"
The docs have been using "container" for a long time.
2017-04-14 15:52:58 -07:00
David Tolnay
6d55501dab
Replace "codegen" with "derive" 2017-04-14 15:42:27 -07:00
David Tolnay
5b118fdef4
Reorder methods to match the serializer trait 2017-04-14 15:24:21 -07:00
David Tolnay
337c6e91d8
Access terminology in serde_test 2017-04-14 15:07:19 -07:00
David Tolnay
b0dc7ea6da
Nicer type parameter for the access forwarding impls 2017-04-14 15:03:43 -07:00
David Tolnay
67d56ae427
Remove unneeded impl bounds 2017-04-14 15:00:16 -07:00
David Tolnay
6829c10a10
Helper deserializer means nothing 2017-04-14 14:49:45 -07:00
David Tolnay
6a37472023
Implement ser::Error for the value error 2017-04-14 14:40:37 -07:00
David Tolnay
d10fa2bd86
Keep underscored names out of the documentation 2017-04-14 14:38:58 -07:00
David Tolnay
e722cf8791
Fix some function signatures that rustfmt missed 2017-04-14 14:33:00 -07:00
David Tolnay
bc4205a1d0
Use V as the Visitor parameter 2017-04-14 14:31:29 -07:00
David Tolnay
ea5af417fb
Use access terminology for value deserializers 2017-04-14 14:30:28 -07:00
David Tolnay
c70c364754
Example of IntoDeserializer 2017-04-14 14:24:47 -07:00
David Tolnay
9cda4563c0
Clean up extraneous vertical space 2017-04-14 14:10:55 -07:00
David Tolnay
fc927e0e25
Review deserialize impls 2017-04-14 14:08:11 -07:00
David Tolnay
7915835a93 Merge pull request #879 from serde-rs/size_hint
Simplify size_hint to Option<usize>
2017-04-14 14:07:36 -07:00
David Tolnay
0c5db90de8
Simplify size_hint to Option<usize> 2017-04-14 13:31:46 -07:00
David Tolnay
637332de2d Merge pull request #878 from serde-rs/deserialize_any
Rename Deserializer::deserialize to deserialize_any
2017-04-14 13:04:20 -07:00
David Tolnay
e77e7c4bba
Rename Deserializer::deserialize to deserialize_any 2017-04-14 12:52:57 -07:00
David Tolnay
1798d1af6e Merge pull request #876 from serde-rs/access
Access traits
2017-04-14 12:45:54 -07:00
David Tolnay
31cec05712
Access traits 2017-04-14 12:24:35 -07:00
David Tolnay
f2de0509f5
Whitelist the zero prefixed literals used in array_impls 2017-04-14 12:24:22 -07:00
David Tolnay
26d357e846
Map ser impls should serialize a map 2017-04-14 12:08:26 -07:00
David Tolnay
4e2f08cc7a
Format some where clauses that rustfmt refused to touch 2017-04-13 23:04:53 -07:00
David Tolnay
91a0f248a1
More readable MapDeserializer bounds 2017-04-13 22:59:36 -07:00
David Tolnay
03462b6e39
Update the list of deserializable types 2017-04-13 17:48:39 -07:00
David Tolnay
37f8ea234f
Hyperlink the de module documentation 2017-04-13 17:43:10 -07:00
David Tolnay
3f920f645c
License boilerplate 2017-04-13 17:34:42 -07:00
David Tolnay
a937a06d3e
Add an IgnoredAny example 2017-04-13 17:22:51 -07:00