Commit Graph

1852 Commits

Author SHA1 Message Date
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
David Tolnay
1985cfc955
Merge branch 'origin/1.0' into 'origin/identifier'
Conflicts:
    serde_derive/src/ser.rs
2017-04-10 12:37:41 -07:00
David Tolnay
517270a943 Merge pull request #858 from serde-rs/remote
Derive for remote types
2017-04-10 12:33:38 -07:00
David Tolnay
6a6606cd64
Test unknown field in remote struct 2017-04-10 12:23:02 -07:00