Commit Graph

151 Commits

Author SHA1 Message Date
Marc-Antoine ARNAUD
264fa06b8b
Merge pull request #37 from DmitrySamoylov/bump-version-0.3.11
Bump version to 0.3.11
2020-02-06 15:16:34 +01:00
Dmitry Samoylov
fd8257e047 Bump version to 0.3.11 2020-02-06 18:01:26 +07:00
Marc-Antoine ARNAUD
8cc97f90ef
Merge pull request #36 from DmitrySamoylov/feature-flatten
Feature flatten (closes #2)
2020-02-06 10:25:42 +01:00
Dmitry Samoylov
c58fee0df1 Update readme 2020-02-06 15:55:38 +07:00
Dmitry Samoylov
6063ff393a Implement flatten (ser) 2020-02-06 15:52:09 +07:00
Dmitry Samoylov
cc7cf76a45 Implement flatten (de) 2020-02-06 15:50:35 +07:00
Marc-Antoine ARNAUD
6cf86c4e8e
add new rust versions (1.40 and 1.41) 2020-02-04 14:38:27 +01:00
Marc-Antoine ARNAUD
1595d3c641
Merge pull request #35 from DmitrySamoylov/refactoring
Refactoring
2020-02-04 14:37:27 +01:00
Dmitry Samoylov
f9e8d91590 Use actual spans instead of Span::call_site() 2020-02-04 19:56:22 +07:00
Dmitry Samoylov
65838ced80 Reduce code duplication when handling simple types 2020-02-04 19:08:05 +07:00
Dmitry Samoylov
5a0f0e55a7 Remove unneeded Option's and unsafe's 2020-02-04 17:50:16 +07:00
Dmitry Samoylov
703a238d02 Simplify tokenstream folding 2020-02-04 17:47:14 +07:00
Marc-Antoine ARNAUD
d68a924bdb
Merge pull request #34 from DmitrySamoylov/fix-dots-in-names
Fix compilation errors when element name contains dots
2020-02-04 10:49:15 +01:00
Dmitry Samoylov
688ab0b160 Fix compilation errors when element name contains dots 2020-02-04 15:18:09 +07:00
Marc-Antoine ARNAUD
6bbb9676d0
Merge pull request #33 from DmitrySamoylov/fix-unnamed-enum-namespace-prefix
Fix unnamed enum variants ignored namespace prefix while serializing
2020-01-20 16:48:14 +01:00
Dmitry Samoylov
f1c7818656 Fix unnamed enum variants serialized ignoring namespace prefix 2020-01-20 17:55:51 +07:00
Marc-Antoine ARNAUD
f8ffe8c88e
Merge pull request #32 from DmitrySamoylov/fix-custom-serializer
Fix custom serializer
2020-01-16 09:18:26 +01:00
Dmitry Samoylov
042d6fd33b Fix warnings 2020-01-15 18:24:51 +07:00
Dmitry Samoylov
553e309a0f Add examples for custom (de)serialization (#25) 2020-01-15 18:24:28 +07:00
Dmitry Samoylov
7d8923a785 Make custom serializer be called only once (#25) 2020-01-15 18:23:29 +07:00
Marc-Antoine Arnaud
4b5a28f80e Merge branch 'master' of github.com:media-io/yaserde 2020-01-09 09:08:18 +01:00
Marc-Antoine Arnaud
1bdc7200ff bump to 0.3.10 2020-01-09 09:07:41 +01:00
Marc-Antoine ARNAUD
4f9057ee40
Merge pull request #31 from media-io/MarcAntoine-Arnaud-patch-1
Update README.md
2020-01-08 15:14:00 +01:00
Marc-Antoine ARNAUD
3e84b322c9
Update README.md 2020-01-08 12:23:37 +01:00
Marc-Antoine ARNAUD
3771a95feb
Merge pull request #30 from DmitrySamoylov/feature-complex-enum
(De)serializtion for enums with unnamed fields
2020-01-08 12:21:41 +01:00
superuzir
8079f00415 Fix more clippy warnings 2019-12-31 14:58:28 +07:00
superuzir
9bc1cfd5ea Fix clippy warning 2019-12-31 14:40:49 +07:00
superuzir
a68bbd81b9 Add more test cases to de_complex_enum(#8) 2019-12-31 13:25:04 +07:00
Dmitry Samoylov
95f826b41f Add serialization for enums with unnamed fields (#8) 2019-12-30 22:38:45 +07:00
Dmitry Samoylov
d277d5137b Add deserialization for enums with values (#8) 2019-12-27 20:37:56 +07:00
Marc-Antoine Arnaud
a2bf70c5bd bump to 0.3.9 2019-12-15 12:44:20 +01:00
Marc-Antoine ARNAUD
90f19a3a5e
Merge pull request #29 from DmitrySamoylov/fix-name-issue
Allow struct fields be named as 'name' (issue #21)
2019-12-10 10:04:25 +01:00
Dmitry Samoylov
85f461573b Allow struct fields be named as 'name' (issue #21) 2019-12-10 13:16:28 +07:00
Marc-Antoine ARNAUD
2a3716c828
Merge pull request #28 from media-io/update_dependencies
update dependencies
2019-12-05 09:42:25 +01:00
Marc-Antoine Arnaud
9af780cb6b update dependencies 2019-12-05 09:15:31 +01:00
Marc-Antoine ARNAUD
f0036849f3
Merge pull request #26 from DmitrySamoylov/feature-multisegment-types
Add support for field types with multiple PathSegment's
2019-12-05 09:06:33 +01:00
Dmitry Samoylov
5a81a5add8 Fix formatting 2019-12-05 14:29:20 +07:00
Marc-Antoine ARNAUD
cc3f37cbc4
Merge pull request #27 from media-io/new_version_of_rust
Support rust 1.39
2019-12-04 21:58:04 +01:00
Marc-Antoine ARNAUD
f6904a38a6
Support rust 1.39 2019-12-04 19:58:55 +01:00
Dmitry Samoylov
ab03d32cfb Add support for field types with multiple PathSegment's 2019-12-04 20:52:21 +07:00
Marc-Antoine ARNAUD
bb36546d2e
Merge pull request #23 from media-io/update_rust
Update rust
2019-10-08 12:14:21 +02:00
Marc-Antoine Arnaud
2b701262ac fix clippy feedbacks and format code 2019-10-08 10:19:50 +02:00
Marc-Antoine Arnaud
943abf4296 update config 2019-10-08 09:53:08 +02:00
Marc-Antoine Arnaud
29e6736d8d format code 2019-10-08 09:04:29 +02:00
Marc-Antoine Arnaud
dd5ca6df6b update dependencies with 1.0 releases 2019-10-08 09:04:00 +02:00
Marc-Antoine Arnaud
64122a9e64 update check tools 2019-10-08 08:29:55 +02:00
Marc-Antoine Arnaud
14094c0fa8 Merge remote-tracking branch 'origin/master' into update_rust 2019-10-08 08:12:07 +02:00
Marc-Antoine Arnaud
779bddf40a be able to contructor a serializer with output configuration 2019-10-08 08:10:18 +02:00
Marc-Antoine Arnaud
e11deedccb update rust versions 2019-10-08 08:09:46 +02:00
Marc-Antoine Arnaud
7512976429 remove rust 1.29, incompatible with missing edition version 2019-07-16 16:12:09 +02:00