Oscar Beaumont
979ea4c23d
removed need for xml-rs and log in projects using yaserde
2021-06-29 02:45:30 +08: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
ad167a74a7
use unwrap_or_default
2020-06-08 10:45:18 +02:00
Marc-Antoine Arnaud
0872461c41
continue to refactor code using common Field structure
2020-04-22 18:18:11 +02:00
Marc-Antoine Arnaud
04ddaa29dc
restructure code
2020-04-21 15:02:34 +02:00
Marc-Antoine Arnaud
a93d70831f
use rust 2018 syntax, remove unused headers
2020-04-06 14:04:12 +02:00
Marc-Antoine Arnaud
4e03b57723
start to support skip serializing if feature
...
issue #43
2020-02-25 13:35:13 +01: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
28c13f5861
skip serialization if value equals to default
2018-12-07 10:21:59 +01:00