Dirkjan Ochtman
|
d5d9c60c53
|
Add implementations for IpAddr
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
5bd58698d7
|
Simplify logic for serializing prefixes
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
da536d072f
|
Lookup prefixes from local scope
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
8233884207
|
Better errors for unknown prefixes
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
48450b3700
|
Correct FromXml for Option<Vec<_>>
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
0ea0eca53f
|
Add FromXml impl for ()
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
12402fb381
|
Serialize empty elements more efficiently
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
89832babe9
|
Make sure to use similar_asserts in all tests
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
357fd50a9b
|
Ignore remaining unnamed field contents
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
0dca1bbe14
|
Discard ignored nodes after unnamed field element
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
ff8c0c2886
|
Remove unnecessary workaround
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
72b8a21b4d
|
Add support for elements in unnamed fields
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
c24d2cdaac
|
Remove unnecessary Deserializer lifetime
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
508d29ccaa
|
Generalize for_attr() to for_node()
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
894da25f8b
|
Add support for unnamed fields
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
69eca9c2a5
|
Improve error reporting for missing values
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
f6a9d66288
|
Don't fabricate empty string in error case
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
cd7e3b4224
|
Simplify named field handling code
|
2022-12-13 16:52:53 +01:00 |
Dirkjan Ochtman
|
c15a0a985c
|
Enable support for scalar Vec elements
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
526414cd4b
|
Refactor macros crate
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
3f8a6dfee3
|
Remove unused method
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
aace036ea9
|
Improve support for Vec fields
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
284a015bf8
|
Remove Vec tests from entities
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
1e3ae38b25
|
Implement matches() method on Kind
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
e5dcac3281
|
Minor style tweaks
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
32426d77ba
|
Report kind of missing value
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
2f587240cf
|
Handle empty elements
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
53d882e067
|
Add support for declaration tokens
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
eb2cfd59f9
|
Improve error reporting
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
f6e22b3e31
|
Add support for serialize_with attribute
|
2022-11-25 21:47:25 -08:00 |
Dirkjan Ochtman
|
61df3a7835
|
Sanitize macro unit tests
|
2022-11-23 12:23:51 -08:00 |
Dirkjan Ochtman
|
0be0b6cc45
|
Implement support for wrapped enum mode
|
2022-11-23 12:23:51 -08:00 |
Dirkjan Ochtman
|
1190c5c345
|
Allow Kind to be variant over lifetime
|
2022-11-23 12:23:51 -08:00 |
Dirkjan Ochtman
|
433b0197bb
|
Fix formatting
|
2022-11-23 12:23:51 -08:00 |
Dirkjan Ochtman
|
a4f35e5daa
|
Generalize scalar to enum mode
|
2022-11-23 12:23:51 -08:00 |
Dirkjan Ochtman
|
23abf75725
|
Add blanket ToXml implementation for &impl ToXml
|
2022-11-23 12:23:51 -08:00 |
Dirkjan Ochtman
|
d06d289103
|
Ignore unactionable time advisory
|
2022-11-21 21:33:54 -08:00 |
Dirkjan Ochtman
|
d4dd0251f1
|
Add blanket implementation for FromXmlOwned
|
2022-11-21 21:30:30 -08:00 |
Dirkjan Ochtman
|
ae2128a77e
|
Add optional support for chrono::DateTime
|
2022-11-21 21:20:38 -08:00 |
Dirkjan Ochtman
|
104012d3bc
|
Clarify clippy allow attribute rationale
|
2022-11-21 20:51:06 -08:00 |
Dirkjan Ochtman
|
055a654a3d
|
Add support for generic type arguments
|
2022-11-22 05:50:31 +01:00 |
Dirkjan Ochtman
|
413ec05c52
|
Avoid consts for deserialization field recognition
|
2022-11-22 05:50:31 +01:00 |
Dirkjan Ochtman
|
0be3c92d27
|
Fix formatting
|
2022-11-22 05:50:31 +01:00 |
rsdy
|
55c7c5db99
|
Better serialization of complex types under `Vec<T>`
|
2022-10-03 11:23:07 +02:00 |
rsdy
|
4d627b514a
|
Use field name as tag for `Vec` serialization
|
2022-10-03 11:23:07 +02:00 |
rsdy
|
dc9eb50e6c
|
Add support for Vec<T>
|
2022-10-03 11:23:07 +02:00 |
rsdy
|
44f8a2cc6d
|
Reduce code redundancy (#28)
|
2022-09-27 18:23:28 +02:00 |
rsdy
|
4a61982792
|
Add enum integration test and fix ser/de logic
|
2022-09-27 14:03:09 +02:00 |
rsdy
|
6455801950
|
Add integration test for rename_all attribute
|
2022-09-27 14:03:09 +02:00 |
rsdy
|
5890676710
|
Implement better error reporting using spans of token subtrees
|
2022-09-26 15:09:06 +02:00 |