limingyi
890fdb5629
fix: fix nesting struct parsing bug
...
issue #192
Signed-off-by: limingyi <lessu@163.com>
2024-09-16 18:40:59 +02:00
huangjf
58d81c7a87
feat: support generic
2024-06-05 08:07:07 +02:00
Jonas Platte
a1fc2f9fad
Revert parts of "Use absolute paths in generated code"
...
to restore compatibility with older versions of Rust.
2020-12-17 18:32:06 +01:00
Jonas Platte
12ddcdbc87
Use absolute paths in generated code
...
With this, the derives should work with most of the crates and types
the generated code refers to being aliased.
Notably, methods are still mostly invoked using regular method syntax
so those coming from trait could still be aliased by outside code.
2020-12-17 17:50:16 +01:00
Jonas Platte
52fb60ec8b
Remove most extern crate statements from yaserde_derive
...
yaserde_derive is an edition 2018 crate, so these are not necessary.
2020-12-17 17:48:26 +01:00
Marc-Antoine Arnaud
dfaa69071d
fix namespace check on deserilization of enum
2020-04-29 19:13:32 +02:00
Marc-Antoine Arnaud
e2a2779f71
format code
2020-04-22 19:05:13 +02:00
Marc-Antoine Arnaud
975baabd76
remove root attribute, use rename
2020-04-22 19:04:43 +02:00
Marc-Antoine Arnaud
04ddaa29dc
restructure code
2020-04-21 15:02:34 +02:00
Marc-Antoine Arnaud
856e271f7f
support root flatten deserialization
2020-04-19 10:57:40 +02:00
Marc-Antoine Arnaud
a93d70831f
use rust 2018 syntax, remove unused headers
2020-04-06 14:04:12 +02:00
Dmitry Samoylov
f9e8d91590
Use actual spans instead of Span::call_site()
2020-02-04 19:56:22 +07:00
Marc-Antoine Arnaud
29e6736d8d
format code
2019-10-08 09:04:29 +02:00
Marc-Antoine Arnaud
ae3f873d69
fix check namespace
2018-12-29 14:13:50 +01:00
Marc-Antoine Arnaud
28c13f5861
skip serialization if value equals to default
2018-12-07 10:21:59 +01:00
Marc-Antoine Arnaud
9db35415a0
update format
2018-05-25 09:43:44 +02:00
Marc-Antoine Arnaud
e691fba686
update dependencies
2018-05-25 09:43:15 +02:00
Marc-Antoine Arnaud
416ffeec12
update with clippy errors
2018-05-24 08:27:03 +02:00
Marc-Antoine Arnaud
c87d0faa02
remove clippy messages to clean code
2018-05-23 17:40:53 +02:00
Marc-Antoine Arnaud
d63e9d27d8
update code format
2018-05-23 17:14:53 +02:00
Marc-Antoine Arnaud
07a258f8fc
support de/ser-ialization with namespace
2018-05-13 17:43:36 +02:00
Marc-Antoine Arnaud
6adbd71ebb
start to deserialize enum
2018-04-29 15:16:28 +02:00
Marc-Antoine Arnaud
1c867a6ff1
move field_type to common part
2018-04-10 11:25:16 +02:00
Marc-Antoine Arnaud
61f9badbe7
move attributes to common part
2018-04-10 11:22:18 +02:00
Marc-Antoine Arnaud
c22df74dd3
start to add serialiser
2018-04-10 10:14:58 +02:00