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 |
|
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 |
|
David Tolnay
|
7e72d8bf66
|
Merge pull request #869 from serde-rs/into
Rename ValueDeserializer trait to IntoDeserializer
|
2017-04-12 08:06:18 -07:00 |
|
David Tolnay
|
0d82bbf74f
|
Rename ValueDeserializer trait to IntoDeserializer
|
2017-04-11 23:20:35 -07:00 |
|
David Tolnay
|
aed5a77540
|
Fix assert_next_token on old rustc
|
2017-04-10 19:41:32 -07:00 |
|
David Tolnay
|
f54d597b2e
|
Merge pull request #865 from serde-rs/use
Centralize all import wrangling
|
2017-04-10 19:15:45 -07:00 |
|
David Tolnay
|
2efb95015b
|
Appease Rust 1.13.0
|
2017-04-10 19:06:42 -07:00 |
|
David Tolnay
|
f88db0f547
|
Centralize all import wrangling
|
2017-04-10 18:50:22 -07:00 |
|
David Tolnay
|
0b7accf86c
|
Remove unused unstable flag from serde_derive
|
2017-04-10 17:29:59 -07:00 |
|
David Tolnay
|
ab82f09e5d
|
Merge pull request #864 from serde-rs/rc
Put rc impls behind a cfg
|
2017-04-10 17:20:38 -07:00 |
|
David Tolnay
|
0f72d1a388
|
Put rc impls behind a cfg
|
2017-04-10 17:01:11 -07:00 |
|
David Tolnay
|
ef3489a23e
|
Merge pull request #863 from serde-rs/cfgs
Document the cargo cfgs
|
2017-04-10 16:47:14 -07:00 |
|
David Tolnay
|
8bbab627a0
|
Document the cargo cfgs
|
2017-04-10 16:38:11 -07:00 |
|
David Tolnay
|
76ff216a5f
|
Merge pull request #853 from serde-rs/fwd
Configurable forward_to_deserialize
|
2017-04-10 15:43:34 -07:00 |
|
David Tolnay
|
b40ecf04ce
|
Merge branch 'origin/1.0' into 'origin/fwd'
Conflicts:
serde/src/macros.rs
|
2017-04-10 15:23:37 -07:00 |
|
David Tolnay
|
eeaa095cd3
|
Merge pull request #860 from serde-rs/identifier
Standardize on u32 for struct field index and enum variant index
|
2017-04-10 15:16:16 -07:00 |
|