David Tolnay
775e8154e7
Fix libc dependency in no_std test
2017-07-09 10:19:19 -07:00
David Tolnay
9c679d9082
Test for serializing BTreeSet
2017-07-09 10:16:49 -07:00
David Tolnay
b0f9d2a0ba
Exclude macros file from being tested by itself
2017-07-09 09:24:29 -07:00
David Tolnay
f39b1db96a
Additional errors for some reason
2017-07-09 09:22:20 -07:00
David Tolnay
9ecb0839de
Release 1.0.9
2017-06-29 20:21:29 -07:00
David Tolnay
8a4c116812
Merge pull request #971 from serde-rs/remotede
...
Fix deserializer bounds on remote derive
2017-06-29 20:19:36 -07:00
David Tolnay
1d3e921ba6
Fix deserializer bounds on remote derive
2017-06-29 20:12:44 -07:00
David Tolnay
4fdba725fe
Revert "Support deserialization of struct keys from integers"
...
This is not as useful as expected because the Serializer does not know the real
index of each struct field being serialized. The best it can do is keep a
counter, which goes wrong if fields are conditionally skipped.
This reverts commit eec7101894 .
2017-06-18 09:11:21 -07:00
David Tolnay
75eed8cdde
Merge pull request #958 from serde-rs/unused
...
Fix unused seq and map macros
2017-06-17 19:14:39 -07:00
David Tolnay
6801a13650
Fix unused seq and map macros
2017-06-17 19:01:12 -07:00
David Tolnay
25ab84d4b9
Merge pull request #957 from serde-rs/alloc
...
Merge crate `collections` into `alloc`
2017-06-17 18:59:43 -07:00
David Tolnay
e43d3f3e4f
Merge crate collections into alloc
2017-06-17 18:35:56 -07:00
David Tolnay
b37d47c987
Merge pull request #956 from sfackler/int-field
...
Support deserialization of struct keys from integers
2017-06-17 18:26:45 -07:00
David Tolnay
fd3d1396d3
Release 1.0.8
2017-05-24 00:17:27 -07:00
David Tolnay
c47b4c8e0b
Release 1.0.7
2017-05-19 17:00:31 -07:00
David Tolnay
2d793b82f6
Merge pull request #940 from BurntSushi/ag-deser-borrowed
...
add borrowed value deserializers
2017-05-19 16:59:55 -07:00
David Tolnay
3d7aad1e7b
Release 1.0.6
2017-05-17 08:20:54 -07:00
David Tolnay
e792874369
Merge pull request #935 from spikefoo/combined-skip
...
Add a combined skip attribute
2017-05-16 09:13:49 -07:00
David Tolnay
4d5e450054
Release 1.0.5
2017-05-14 12:53:48 -07:00
David Tolnay
26b22e647d
Merge pull request #933 from serde-rs/contentstr
...
Fix internally tagged struct variant containing unit variant containing borrowed string
2017-05-14 12:53:07 -07:00
David Tolnay
cda1fc46b0
Fix internally tagged struct variant containing unit variant containing borrowed string
2017-05-14 12:39:42 -07:00
David Tolnay
c68b959696
Release 1.0.4
2017-05-10 20:05:22 -07:00
David Tolnay
eab80172e4
Merge pull request #926 from serde-rs/borrow
...
Support borrowing within internally tagged enum
2017-05-10 20:04:36 -07:00
David Tolnay
c1259fbc87
Support borrowing within internally tagged enum
2017-05-10 19:56:05 -07:00
David Tolnay
58e30eaee4
Release 1.0.3
2017-05-10 10:15:39 -07:00
David Tolnay
bafa941004
Merge pull request #924 from pshc/deserialize-borrowed-path
...
impl Deserialize for &'a Path
2017-05-10 10:14:25 -07:00
David Tolnay
3f9fc49cca
Merge pull request #922 from serde-rs/nonzero
...
Removed Deref impl for NonZero
2017-05-09 19:58:17 -07:00
David Tolnay
c913527944
Removed Deref impl for NonZero
2017-05-09 19:48:54 -07:00
David Tolnay
8fafc7420c
Release 1.0.2
2017-04-27 12:32:30 -07:00
David Tolnay
bea1c5b0f5
Remove trailing whitespace
2017-04-27 12:31:13 -07:00
David Tolnay
aa37caf216
Merge pull request #905 from TedDriggs/adjacent_tag_enums
...
Fix #816 - adjacently-tagged enums honor deny_unknown_fields
2017-04-27 12:27:31 -07:00
David Tolnay
c96efcb87a
Merge pull request #900 from SuperFluffy/macro_to_derive_input
...
Replace deprecated MacroInput; completes c52e131
2017-04-25 08:10:26 -07:00
David Tolnay
c7901e532e
Release 1.0.1
2017-04-23 16:40:56 -07:00
David Tolnay
2af0701be6
Merge tag 'v0.9.15' into 'origin/master'
2017-04-23 16:39:32 -07:00
David Tolnay
ae79451b7a
Release 0.9.15
2017-04-23 16:37:43 -07:00
David Tolnay
b220f264a5
Merge pull request #898 from SimonSapin/z-is-dead
...
Remove usage of unstable core::num::Zero, which was removed upstream.
2017-04-23 16:35:57 -07:00
David Tolnay
1a2b3815ef
Merge pull request #899 from SimonSapin/z-is-dead-in-0.9-too
...
Remove usage of unstable core::num::Zero, which was removed upstream.
2017-04-23 16:34:06 -07:00
David Tolnay
d7ccef0cac
Release 1.0.0
2017-04-20 08:19:31 -07:00
David Tolnay
2d465415c5
Take credit
2017-04-20 08:13:46 -07:00
David Tolnay
bc2d637112
Cut an internals release
2017-04-20 08:11:31 -07:00
David Tolnay
cf1cdadc77
Fix some rustfmt screwups
2017-04-19 15:56:22 -07:00
David Tolnay
4a9cb3395d
Fix the serialize_bytes doc test
2017-04-19 15:03:02 -07:00
David Tolnay
dfa6623a24
Encourage serialize_entry
2017-04-19 14:56:52 -07:00
David Tolnay
a8adac6b93
Document misuse of SerializeMap
2017-04-19 14:55:28 -07:00
David Tolnay
b9b7922ef1
Naming for &str and &[u8] is more like primitives
2017-04-19 14:53:15 -07:00
David Tolnay
a369ee156f
Run serde_test doc tests in Travis
2017-04-19 14:45:06 -07:00
David Tolnay
d1253cb193
Minimal serde_derive documentation
...
Fixes #886 .
2017-04-19 14:43:53 -07:00
David Tolnay
bc982f9757
Examples for serde_test methods
2017-04-19 14:39:52 -07:00
David Tolnay
0240814677
Update post-merge html_root_urls
2017-04-19 14:32:04 -07:00
David Tolnay
670be2ce2f
Crate-level documentation for serde_test
2017-04-19 14:31:07 -07:00
David Tolnay
c893e3e872
Support old rustc
2017-04-19 14:17:18 -07:00
David Tolnay
fe8141fd70
Reorder Tokens to match the Serializer trait
2017-04-19 14:15:24 -07:00
David Tolnay
aa750d2bf3
Examples of every token
2017-04-19 14:12:56 -07:00
David Tolnay
4cea214da2
Update the assert_ser_tokens_error example
2017-04-19 13:11:14 -07:00
David Tolnay
15341780a2
Use struct variants in test suite
2017-04-19 13:06:31 -07:00
David Tolnay
4767ca3f5d
Use struct variants in token
2017-04-19 12:20:17 -07:00
David Tolnay
26a6ba177c
Remove error from serde_test public API
2017-04-19 11:54:48 -07:00
David Tolnay
974c8434e9
Add example of Error::Message
2017-04-19 10:42:15 -07:00
David Tolnay
0734b44a3a
Remove unneeded trait bounds
2017-04-19 10:41:58 -07:00
David Tolnay
d0f846182b
Keep serde_test serializer and deserializer private
2017-04-19 09:46:30 -07:00
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
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