Commit Graph

378 Commits

Author SHA1 Message Date
Marc-Antoine Arnaud
f58d1d0de5 Merge branch 'xfront-main' 2024-06-05 08:07:40 +02:00
huangjf
58d81c7a87 feat: support generic 2024-06-05 08:07:07 +02:00
Marc-Antoine ARNAUD
177fa8e5a7
Merge pull request #182 from YBeaugnon/main
Support for internally tagged enum
2024-05-29 22:06:59 +02:00
yoann beaugnon
f8eb0cd2a3 add support for serialization of enum tagged internally via an attribute 2024-04-29 20:36:14 +02:00
yoann beaugnon
0b8a7968f1 Add a derive attribute for deserialization of enum internally tagged via an attribute 2024-04-29 19:46:25 +02:00
Marc-Antoine Arnaud
f5cb114a71 refactor: use unwrap_or to simplify code 2024-02-06 21:36:58 +01:00
Marc-Antoine ARNAUD
ef9da1b7ee
Merge pull request #176 from marcelbuesing/add_struct_name_to_required_field_error
Add struct name to required field error
2024-02-06 21:35:47 +01:00
marcelbuesing
ce055249ce
Add struct name to required field error 2024-02-06 20:19:04 +01:00
Marc-Antoine Arnaud
85e0150d1e chore: Release 2024-02-06 00:47:14 +01:00
Marc-Antoine Arnaud
82df2e15b9 feat!: remove requirement to Default
issue #175 #144
2024-02-06 00:36:58 +01:00
Marc-Antoine Arnaud
3413e98710 chore: Release 2024-02-03 15:02:18 +01:00
Marc-Antoine Arnaud
7988f5a974 feat: bump env_logger dev-dependency 2024-02-03 08:18:00 +01:00
Marc-Antoine ARNAUD
82b5de86ed
Merge pull request #174 from media-io/fix_same_field_name
fix: support attribute and field with same name
2024-02-03 08:16:14 +01:00
Marc-Antoine Arnaud
8fd8e9d361 fix: remove undeclared attribute child 2024-02-03 08:13:43 +01:00
Marc-Antoine Arnaud
9c2d04b0af fix: support attribute and field with same name 2024-02-03 08:13:39 +01:00
Marc-Antoine Arnaud
0578b73c8a refactor: fix fmt and clippy based on contributions 2024-01-03 17:44:53 +01:00
Marc-Antoine ARNAUD
6f434c84cd
Merge pull request #169 from jondo2010/fix_field_from_pathsegment
Make `From<PathSegment> for Field` handle a corner case
2024-01-03 17:42:04 +01:00
Marc-Antoine ARNAUD
0d088dcd5d
Merge pull request #170 from media-io/github_actions
ci: remove travis, use github actions
2024-01-03 17:40:35 +01:00
Marc-Antoine Arnaud
04396aafb2 refactor: fix fmt and clippy 2024-01-03 17:38:52 +01:00
Marc-Antoine Arnaud
f997a85567 ci: remove travis, use github actions 2024-01-03 17:35:05 +01:00
John Hughes
99a7323745 Make From<PathSegment> for Field handle a corner case 2024-01-02 23:01:37 +01:00
Marc-Antoine Arnaud
4b8b3e0430 chore: Release 2023-12-31 13:42:11 +01:00
Marc-Antoine ARNAUD
2426700211
Merge pull request #168 from jondo2010/support_xst_lists
Support deserializing xst xs:list attributes as `Vec` types.
2023-12-31 13:40:14 +01:00
John Hughes
9c5b993c84 Support deserializing xst xs:list attributes as Vec types. 2023-12-23 21:47:40 +01:00
Marc-Antoine Arnaud
40dcff31e7 chore: Release 2023-12-19 22:41:21 +01:00
Marc-Antoine Arnaud
1a92d347b8 chore: add metadata to example project 2023-12-19 22:40:54 +01:00
Marc-Antoine Arnaud
5333e07985 chore: do not publish examples 2023-12-19 22:39:03 +01:00
Marc-Antoine Arnaud
a9b7aa2546 refactor: improve code based on clippy 2023-12-19 22:17:30 +01:00
Marc-Antoine Arnaud
568de4e1f0 refactor: format code using cargo fmt 2023-12-19 22:03:15 +01:00
Marc-Antoine ARNAUD
7b6d831146
Merge pull request #166 from jespersm/fix_tests
Fix tests
2023-12-19 21:49:53 +01:00
Jesper Steen Møller
d0ebc13cb3 Fix tests 2023-10-30 23:54:24 +01:00
Marc-Antoine ARNAUD
5d9e77ffcf
Merge pull request #155 from vilunov/derive-improvs
Reexport yaserde_derive macros when derive feature is enabled
2023-02-22 21:06:32 +01:00
Marc-Antoine ARNAUD
9c4c20c4bf
Merge pull request #154 from kmkaplan/patch-1
Documentation fix
2023-02-20 18:28:51 +01:00
Nikita Vilunov
4ea06fa06f Reexport yaserde_derive macros when derive feature is enabled 2023-02-18 14:45:02 +01:00
kmkaplan
3f73aa5df5
Documentation fix
Change `skip_serializing` into `skip_serializing_if`.
2023-02-17 08:05:54 +00:00
Marc-Antoine ARNAUD
c6da58188c
Merge pull request #150 from media-io/dependabot/cargo/env_logger-0.10.0
Update env_logger requirement from 0.9.0 to 0.10.0
2023-01-08 22:00:01 +01:00
Marc-Antoine ARNAUD
8483c3be79
Merge pull request #153 from lbenini/skip-fixes
skip/skip_if are not working for Enum, Struct and Vec
2023-01-03 22:49:52 +01:00
Luca Benini
ee04c928a4 Evaluate serialization conditions also for Struct, Vec and Enum 2022-12-28 10:42:43 +01:00
Luca Benini
aa3dd831e4 Created unit tests for skip/skip_if failures 2022-12-28 10:35:07 +01:00
dependabot[bot]
cf9fa42ade
Update env_logger requirement from 0.9.0 to 0.10.0
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 06:02:03 +00:00
Marc-Antoine ARNAUD
2f395e2bca
Merge pull request #147 from lifichi/patch-1
fix: break from the loop after matching enum variant
2022-08-18 11:45:46 +02:00
lifichi
37b0ae263b
fix: break from the loop after matching enum variant 2022-08-14 23:04:02 +02:00
Marc-Antoine ARNAUD
efdab555e1
Merge pull request #143 from TheSchemm/master
Fixes #142
2022-07-08 05:15:29 +02:00
TheSchemm
b27659b8dc Added tests for deserialization 2022-05-05 08:24:57 -05:00
TheSchemm
2f8e87cd88 Basic support for enum attribute serialization 2022-05-04 20:36:59 -05:00
TheSchemm
53d3a85088 Fixes #142 2022-04-29 15:58:01 -05:00
Marc-Antoine ARNAUD
2e9ac95c6f
Merge pull request #141 from mracsko/master
#139 Adding documentation for skip_serializing
2022-04-11 16:06:23 +02:00
mracsko
391d2a0355 #139 Adding documentation for skip_serializing 2022-04-07 12:28:47 +02:00
Marc-Antoine Arnaud
427bab7e34 (cargo-release) version 0.8.0 2022-03-25 10:11:26 +01:00
Marc-Antoine Arnaud
d5b44d8f38 (cargo-release) version 0.8.0 2022-03-25 10:11:26 +01:00