Commit Graph

125 Commits

Author SHA1 Message Date
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
Dmitry Samoylov
688ab0b160 Fix compilation errors when element name contains dots 2020-02-04 15:18:09 +07:00
Dmitry Samoylov
f1c7818656 Fix unnamed enum variants serialized ignoring namespace prefix 2020-01-20 17:55:51 +07:00
Dmitry Samoylov
7d8923a785 Make custom serializer be called only once (#25) 2020-01-15 18:23:29 +07:00
Marc-Antoine Arnaud
1bdc7200ff bump to 0.3.10 2020-01-09 09:07: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
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
Dmitry Samoylov
85f461573b Allow struct fields be named as 'name' (issue #21) 2019-12-10 13:16:28 +07:00
Marc-Antoine Arnaud
9af780cb6b update dependencies 2019-12-05 09:15:31 +01:00
Dmitry Samoylov
5a81a5add8 Fix formatting 2019-12-05 14:29:20 +07:00
Dmitry Samoylov
ab03d32cfb Add support for field types with multiple PathSegment's 2019-12-04 20:52:21 +07:00
Marc-Antoine Arnaud
2b701262ac fix clippy feedbacks and format code 2019-10-08 10:19:50 +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
54cf32c26d release v0.3.7 2019-01-12 11:57:16 +01:00
Marc-Antoine Arnaud
ae3f873d69 fix check namespace 2018-12-29 14:13:50 +01:00
Marc-Antoine Arnaud
7255e85925 improve error message for incorrect namespace item 2018-12-21 14:04:21 +01:00
Marc-Antoine Arnaud
381dd59ea0 bump to 0.3.6 2018-12-13 13:33:39 +01:00
Marc-Antoine Arnaud
28c13f5861 skip serialization if value equals to default 2018-12-07 10:21:59 +01:00
Marc-Antoine Arnaud
402b6fe421 update default support for all types 2018-12-06 08:57:05 +01:00
Marc-Antoine Arnaud
bd4bd3f495 deserialize with default
issue #9
2018-12-06 00:21:54 +01:00
Marc-Antoine Arnaud
2e74682880 bump to 0.3.5 2018-11-20 14:24:41 +01:00
Marc-Antoine Arnaud
fff6275f5a add attributes on option struct 2018-11-20 14:24:04 +01:00
Marc-Antoine Arnaud
04885c6605 bump to 0.3.4 2018-11-20 14:12:12 +01:00
Marc-Antoine Arnaud
20aae33c80 fix de-ser of option of struct 2018-11-20 14:11:37 +01:00
Marc-Antoine Arnaud
342dc3930d bump to 0.3.3 2018-11-20 12:49:22 +01:00
Marc-Antoine Arnaud
461b30b03c be able to use Option of struct and String 2018-11-20 12:48:26 +01:00
Marc-Antoine Arnaud
d90c14c2b8 bump to 0.3.2 2018-11-20 08:47:46 +01:00
Marc-Antoine Arnaud
dca18e2f82 update clippy and fix error messages 2018-11-05 17:30:21 +01:00
Marc-Antoine Arnaud
69a54eebcf format code 2018-11-05 17:17:27 +01:00
Marc-Antoine Arnaud
96bac71db5 serialize Vec and Option<Vec>
fix #5
2018-11-05 17:02:37 +01:00
Marc-Antoine Arnaud
9cab498963 revome anything patch with None 2018-11-05 16:54:17 +01:00
Marc-Antoine Arnaud
228f05d9e4 update dependencies 2018-11-05 16:53:51 +01:00
Marc-Antoine Arnaud
9c683a2e83 bump to 0.3.1 2018-05-30 12:38:48 +02:00
Marc-Antoine Arnaud
93200f6d8e remove prints 2018-05-30 12:37:16 +02:00
Marc-Antoine Arnaud
6990d5e177 bump to 0.3.0 2018-05-30 11:17:22 +02:00
Marc-Antoine Arnaud
e2923711c6 remove deprecated methods 2018-05-29 16:39:10 +02:00
Marc-Antoine Arnaud
266b77428b support Option type value 2018-05-29 16:20:18 +02:00
Marc-Antoine Arnaud
ef37615458 add floating point de/ser-ialization 2018-05-28 17:40:00 +02:00
Marc-Antoine Arnaud
e3cd73b32e fix format 2018-05-27 13:31:24 +02:00
Marc-Antoine Arnaud
42369b06a9 remove double reference argument 2018-05-25 12:42:53 +02: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
6ce72187aa use Tokens instead of Ident 2018-05-24 17:56:20 +02:00
Marc-Antoine Arnaud
dfe276d231 update format 2018-05-24 17:39:39 +02:00
Marc-Antoine Arnaud
98f1a0c146 support type de/ser-ialization for attributes too 2018-05-24 17:39:05 +02:00
Marc-Antoine Arnaud
416ffeec12 update with clippy errors 2018-05-24 08:27:03 +02:00
Marc-Antoine Arnaud
a951aa9ba0 update format with version 0.4.1 2018-05-23 21:58:48 +02:00
Marc-Antoine Arnaud
bbca68f2ee update from clippy errors 2018-05-23 18:09:11 +02:00
Marc-Antoine Arnaud
adbc16eb12 fix referenced type 2018-05-23 18:08:49 +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
a88f6535f4 support type de/ser-rialization 2018-05-23 16:59:31 +02:00
Marc-Antoine Arnaud
7a6ae6e6fe fix serialization for vec and structs 2018-05-15 20:02:37 +02:00
Marc-Antoine Arnaud
07a258f8fc support de/ser-ialization with namespace 2018-05-13 17:43:36 +02:00
Marc-Antoine Arnaud
355565c84d bump to 0.2.0 2018-05-13 10:13:30 +02:00
Marc-Antoine Arnaud
0540b127bd refactoring code to better support 2018-05-13 09:51:28 +02:00
Marc-Antoine Arnaud
6adbd71ebb start to deserialize enum 2018-04-29 15:16:28 +02:00
Marc-Antoine Arnaud
5c3910c420 Serialize Enum 2018-04-10 15:06:50 +02:00
Marc-Antoine Arnaud
26b6b21fd5 support Vec of structure 2018-04-10 12:56:33 +02:00
Marc-Antoine Arnaud
cbfaa1e382 minor cleans 2018-04-10 11:55:06 +02:00
Marc-Antoine Arnaud
513e546836 use anytime FieldType methods 2018-04-10 11:52:37 +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
a5fb60a5c0 support text field and clean warnings 2018-04-10 11:17:13 +02:00
Marc-Antoine Arnaud
23324e5ab6 remove print 2018-04-10 10:24:06 +02:00
Marc-Antoine Arnaud
c22df74dd3 start to add serialiser 2018-04-10 10:14:58 +02:00
Marc-Antoine Arnaud
f5a0a53d27 check operator and define common method to get attribute value 2018-04-09 19:38:05 +02:00
Marc-Antoine Arnaud
b318dda8a7 fix README link 2018-04-09 19:13:38 +02:00
Marc-Antoine Arnaud
3770f30548 describe packages to publish them 2018-04-09 19:12:05 +02:00
Marc-Antoine Arnaud
d002cabe95 initial commit 2018-04-09 19:04:11 +02:00