Commit Graph

1512 Commits

Author SHA1 Message Date
David Tolnay
b9d865d8e7 Merge pull request #715 from serde-rs/nostd
Support serde_derive on no_std
2017-01-23 16:13:25 -08:00
David Tolnay
fc4e370ba9
Support serde_derive on no_std 2017-01-23 16:03:06 -08:00
Oliver Schneider
a982d27536 Merge pull request #700 from serde-rs/usize
Restore visit_usize and visit_bytes for identifying variants
2017-01-23 11:27:06 +01:00
Oliver Schneider
dc87826298 Merge pull request #699 from serde-rs/fields
Remove visit_usize from Duration impl
2017-01-23 11:26:18 +01:00
David Tolnay
a09a8a039a
All combinations of features compile without warnings 2017-01-23 01:45:54 -08:00
David Tolnay
ea702755a2
Merge branch master into origin/usize
Conflicts:
    serde_codegen/src/de.rs
    testing/tests/test_de.rs
2017-01-23 01:36:49 -08:00
David Tolnay
d161911c63
Merge branch master into origin/fields
Conflicts:
    serde/src/de/impls.rs
2017-01-23 01:28:01 -08:00
Oliver Schneider
e27553d3df Merge pull request #710 from serde-rs/errors
Errors redesign
2017-01-23 10:25:48 +01:00
David Tolnay
48eaf988bc
Add free-form option for Unexpected 2017-01-22 05:02:24 -08:00
David Tolnay
73a364d4fd
Capture byte value for error message 2017-01-22 04:57:12 -08:00
David Tolnay
6dfdcb6ba1 Merge pull request #713 from serde-rs/zero
Suppress warning about using num::Zero
2017-01-21 19:20:57 -08:00
David Tolnay
089c7eb1d7
Suppress warning about using num::Zero 2017-01-21 19:14:56 -08:00
David Tolnay
1e05fc2145
Release 0.9.0-rc2 2017-01-21 16:30:13 -08:00
David Tolnay
977612d8dd
Merge branch origin/missing into origin/errors 2017-01-21 16:28:24 -08:00
David Tolnay
5855078703
Fix backward invalid_length messages in value deserializer 2017-01-21 14:38:33 -08:00
David Tolnay
3c88a93fb2
Fix the filtered error messages 2017-01-21 12:34:04 -08:00
David Tolnay
530c29466e Merge pull request #711 from serde-rs/names
Filter the slice of expected field and variant names
2017-01-21 12:25:43 -08:00
David Tolnay
ea99e8b686
Filter the slice of expected field and variant names 2017-01-21 12:18:55 -08:00
David Tolnay
2a148112d4
Fix Box<str> use on no_std 2017-01-21 10:17:48 -08:00
David Tolnay
a4126e4c5a
Errors 2017-01-21 09:13:01 -08:00
David Tolnay
d1325862f7
Merge tag v0.8.23 into master
Conflicts:
    serde/Cargo.toml
    serde_codegen/Cargo.toml
    serde_derive/Cargo.toml
    serde_test/Cargo.toml
    testing/Cargo.toml
2017-01-20 15:29:32 -08:00
David Tolnay
1f65ce75ec
Release 0.8.23 2017-01-20 15:25:57 -08:00
Jake Goulding
9536e52aa6
Add categories to Cargo.toml 2017-01-20 15:09:11 -08:00
Oliver Schneider
be0c755731 Merge pull request #705 from serde-rs/inlineseed
Inline <PhantomData<T> as DeserializeSeed>::deserialize
2017-01-20 14:34:24 +01:00
David Tolnay
42bc63bed8
Standardize behavior of missing fields 2017-01-20 00:44:43 -08:00
David Tolnay
e41b940a3d
Inline <PhantomData<T> as DeserializeSeed>::deserialize 2017-01-19 16:17:27 -08:00
David Tolnay
88149fc0c3
Fix key and value seed variable names
Rename fail.
2017-01-19 13:44:18 -08:00
David Tolnay
5ecfb3b388
Update serde_test to use seeds 2017-01-19 01:24:33 -08:00
David Tolnay
13a9f929de
Stateful deserialization 2017-01-19 01:17:59 -08:00
David Tolnay
e40fbe0767
Restore visit_bytes for Duration impl 2017-01-18 21:13:51 -08:00
David Tolnay
0a10116bf5
Restore visit_bytes for identifying variants and fields 2017-01-18 21:11:51 -08:00
David Tolnay
b1fbbfd3ce
Restore visit_usize for identifying variants 2017-01-17 23:52:06 -08:00
David Tolnay
984ebcead0
Remove visit_usize and visit_bytes for Duration impl 2017-01-17 23:32:28 -08:00
David Tolnay
aa88f01cdc Merge pull request #697 from serde-rs/vanity
cleanup some deprecation warnings
2017-01-17 09:26:44 -08:00
David Tolnay
13794c1b48
Stop testing on rust 1.12.0 2017-01-17 09:19:39 -08:00
Oliver Schneider
b5e64abba1
cleanup some deprecation warnings 2017-01-17 14:29:33 +01:00
David Tolnay
503ce310f5 Merge pull request #692 from serde-rs/byte_buf
add missing `Vec<u8>` deserialization hint to `Deserializer`
2017-01-16 08:10:25 -08:00
Oliver Schneider
b26f291d93
add missing Vec<u8> deserialization hint to Deserializer 2017-01-16 16:55:13 +01:00
David Tolnay
bc6bc9e3f0
Remove LICENSE file in favor of LICENSE-MIT and LICENSE-APACHE
This repo no longer contains bench_log referenced in this file.
2017-01-15 10:16:57 -08:00
David Tolnay
3a52364f3e
Release 0.9.0-rc1 2017-01-15 09:26:44 -08:00
David Tolnay
4d1627fc96 Merge pull request #687 from serde-rs/ser
Enforce correct use of Serialize trait
2017-01-15 09:22:30 -08:00
David Tolnay
7c04bf36d9 Merge pull request #686 from serde-rs/de
Enforce correct use of Deserialize trait
2017-01-15 07:30:14 -08:00
David Tolnay
4b06030666
Unabbreviated method naming 2017-01-14 21:39:37 -08:00
David Tolnay
a5a04306f2
Update tests for Serializer changes 2017-01-14 16:07:43 -08:00
David Tolnay
f9885c4826
Update serde_codegen for Serializer changes 2017-01-14 16:07:34 -08:00
David Tolnay
04f25eb122
Update serde_test for Serializer changes 2017-01-14 16:07:17 -08:00
David Tolnay
2fea5f3e1c
Enforce correct use of Serialize trait 2017-01-14 15:21:31 -08:00
David Tolnay
905b2c3cf3
Expose VariantVisitor for the StrDeserializer 2017-01-14 14:17:46 -08:00
David Tolnay
d5b428a087
Fix imports for stable compiler 2017-01-14 14:16:01 -08:00
David Tolnay
b3b8056d93
Update tests for Deserializer changes 2017-01-14 13:42:49 -08:00