Commit Graph

2019 Commits

Author SHA1 Message Date
David Tolnay
a937a06d3e
Add an IgnoredAny example 2017-04-13 17:22:51 -07:00
David Tolnay
dd092dce95
Allow using IgnoredAny as a visitor 2017-04-13 16:53:27 -07:00
David Tolnay
dfea7ec939
This is not a bottleneck 2017-04-13 16:46:38 -07:00
David Tolnay
0e7c027ff1
NonZero is just another deref 2017-04-13 16:44:05 -07:00
David Tolnay
8b6f77095a
Remove redundant cfg 2017-04-13 16:43:03 -07:00
David Tolnay
dbe7d04282
Import Path and PathBuf directly 2017-04-13 16:38:04 -07:00
David Tolnay
fb7964fde7
Clean up serialize_display_bounded_length 2017-04-13 16:36:24 -07:00
David Tolnay
f45b83f0c1
Condense the deref impls 2017-04-13 16:26:30 -07:00
David Tolnay
f28abe8fde
Map impls more like the seq impls 2017-04-13 16:09:53 -07:00
David Tolnay
15faaf8bc3
Condense the tuple impls 2017-04-13 16:01:50 -07:00
David Tolnay
a15636f808
More like the Deserialize impls for sequences 2017-04-13 15:55:34 -07:00
David Tolnay
5d396c4e3b
Condense the array impls 2017-04-13 15:41:26 -07:00
David Tolnay
bdccde5c9b
Simplify serialize impl for String 2017-04-13 15:36:46 -07:00
David Tolnay
7dd01dd54a
This macro serializes a primitive 2017-04-13 15:36:42 -07:00
David Tolnay
e4b21e6caa
Example for serialize_unit 2017-04-13 15:20:09 -07:00
David Tolnay
2afbffa924
Example for serialize_unit_struct 2017-04-13 15:20:01 -07:00
David Tolnay
385f83a7de
Examples and links for Option 2017-04-13 15:16:43 -07:00
David Tolnay
50f5ef2fb6
Condense some serializer imports 2017-04-13 14:54:59 -07:00
David Tolnay
13f273ad74
Examples for the primitive serializer methods 2017-04-13 14:51:39 -07:00
David Tolnay
09bd8287e7
Hyperlink the serialize_entry documentation 2017-04-13 14:27:13 -07:00
David Tolnay
35313257c5
Do not hyperlink first sentence because it shows up in index 2017-04-13 14:23:06 -07:00
David Tolnay
07bce54ad3
Add a collect_map example 2017-04-13 14:21:28 -07:00
David Tolnay
41488252ff
Add a collect_seq example 2017-04-13 14:19:17 -07:00
David Tolnay
8d1f882512
Hyperlink the collect methods 2017-04-13 14:16:28 -07:00
David Tolnay
dec6b67236
Hyperlink the Serializer associated types 2017-04-13 14:02:13 -07:00
David Tolnay
0cf8eadef8
Dynamically sized means something else 2017-04-13 13:56:12 -07:00
David Tolnay
7d16710fb4
Add an example to Serialize 2017-04-13 13:55:51 -07:00
David Tolnay
9253fccf04
Hyperlink the Serialize documentation 2017-04-13 13:55:34 -07:00
David Tolnay
eab771cd1a
Standardize on 80 characters per line
Per Mozilla coding style:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style
2017-04-13 13:24:47 -07:00
David Tolnay
4f6518dad7
Hyperlink the ser::Error documentation 2017-04-13 13:20:12 -07:00
David Tolnay
f8e53e837d
Hyperlink the ser module documentation 2017-04-13 13:15:23 -07:00
David Tolnay
c5854f19f7
Prefer where clauses 2017-04-13 13:02:10 -07:00
David Tolnay
5bb6de80b2
Use better names for the sake of the documentation 2017-04-13 12:45:42 -07:00
David Tolnay
c4e31bd968
Match the associated types from the Serializer trait 2017-04-13 12:43:24 -07:00
David Tolnay
2887c379de
Hyperlink the Impossible documentation 2017-04-13 12:42:36 -07:00
David Tolnay
ea8fb97beb
Format in rfc style 2017-04-13 12:32:29 -07:00
David Tolnay
c5bd760133
Sort macros in a more readable order 2017-04-13 12:15:12 -07:00
David Tolnay
942642c0f4
Hyperlink the forward_to_deserialize documentation 2017-04-13 12:09:42 -07:00
David Tolnay
78407e19a9
Export Formatter directly for generated code 2017-04-13 12:02:16 -07:00
David Tolnay
47a4e61b8b
Document the parts of lib.rs 2017-04-13 11:59:42 -07:00
David Tolnay
5141270346
Touch up the top-level documentation 2017-04-13 11:52:33 -07:00
David Tolnay
dc7ab2696a
Point html_root_url to docs.rs 2017-04-13 11:31:29 -07:00
David Tolnay
14034968df
Implement Copy for de::Unexpected 2017-04-13 11:11:37 -07:00
David Tolnay
aef136934b
Implement Clone for the value deserializers 2017-04-13 11:11:09 -07:00
David Tolnay
7d0a38270d
Eagerly implement common traits for IgnoredAny 2017-04-13 11:06:48 -07:00
David Tolnay
07154303ed
Implement Debug for public types 2017-04-13 11:04:16 -07:00
David Tolnay
4f39766211
Fix paths to readme files 2017-04-13 10:37:24 -07:00
David Tolnay
304b598a05
Add appveyor badge to crates.io 2017-04-13 10:26:47 -07:00
David Tolnay
afd080d005
Merge branch 'origin/master' into 'origin/1.0' 2017-04-13 10:19:35 -07:00
David Tolnay
1232cfd194
Add playground link to readme 2017-04-13 10:19:22 -07:00