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 |
|
David Tolnay
|
174867295b
|
Test missing field in remote struct
|
2017-04-10 12:22:51 -07:00 |
|
David Tolnay
|
ad5bf04c4e
|
Test for incorrect remote type deserializing
|
2017-04-10 12:15:40 -07:00 |
|
David Tolnay
|
2deacf8eaa
|
Detect incorrect remote type without getter
|
2017-04-10 12:12:00 -07:00 |
|
David Tolnay
|
e133b8b708
|
Fix unused import on windows
|
2017-04-09 14:11:27 -07:00 |
|
David Tolnay
|
52e93150e6
|
Standardize on u32 as the type of a variant index
|
2017-04-09 14:03:18 -07:00 |
|
David Tolnay
|
a38b24136b
|
Rename deserialize_struct_field to deserialize_identifier
Because it applies to both struct fields and discriminants of an enum.
|
2017-04-09 13:35:22 -07:00 |
|
David Tolnay
|
78f682590a
|
Merge branch 'origin/1.0' into 'origin/remote'
Conflicts:
serde_derive/src/de.rs
|
2017-04-09 13:19:04 -07:00 |
|
David Tolnay
|
528ec3cdd8
|
Merge pull request #859 from serde-rs/unitseq
Remove conversion from empty seq to unit struct
|
2017-04-09 13:17:41 -07:00 |
|
David Tolnay
|
1986c17052
|
Remove conversion from empty seq to unit struct
|
2017-04-09 13:08:05 -07:00 |
|
David Tolnay
|
5ec317a899
|
More compile-fail tests for remote derive
|
2017-04-09 11:11:27 -07:00 |
|
David Tolnay
|
9d8987bde8
|
Require getters to return the correct type
|
2017-04-09 10:59:54 -07:00 |
|
David Tolnay
|
a6d172111b
|
Derive for remote types
|
2017-04-09 10:15:46 -07:00 |
|
David Tolnay
|
9271f7c48c
|
Use a deserializer in which V would conflict
|
2017-04-08 22:46:53 -07:00 |
|
David Tolnay
|
74e15ea9f5
|
Configurable forward_to_deserialize
|
2017-04-08 22:43:07 -07:00 |
|
David Tolnay
|
2c49f9aad3
|
Recommend 'extern crate serde'
|
2017-04-08 13:53:13 -07:00 |
|
David Tolnay
|
cc933b9cdb
|
Just use an existing macro
|
2017-04-07 17:26:03 -07:00 |
|
David Tolnay
|
fdaa8202b9
|
Clean up some existing examples
|
2017-04-07 11:06:19 -07:00 |
|
David Tolnay
|
85d4dc3e20
|
Copy the Serializer examples to the helper traits
|
2017-04-07 10:45:13 -07:00 |
|
David Tolnay
|
11a6e42256
|
Unignore SerializeSeq example
|
2017-04-07 10:42:54 -07:00 |
|
David Tolnay
|
b1cfa5aef5
|
Unignore Serializer::serialize_struct_variant example
|
2017-04-07 10:35:42 -07:00 |
|
David Tolnay
|
f2b230a0b8
|
Unignore Serializer::serialize_struct example
|
2017-04-07 10:34:03 -07:00 |
|
David Tolnay
|
8aa630ea48
|
Unignore Serializer::serialize_map example
|
2017-04-07 10:32:01 -07:00 |
|
David Tolnay
|
ad249c7fac
|
Unignore Serializer::serialize_tuple_variant example
|
2017-04-07 10:28:53 -07:00 |
|
David Tolnay
|
fccb395168
|
Unignore Serializer::serialize_tuple_struct example
|
2017-04-07 10:26:00 -07:00 |
|
David Tolnay
|
8d130123d9
|
Unignore Serializer::serialize_tuple example
|
2017-04-07 10:23:52 -07:00 |
|
David Tolnay
|
d97c4f403c
|
Unignore Serializer::serialize_seq_fixed_size example
|
2017-04-07 10:17:40 -07:00 |
|
David Tolnay
|
e86e716f7a
|
Show imports in Serializer examples
|
2017-04-07 10:12:15 -07:00 |
|
David Tolnay
|
870305aa93
|
Unignore Serializer::serialize_seq example
|
2017-04-07 10:11:08 -07:00 |
|
David Tolnay
|
b9be543596
|
Unignore Serializer::serialize_newtype_variant example
|
2017-04-07 10:04:37 -07:00 |
|
David Tolnay
|
43d49f54be
|
Unignore Serializer::serialize_newtype_struct example
|
2017-04-07 10:02:11 -07:00 |
|
David Tolnay
|
753c711cd7
|
Unignore Serializer::serialize_unit_variant example
|
2017-04-07 10:01:39 -07:00 |
|
David Tolnay
|
2e9cc6e98a
|
Move utf8 encode to where it is used
|
2017-04-07 09:50:38 -07:00 |
|
David Tolnay
|
726eea9a97
|
Separate out the private functionality
This makes it easier when clicking through [src] links from rustdoc, not having
to sift through public and internal code combined together.
|
2017-04-07 09:46:48 -07:00 |
|
David Tolnay
|
467b5fc595
|
Macro to ignore tokens in doc test
|
2017-04-07 09:28:33 -07:00 |
|
David Tolnay
|
995f2b3f76
|
Ignore clippy false positive
|
2017-04-07 09:21:30 -07:00 |
|
David Tolnay
|
e57ce37ac1
|
Unignore Serializer::serialize_bytes example
|
2017-04-07 09:07:08 -07:00 |
|
David Tolnay
|
a581c0d147
|
Keep Debug and Display as supertraits even in no_std
|
2017-04-07 09:00:00 -07:00 |
|
David Tolnay
|
21c2119349
|
Unignore the Impossible example
|
2017-04-06 17:09:01 -07:00 |
|
David Tolnay
|
f12a951f22
|
Unignore VariantVisitor::visit_struct example
|
2017-04-06 16:28:24 -07:00 |
|
David Tolnay
|
d2d4892873
|
Unignore VariantVisitor::visit_tuple example
|
2017-04-06 16:26:51 -07:00 |
|
David Tolnay
|
2b449683f3
|
Unignore VariantVisitor::visit_newtype_seed example
|
2017-04-06 16:24:48 -07:00 |
|
David Tolnay
|
9d73271db2
|
Unignore VariantVisitor::visit_unit example
|
2017-04-06 16:19:47 -07:00 |
|
David Tolnay
|
7ef80a845d
|
Unignore DeserializeOwned example
|
2017-04-06 16:11:30 -07:00 |
|
David Tolnay
|
33760e122c
|
Remove LineColIterator
This belongs in a helper crate.
|
2017-04-06 14:27:21 -07:00 |
|
David Tolnay
|
dd62801b22
|
Use spaces around =-sign like Rust does
|
2017-04-06 14:22:03 -07:00 |
|
David Tolnay
|
5415abf80b
|
Merge pull request #848 from serde-rs/emptyarray
Relax impls for [T; 0]
|
2017-04-05 17:43:11 -07:00 |
|
David Tolnay
|
6388019ad4
|
Relax impls for [T; 0]
|
2017-04-05 17:34:13 -07:00 |
|
David Tolnay
|
2fe67d3d72
|
Merge pull request #847 from serde-rs/error
Remove serde::error::Error
|
2017-04-05 16:37:18 -07:00 |
|
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
|
11c89695a1
|
Rust 1.13.0 macro parsing workaround
|
2017-04-05 16:22:47 -07:00 |
|
David Tolnay
|
5f49eb8b24
|
Remove unused import of MapVisitor
|
2017-04-05 16:18:11 -07:00 |
|
David Tolnay
|
3cc14c2a6d
|
Remove serde::error::Error
|
2017-04-05 16:12:41 -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 |
|