Commit Graph

  • 0c2e91f28a Merge branch serde-rs/master into Gankro/deserialize_from David Tolnay 2017-12-11 20:49:23 -08:00
  • 13e7bee0e6 Eliminate need for unwrap in deserialize_from_seq David Tolnay 2017-12-11 18:13:13 -08:00
  • 65104aca9c Remove need for allow(unreachable_code) David Tolnay 2017-12-11 17:55:23 -08:00
  • 9360094ba7 Revert main_body naming change David Tolnay 2017-12-10 23:19:25 -08:00
  • 3700779bfa More meaningful names and types for nop_reserve David Tolnay 2017-12-10 23:18:08 -08:00
  • d9e894911f Move all the deserialize_from derive code behind flag David Tolnay 2017-12-10 23:12:54 -08:00
  • 85e3ddc2b8 Less indentiation in deserialize_from_body David Tolnay 2017-12-10 23:04:44 -08:00
  • ccae35d92a Do not emit deserialize_from if every field has deserialize_with David Tolnay 2017-12-10 22:55:28 -08:00
  • 61ca928325 Can never see getters in a deserialize_from David Tolnay 2017-12-10 22:46:46 -08:00
  • a93f2ebff0 Enable deserialize_from in the test suite David Tolnay 2017-12-10 22:46:25 -08:00
  • a45f1ae915 Remove unused dev-dependency of serde_test on deserialize_from David Tolnay 2017-12-10 22:02:11 -08:00
  • 9641978481 Hide deserialize_from David Tolnay 2017-12-10 21:55:07 -08:00
  • ffd2017c6f Use the default deserialize_from for Option<T> David Tolnay 2017-12-10 21:27:42 -08:00
  • b7eb42aa6b Release 1.0.24 v1.0.24 David Tolnay 2017-12-09 14:40:56 -08:00
  • 750f8ba299 Clean up trailing whitespace David Tolnay 2017-12-09 14:42:59 -08:00
  • 49cdef074d Merge pull request #1115 from Binero/master David Tolnay 2017-12-08 08:57:31 -08:00
  • aa86b04714 Adressed concerns raised by @oli-obk. Jeroen Bollen 2017-12-08 15:13:05 +01:00
  • c887a0b472 Solved #1105. Jeroen Bollen 2017-12-06 21:07:16 +01:00
  • 34936be574 test deserialize_from Alexis Beingessner 2017-12-04 12:42:43 -05:00
  • e354dd0c7f Derive deserialize_from for tuples and structs Alexis Beingessner 2017-11-13 15:35:14 -05:00
  • bc221abb04 Augment builtin std/core Deserialize impls to implement deserialize_from Alexis Beingessner 2017-11-13 13:38:27 -05:00
  • ab5e8780ab Add deserialize_from to Deserialize Alexis Beingessner 2017-11-13 13:37:36 -05:00
  • 0c34e06e51 Merge pull request #1106 from khuey/inlines David Tolnay 2017-12-02 15:57:07 -08:00
  • 4a0c4e0c25 Mark size_hint::cautious as inline. Kyle Huey 2017-12-01 00:20:05 -08:00
  • 8c34e0940f Release 1.0.23 v1.0.23 David Tolnay 2017-11-29 22:26:32 -08:00
  • eb6bf16a51 Revert "Catch wrong field names length in serde_test" David Tolnay 2017-11-29 22:07:29 -08:00
  • 797d049db5 Release 1.0.22 v1.0.22 David Tolnay 2017-11-29 20:01:34 -08:00
  • d61a373f12 Merge pull request #1104 from serde-rs/abs David Tolnay 2017-11-29 19:58:21 -08:00
  • e0eea551b4 Fix missing absolute paths in deserialize_seq David Tolnay 2017-11-29 19:45:22 -08:00
  • c650a92bf7 Update to compiletest-rs 0.3 to fix "every suggestion should have at least one span" David Tolnay 2017-11-24 17:12:58 -08:00
  • f218f4d7bf Release 1.0.21 v1.0.21 David Tolnay 2017-11-15 22:24:18 -08:00
  • 8c0a2015be Fix error when deserializing untagged enum Alex Shapiro 2017-11-15 13:08:34 -08:00
  • 4773863e3a Release 1.0.20 v1.0.20 David Tolnay 2017-11-12 10:29:08 -08:00
  • 80cd9c7617 Merge pull request #1091 from serde-rs/fields-len David Tolnay 2017-11-12 10:28:26 -08:00
  • 436cafb0a3 Catch wrong field names length in serde_test David Tolnay 2017-11-12 09:52:39 -08:00
  • 98bb02e9b4 Whitelist use of Debug in serde_test David Tolnay 2017-11-07 10:00:14 -08:00
  • 142439088c Merge pull request #1086 from Marwes/better_errors David Tolnay 2017-11-07 09:53:58 -08:00
  • ce81288235 Print the contents of the expected token when a serialize assert fails Markus Westerlind 2017-11-07 14:16:37 +01:00
  • 88d5fe6bfd Release 1.0.19 v1.0.19 David Tolnay 2017-11-06 23:48:15 -08:00
  • 9a2c352025 Rephrase serde_test::Configure documentation David Tolnay 2017-11-06 23:46:32 -08:00
  • 61c90cb8cb Fix typo in serde_test::Configure documentation David Tolnay 2017-11-06 23:45:26 -08:00
  • 66e8b0a0cd Merge pull request #1085 from serde-rs/internally-unit-struct David Tolnay 2017-11-06 23:44:29 -08:00
  • 9e7a3437d9 Allow internally tagged newtype variant containing unit struct David Tolnay 2017-11-06 23:32:26 -08:00
  • 7ac8d4f9ae AsciiExt transition David Tolnay 2017-11-06 22:50:10 -08:00
  • 501bae42f5 Fix space in serde_test panic message David Tolnay 2017-11-06 22:46:24 -08:00
  • 7a0397451e Allow serde_test::Configure to be dynamically sized David Tolnay 2017-11-06 22:40:04 -08:00
  • 16787318d1 Enable clippy_pedantic in serde_test David Tolnay 2017-11-06 22:31:35 -08:00
  • f4ae0888c8 Run clippy on serde_test in Travis David Tolnay 2017-11-06 22:28:58 -08:00
  • 213071fe5c Combine identical match arms in serde_test David Tolnay 2017-11-06 22:27:38 -08:00
  • cfd26c6fda Avoid cloning Copy types David Tolnay 2017-11-06 22:26:48 -08:00
  • 23fa83941e Whitelist float_cmp lint in serde_test David Tolnay 2017-11-06 22:26:01 -08:00
  • 88f5b9511d Use .. in patterns David Tolnay 2017-11-06 22:24:23 -08:00
  • d537f1e1f0 Whitelist needless_pass_by_value lint David Tolnay 2017-11-06 22:10:09 -08:00
  • f6ac232580 Merge pull request #1084 from Marwes/serde_test_readable_ David Tolnay 2017-11-06 22:05:29 -08:00
  • aad7a7987f Add an example to the Configure trait Markus Westerlind 2017-11-03 16:12:43 +01:00
  • b24ad76880 Merge pull request #1080 from xfix/patch-2 David Tolnay 2017-11-05 15:03:28 -08:00
  • 5796f1a0f5 serde_test requires serde 1.0.16 to work Konrad Borowski 2017-11-05 12:22:15 +01:00
  • 6437167930 Merge pull request #1083 from serde-rs/ty-macro David Tolnay 2017-11-05 12:56:57 -08:00
  • f98daaa250 Merge pull request #1082 from serde-rs/borrow-variant David Tolnay 2017-11-05 12:20:40 -08:00
  • b8a40551a2 Fix bounds for macro named the same as a type parameter David Tolnay 2017-11-05 12:18:39 -08:00
  • 40db31691a Allow borrow attribute on newtype variants David Tolnay 2017-11-05 11:21:39 -08:00
  • ab68132b1f Release 1.0.18 v1.0.18 David Tolnay 2017-11-03 10:18:14 -07:00
  • e70bbd9dde Merge pull request #1079 from serde-rs/skipborrow David Tolnay 2017-11-03 10:20:32 -07:00
  • d5e5c520ac Ignore skipped fields when looking for borrowed lifetimes David Tolnay 2017-11-03 10:08:02 -07:00
  • 1b9a096fa7 Export configure api Markus Westerlind 2017-11-02 16:03:50 +01:00
  • 39e05ffad2 Implement Deserializer for Readable/Compact Markus Westerlind 2017-11-02 15:38:39 +01:00
  • 78fab25c5c implement Serializer for Readable/Compact Markus Westerlind 2017-11-02 14:52:25 +01:00
  • 2a557a1e36 Clippy false positive on needless_lifetimes has been fixed David Tolnay 2017-10-31 22:42:53 -07:00
  • ab0848f780 Follow clippy advice about unreadable literal David Tolnay 2017-10-31 22:42:12 -07:00
  • 2b1303f59c Whitelist const_static_lifetime David Tolnay 2017-10-31 22:23:37 -07:00
  • 7f9ba155cb Explain what each dependency is for David Tolnay 2017-10-31 21:47:30 -07:00
  • a4e0c2f055 Merge pull request #1075 from hcpl/clarify-readme-example David Tolnay 2017-10-31 22:16:15 -07:00
  • 3bbf70575b Clarify the README example for local builds hcpl 2017-10-31 21:20:23 +02:00
  • ad680cbd44 Release 1.0.17 v1.0.17 David Tolnay 2017-10-31 09:33:35 -07:00
  • ff0cfb1f1f Clean up trailing whitespace and where-clauses David Tolnay 2017-10-31 09:35:55 -07:00
  • 9b08915a18 Add tests for std::num::Wrapping impls David Tolnay 2017-10-31 09:32:58 -07:00
  • 501aa3ee1d Share the import of std::num::Wrapping David Tolnay 2017-10-31 09:27:58 -07:00
  • eebf0f8db8 Merge pull request #1072 from LinearZoetrope/wrapping David Tolnay 2017-10-31 09:26:17 -07:00
  • a7e4911ddb Add newlines to ends of files Zoe Juozapaitis 2017-10-31 04:29:00 -07:00
  • eb08f037f5 Add std::num::Wrapping support Zoe Juozapaitis 2017-10-31 02:58:41 -07:00
  • aa03fd5d1a Duplicate error messages have been fixed David Tolnay 2017-10-27 21:08:41 -04:00
  • e198afb0c1 Add missing copyright notices David Tolnay 2017-10-22 16:01:19 -07:00
  • bc8de251cf Update contributing.md with steps for running test suite David Tolnay 2017-10-22 15:46:54 -07:00
  • 99e8686189 Add error banner when running test suite without nightly compiler David Tolnay 2017-10-22 15:46:17 -07:00
  • 826f656e28 Compile and test the serde_derive "example" code David Tolnay 2017-10-22 12:09:56 -07:00
  • ab7c003b64 Remove associated constants workaround David Tolnay 2017-10-22 11:54:39 -07:00
  • 422191fcb0 Release 1.0.16 v1.0.16 David Tolnay 2017-10-22 11:29:44 -07:00
  • 4ba748c902 Clean up trailing whitespace David Tolnay 2017-10-22 11:29:35 -07:00
  • 14ed6f2dab Simplify some IntoDeserializer deserializer types David Tolnay 2017-10-20 21:38:18 -07:00
  • 30606a43aa IntoDeserializer for HashSet and HashMap with non-default hasher David Tolnay 2017-10-20 21:36:40 -07:00
  • 9be3d32016 Remove redundant readable/compact tests David Tolnay 2017-10-17 23:16:17 -07:00
  • 5daf1b89a1 Consolidate readable/compact deserialization tests David Tolnay 2017-10-17 23:15:35 -07:00
  • f8f5d0ca2f No need for readable setting for the ignore test David Tolnay 2017-10-17 23:09:50 -07:00
  • 57873cce28 Remove unused deserialization macros on no_std David Tolnay 2017-10-17 10:04:26 -07:00
  • 4ed0362c8e Panic by default in serde_test is_human_readable David Tolnay 2017-10-17 09:49:39 -07:00
  • 4cecaf8d02 Test the maximum std::net string lengths David Tolnay 2017-10-15 20:32:30 -07:00
  • 50c696aabe Write is_human_readable examples David Tolnay 2017-10-15 20:27:03 -07:00
  • 2f58a20bc6 Inline is_human_readable David Tolnay 2017-10-15 16:54:48 -07:00
  • 030459a040 Merge pull request #1044 from Marwes/human_readable David Tolnay 2017-10-15 16:39:58 -07:00
  • e9b530a000 Hide is_human_readable constructors in serde_test Markus Westerlind 2017-10-13 17:33:03 +02:00