Commit Graph

1951 Commits

Author SHA1 Message Date
Ted Driggs
873cfbe9ab Fix #816 - adjacently-tagged enums honor deny_unknown_fields 2017-04-27 11:24:09 -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
Richard Janis Goldschmidt
b53026a21b Replace deprecated MacroInput; completes c52e13 2017-04-25 11:08:56 +02:00
David Tolnay
c7901e532e
Release 1.0.1 2017-04-23 16:40:56 -07:00
David Tolnay
2af0701be6 Release 0.9.15
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJY/TrWAAoJEPm6FDuV/22CN1wQAJiKy4Rk3pQ8wgjS2rAkkIU4
 F4pFNNvTEIjz7sqZS22jKjTjw4Fa2+v6lriv/owWwpDDqQe7VH6/0qA66YhD0sxq
 iX3K+pyf5aG0Wj2onv7SaCFMfGxZX5nVubaEgw4esER9NqZDhNU70DpixDiQBekE
 gFsfWom31ulbcwQkUpH4updG2kCXClFVtZlSHKBpv/EQptAz1gjxEdhB9Wax7Ckm
 sxHk4oq2xPZTwEvWku6bhPSNC0g1P2HaWVe4NSlWcsJHq/mdrqnttOAlMgve1Kqy
 oS3pSdf1xbqNdzDIpOZZpDrz3HiP0TG9kvmL8DSucSv0DVhX4UQhsyQlREcY8zzg
 UJwFC2lWhYmZ6gMe2ExHV0WCZoKZH6DSLC3osue4LmC0niy7+MOMo9pPPYytHNx8
 24QSOGwb9DF5tmMDp0dt8yMOAyHV6vOxA3FnIcv3AuJlYu+Mcp3QPTThNUo36rZ2
 ThJvmWoaimIZGOT2K73reV4WjEGD0cmlINEL/W87UCCiAs14T1/3ttPmN3ACGVOk
 E06tWo7MEhzzo1sR36mFmP5NDnXvJpydmZCX0RK02qaPuhyN/1MuQ+8w/Zh5wnUZ
 fugomHfsd0x1uOF5fbtqGw9gLGx7vZADvF/Wnzw3uu7UPloSGq7fjE74X69CKhkb
 S92/a+c0AOMEoeO64gLU
 =PIhT
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJY/Ts8AAoJEPm6FDuV/22CPS0P/2mwTNCUnuBBB7nngxlEKZaL
 WMx8asNtVp7O4r8KoA8AMibbQ0PaMSBN52B7LdVN0IPwVnPVztwLtP+i96M9/oaB
 2ynHmLRFFaOspcZ0j+BHwQALXSf5paNnBQXEPFqiX/izlyNYLkGWOMN81JnKpNQk
 E0MiISLPadJxnuxjfBwAJsXVYvEod6it8JSRCp56/z1SrMlk2Ijpdh7JLi9oAu4p
 w8A7TPy/CKBmu8SN7oNCQmu1E0KGtgF3JtBfxG9x6FuSE2VyFDq02Op5thZZC9Ge
 rX9oVE0EGPW3OnrHBYf3BNd2xFTESTO3EoWnUit6QUUCjhrOJ7tCN7XVnhcu/xOE
 XTfN/0kwCCwlKJ5NAngrLkU+pnR5xf2xkNlCc42zrGWZuqcsOE4b6t0dFKRTHxZj
 FMx8M+j8/7H4VxzBZKW6XFypPVh4Fw7iFSG2OQ+U5JhuobgxUR8FHT8/cTUxV8s6
 gVwPJF1nQPU5x+WW+HsN+8DKMBDs9C9ATsSzkozP4F2cjFFdz9X1f+vYdFGStPxd
 +X91PcVUPBbshWfUo6sLjTKzJ6+eLcnZTbcVZO/bKbiBNsjfu4zSePXCZxEKwOkp
 Idt9JyAyULrC97NrPcfijZmGkvVDJ53rF15kDSj2TS46PJlxhsoiY91tsEcNHU94
 n3QeXKhzItZWgA0/3G5z
 =0Xli
 -----END PGP SIGNATURE-----

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
Simon Sapin
6fbf40b83c Remove usage of unstable core::num::Zero, which was removed upstream.
https://github.com/rust-lang/rust/pull/41437
2017-04-24 08:29:38 +09:00
Simon Sapin
1d6ecf3c2c Remove usage of unstable core::num::Zero, which was removed upstream.
https://github.com/rust-lang/rust/pull/41437

Backport of https://github.com/serde-rs/serde/pull/898 to 0.9.x
2017-04-24 08:25:08 +09: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
Jethro Beekman
1c9478bfa6 Add Serialize/Deserialize for std types that provide interior mutability
Fixes #179
2017-04-16 22:59:17 -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