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 |
rsdy
|
23ac36b559
|
Review follow-ups
|
2022-09-26 14:15:00 +02:00 |
rsdy
|
0d29741b6f
|
Use string literals instead of idents for `rename_all`
|
2022-09-26 14:15:00 +02:00 |
rsdy
|
92dc3c8e73
|
Clippy lint error
|
2022-09-26 14:15:00 +02:00 |
rsdy
|
7cf93d15eb
|
Enable rename_all attribute on fields and structs
|
2022-09-26 14:15:00 +02:00 |
rsdy
|
f017331a69
|
Add serde renamer
|
2022-09-26 14:15:00 +02:00 |
rsdy
|
1a6be5e46f
|
Add scalar enum management
|
2022-09-22 15:04:48 +02:00 |
rsdy
|
cfd5d48841
|
Extract struct handling for ser/de macros
|
2022-09-22 15:04:48 +02:00 |
Dirkjan Ochtman
|
fb7570056d
|
Add support for rename annotations
|
2022-09-07 22:35:36 +02:00 |
Dirkjan Ochtman
|
f64634155e
|
Fix support for attributes with no default namespace fallback
|
2022-09-07 22:35:36 +02:00 |
Dirkjan Ochtman
|
b30859929b
|
Mandate that attribute namespaces are valid prefixes
|
2022-09-07 21:38:44 +02:00 |
Dirkjan Ochtman
|
570cdc81a5
|
Fix prefixes on close tags
|
2022-09-07 21:38:44 +02:00 |
Dirkjan Ochtman
|
3b07f39881
|
Clarify Node variant name
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
7d241959d8
|
Centralize serializer prefix logic in one place
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
110605ba99
|
Handle namespaces in serializer in a more principled way
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
6238ed87c5
|
Turn serializer API into a proper abstraction
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
0f22e36844
|
Work around rustc bug in CI
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
c8cc5f5a48
|
Simplify output token stream for ToXml macro
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
6c2dd89ef3
|
Rename and group escaping functions
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
744faa1225
|
Create streamlined API for taking value out deserializer
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
cd37e306ad
|
Rename fields to raw keywords
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
674039a791
|
Simplify deserializer macro setup
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
01c896a9b2
|
Remove indirection through Visitor
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
4b0d5a7698
|
Simplify deserializer token stream
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
6c0cb83189
|
Use error variant for field duplicates
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
ebc29b5761
|
Rename types and variables to better reflect contents
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
ebb6ebb52c
|
Move types to better scoped modules
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
685189f00d
|
Allow paths as namespace values
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
e9e339afc9
|
Stop defining namespaces through prefixes on fields
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
11cca274b2
|
Separate Context out of Deserializer
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
859df7ae24
|
No need to pass visitor instance to methods
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
000b47628b
|
Use split_for_impl() to improve generics handling
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
afdbf2dc45
|
Move serialization macro into module
|
2022-09-07 13:06:44 +02:00 |
Dirkjan Ochtman
|
9577aace57
|
Move user-facing serialization interface out of trait
|
2022-09-07 13:06:44 +02:00 |