Commit Graph

387 Commits

Author SHA1 Message Date
Jean-Gabriel Gill-Couture
353558737f wip: Strict deserialization returns error on any unknown xml field or attribute 2024-10-14 15:03:34 -04:00
Marc-Antoine Arnaud
5cd09186fa chore: Release 2024-09-16 18:46:12 +02:00
Marc-Antoine Arnaud
8c7926f199 Merge branch 'lessu-nesting' 2024-09-16 18:41:17 +02:00
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
Marc-Antoine Arnaud
e783c29c47 chore: Release 2024-08-31 17:01:30 +02:00
Marc-Antoine Arnaud
b89a55632b feat: update heck to 0.5 2024-08-31 17:00:49 +02:00
Marc-Antoine Arnaud
a067b85ee2 feat: handle same field name but different namespace
issue #186
2024-08-31 16:54:53 +02:00
Marc-Antoine Arnaud
e4aff84acb refactor: remove std:: prefix as clippy suggested 2024-06-17 21:53:41 +02:00
Marc-Antoine Arnaud
3e416bedcc chore: Release 2024-06-05 08:09:14 +02:00
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