Commit Graph

  • 00f7e3d46e Don't error on ignored (direct) scalar nodes Dirkjan Ochtman 2022-12-13 16:46:09 +0100
  • e44916d415 Improve error for unexpected nodes Dirkjan Ochtman 2022-12-13 14:14:21 +0100
  • 6f4282d3c8 Skip None attributes Dirkjan Ochtman 2022-12-02 14:41:07 +0100
  • e973598079 Rename option-vec test to option Dirkjan Ochtman 2022-12-02 14:26:14 +0100
  • d285e7e338 Add public helper functions for custom implementations Dirkjan Ochtman 2022-12-02 14:25:12 +0100
  • eb031d6bd5 Better errors for missing values Dirkjan Ochtman 2022-12-02 10:20:07 +0100
  • 898758d90a Stop eagerly checking for missing values Dirkjan Ochtman 2022-12-02 09:59:25 +0100
  • 1e11098ddf Add impls for chrono::NaiveDate Dirkjan Ochtman 2022-12-02 09:53:14 +0100
  • 1a666612bc Fully qualify calls to FromXml trait methods Dirkjan Ochtman 2022-12-02 09:27:05 +0100
  • 8e1c0b4745 Improve error reporting, allow 0/1 as bool values Dirkjan Ochtman 2022-12-02 09:08:36 +0100
  • 89a1e3e381 Add ToXml impl for slices Dirkjan Ochtman 2022-12-01 17:56:47 +0100
  • 8d05e3ca13 Switch from wrapped enums to forward enums Dirkjan Ochtman 2022-11-29 16:49:50 +0100
  • 93600b1926 Simplify FromXml::KIND const Dirkjan Ochtman 2022-11-29 16:31:26 +0100
  • ebfd108c33 Remove unused ToXml::KIND const Dirkjan Ochtman 2022-11-29 16:16:27 +0100
  • 5a3aa792d3 Apply clippy suggestions Dirkjan Ochtman 2022-11-29 16:04:24 +0100
  • 2f0ac11c18 Implement matches() directly on FromXml Dirkjan Ochtman 2022-11-29 16:02:43 +0100
  • 2cdb56ef79 Remove unused const Dirkjan Ochtman 2022-11-29 15:15:39 +0100
  • 8031def183 Attributes don't inherit the default namespace Dirkjan Ochtman 2022-11-29 14:24:19 +0100
  • 66ecdcd1aa Add support for direct fields Dirkjan Ochtman 2022-11-29 13:37:08 +0100
  • 4bd564540d Add some extra borrowing tests Dirkjan Ochtman 2022-11-29 13:07:41 +0100
  • 4b5f663e2d Add support for deserialize_with and borrow Dirkjan Ochtman 2022-11-29 13:07:20 +0100
  • 2168ea0d3d Improve error reporting some more Dirkjan Ochtman 2022-11-29 12:15:43 +0100
  • 8194f1bcf1 Add implementations for IpAddr Dirkjan Ochtman 2022-11-29 12:14:58 +0100
  • ae37e9d8b2 Simplify logic for serializing prefixes Dirkjan Ochtman 2022-11-29 12:14:24 +0100
  • 1a5d3d22aa Lookup prefixes from local scope Dirkjan Ochtman 2022-11-29 11:52:26 +0100
  • 3ea27dc5c3 Better errors for unknown prefixes Dirkjan Ochtman 2022-11-29 11:43:06 +0100
  • 485eea5a76 Correct FromXml for Option<Vec<_>> Dirkjan Ochtman 2022-11-29 09:57:42 +0100
  • 33d56ffa01 Add FromXml impl for () Dirkjan Ochtman 2022-11-29 09:31:42 +0100
  • ab565ed82a Serialize empty elements more efficiently Dirkjan Ochtman 2022-11-29 09:31:10 +0100
  • 35c6776712 Make sure to use similar_asserts in all tests Dirkjan Ochtman 2022-11-29 09:27:04 +0100
  • 1cdc75c2d9 Ignore remaining unnamed field contents Dirkjan Ochtman 2022-11-26 15:32:17 -0800
  • f84f9217be Discard ignored nodes after unnamed field element Dirkjan Ochtman 2022-11-26 15:03:22 -0800
  • b571771e52 Remove unnecessary workaround Dirkjan Ochtman 2022-11-26 14:58:50 -0800
  • f39beb1485 Add support for elements in unnamed fields Dirkjan Ochtman 2022-11-26 14:57:12 -0800
  • 8b6e93e9ff Remove unnecessary Deserializer lifetime Dirkjan Ochtman 2022-11-26 14:56:33 -0800
  • 23b8066611 Generalize for_attr() to for_node() Dirkjan Ochtman 2022-11-26 13:11:11 -0800
  • f1d4d4f168 Add support for unnamed fields Dirkjan Ochtman 2022-11-26 12:53:57 -0800
  • 3b30eb2b1e Improve error reporting for missing values Dirkjan Ochtman 2022-11-26 12:52:57 -0800
  • a89f22c3db Don't fabricate empty string in error case Dirkjan Ochtman 2022-11-26 12:52:13 -0800
  • e0114c32bd Simplify named field handling code Dirkjan Ochtman 2022-11-26 10:38:27 -0800
  • c15a0a985c Enable support for scalar Vec elements Dirkjan Ochtman 2022-11-25 21:04:09 -0800
  • 526414cd4b Refactor macros crate Dirkjan Ochtman 2022-11-25 16:15:55 -0800
  • 3f8a6dfee3 Remove unused method Dirkjan Ochtman 2022-11-25 16:06:02 -0800
  • aace036ea9 Improve support for Vec fields Dirkjan Ochtman 2022-11-24 21:28:21 -0800
  • 284a015bf8 Remove Vec tests from entities Dirkjan Ochtman 2022-11-24 21:27:22 -0800
  • 1e3ae38b25 Implement matches() method on Kind Dirkjan Ochtman 2022-11-24 18:49:44 -0800
  • e5dcac3281 Minor style tweaks Dirkjan Ochtman 2022-11-24 11:03:36 -0800
  • 32426d77ba Report kind of missing value Dirkjan Ochtman 2022-11-23 19:03:22 -0800
  • 2f587240cf Handle empty elements Dirkjan Ochtman 2022-11-23 15:37:29 -0800
  • 53d882e067 Add support for declaration tokens Dirkjan Ochtman 2022-11-23 18:54:18 -0800
  • eb2cfd59f9 Improve error reporting Dirkjan Ochtman 2022-11-23 18:53:40 -0800
  • f6e22b3e31 Add support for serialize_with attribute Dirkjan Ochtman 2022-11-23 13:08:06 -0800
  • 01ee4746fd Enable support for scalar Vec elements Dirkjan Ochtman 2022-11-25 21:04:09 -0800
  • ad3f477c09 Refactor macros crate Dirkjan Ochtman 2022-11-25 16:15:55 -0800
  • 0000e301c8 Remove unused method Dirkjan Ochtman 2022-11-25 16:06:02 -0800
  • 19f534bb78 Improve support for Vec fields Dirkjan Ochtman 2022-11-24 21:28:21 -0800
  • 76c12a6ab8 Remove Vec tests from entities Dirkjan Ochtman 2022-11-24 21:27:22 -0800
  • 489d7a8ad0 Implement matches() method on Kind Dirkjan Ochtman 2022-11-24 18:49:44 -0800
  • 658854a226 Minor style tweaks Dirkjan Ochtman 2022-11-24 11:03:36 -0800
  • 28a8b6924f Report kind of missing value Dirkjan Ochtman 2022-11-23 19:03:22 -0800
  • a4fc440feb Handle empty elements Dirkjan Ochtman 2022-11-23 15:37:29 -0800
  • 199a09fe02 Add support for declaration tokens Dirkjan Ochtman 2022-11-23 18:54:18 -0800
  • 3eaeb25c94 Improve error reporting Dirkjan Ochtman 2022-11-23 18:53:40 -0800
  • 65304ffb71 Add support for serialize_with attribute Dirkjan Ochtman 2022-11-23 13:08:06 -0800
  • 61df3a7835 Sanitize macro unit tests Dirkjan Ochtman 2022-11-23 12:17:45 -0800
  • 0be0b6cc45 Implement support for wrapped enum mode Dirkjan Ochtman 2022-11-22 22:46:50 -0800
  • 1190c5c345 Allow Kind to be variant over lifetime Dirkjan Ochtman 2022-11-23 10:32:43 -0800
  • 433b0197bb Fix formatting Dirkjan Ochtman 2022-11-22 21:39:56 -0800
  • a4f35e5daa Generalize scalar to enum mode Dirkjan Ochtman 2022-11-22 20:39:11 -0800
  • 23abf75725 Add blanket ToXml implementation for &impl ToXml Dirkjan Ochtman 2022-11-21 21:49:39 -0800
  • 14f2b0f395 Sanitize macro unit tests Dirkjan Ochtman 2022-11-23 12:17:45 -0800
  • a80d3b83c5 Implement support for wrapped enum mode Dirkjan Ochtman 2022-11-22 22:46:50 -0800
  • b0611ee9e6 Allow Kind to be variant over lifetime Dirkjan Ochtman 2022-11-23 10:32:43 -0800
  • 205ab05a98 Fix formatting Dirkjan Ochtman 2022-11-22 21:39:56 -0800
  • 4609ee2f34 Generalize scalar to enum mode Dirkjan Ochtman 2022-11-22 20:39:11 -0800
  • 901aafad90 Add blanket ToXml implementation for &impl ToXml Dirkjan Ochtman 2022-11-21 21:49:39 -0800
  • d06d289103 Ignore unactionable time advisory Dirkjan Ochtman 2022-11-21 21:33:54 -0800
  • d4dd0251f1 Add blanket implementation for FromXmlOwned Dirkjan Ochtman 2022-11-21 21:30:30 -0800
  • ae2128a77e Add optional support for chrono::DateTime Dirkjan Ochtman 2022-11-21 21:20:38 -0800
  • 104012d3bc Clarify clippy allow attribute rationale Dirkjan Ochtman 2022-11-21 20:51:06 -0800
  • 055a654a3d Add support for generic type arguments Dirkjan Ochtman 2022-11-21 20:33:11 -0800
  • 413ec05c52 Avoid consts for deserialization field recognition Dirkjan Ochtman 2022-11-21 20:27:36 -0800
  • 0be3c92d27 Fix formatting Dirkjan Ochtman 2022-11-19 20:20:14 +0100
  • c03c37ba20 Add support for generic type arguments Dirkjan Ochtman 2022-11-21 20:33:11 -0800
  • 89f350bda7 Avoid consts for deserialization field recognition Dirkjan Ochtman 2022-11-21 20:27:36 -0800
  • 179bf5c3de Fix formatting Dirkjan Ochtman 2022-11-19 20:20:14 +0100
  • 55c7c5db99 Better serialization of complex types under `Vec<T>` rsdy 2022-09-29 17:45:17 +0100
  • 4d627b514a Use field name as tag for `Vec` serialization rsdy 2022-09-29 17:12:08 +0100
  • dc9eb50e6c Add support for Vec<T> rsdy 2022-09-28 18:58:57 +0100
  • eea00c7180 Better serialization of complex types under `Vec<T>` rsdy 2022-09-29 17:45:17 +0100
  • 8f30b2a4c0 Use field name as tag for `Vec` serialization rsdy 2022-09-29 17:12:08 +0100
  • c16fe290e0 Add support for Vec<T> rsdy 2022-09-28 18:58:57 +0100
  • 44f8a2cc6d
    Reduce code redundancy (#28) rsdy 2022-09-27 17:23:28 +0100
  • c2ffd20bae Move definition closer to use rsdy 2022-09-27 16:36:25 +0100
  • 89aa065e49 Reduce redundancy for fields rsdy 2022-09-27 16:15:44 +0100
  • 8dc1cf90d6 Extract common code for containers high-level rsdy 2022-09-27 15:37:07 +0100
  • 4a61982792 Add enum integration test and fix ser/de logic rsdy 2022-09-27 12:21:05 +0100
  • 6455801950 Add integration test for rename_all attribute rsdy 2022-09-26 16:52:29 +0100
  • 0a5ee45f70 Add enum integration test and fix ser/de logic rsdy 2022-09-27 12:21:05 +0100
  • 777cea07c8 Add integration test for rename_all attribute rsdy 2022-09-26 16:52:29 +0100