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
Marc-Antoine Arnaud
a0afd7c34f
(cargo-release) version 0.8.0
2022-03-25 10:11:26 +01:00
Marc-Antoine Arnaud
9ea9263a28
bump example to 0.7.1
2022-03-25 10:10:59 +01:00
Marc-Antoine ARNAUD
4444d3f507
Merge pull request #133 from amy-keibler/131-skip-serializing
...
Add "skip_serializing" attribute
2022-03-25 10:06:14 +01:00
Marc-Antoine ARNAUD
71432d1e9b
Merge pull request #134 from ephraimkunz/clippy-warnings-and-build
...
Fix clippy warnings and build with heck 0.4
2022-03-25 10:04:53 +01:00
Marc-Antoine ARNAUD
790a9f10f2
Merge pull request #136 from ephraimkunz/fix-bool-fuzz-issue
...
Fix unwrap being hit in macro when malicious input is given
2022-03-25 10:04:00 +01:00
Ephraim Kunz
c4d4828c56
Fix unwrap being hit in macro when malicious input is given
2022-01-14 12:50:05 -08:00
Ephraim Kunz
7148ec67c5
Fix clippy warnings and build with heck 0.4
2022-01-07 08:39:25 -08:00
Amy Keibler
14dcfc43d7
Add "skip_serializing" attribute
...
If it is present on a field, that field should not be included in the output
If both "skip_serializing" and "skip_serializing_if" are present,
"skip_serializing" should take precedent.
2022-01-06 11:26:32 -05:00
Marc-Antoine ARNAUD
19b51168c9
Merge pull request #130 from media-io/dependabot/cargo/heck-0.4.0
...
Update heck requirement from 0.3.1 to 0.4.0
2021-12-16 16:31:59 +01:00
Marc-Antoine ARNAUD
6a6ebcc4ae
Merge pull request #128 from Freax13/fixes
...
Fix flattened fields
2021-12-16 16:30:55 +01:00
dependabot[bot]
2e3563f50c
Update heck requirement from 0.3.1 to 0.4.0
...
Updates the requirements on [heck](https://github.com/withoutboats/heck ) to permit the latest version.
- [Release notes](https://github.com/withoutboats/heck/releases )
- [Changelog](https://github.com/withoutboats/heck/blob/master/CHANGELOG.md )
- [Commits](https://github.com/withoutboats/heck/commits )
---
updated-dependencies:
- dependency-name: heck
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 06:05:32 +00:00
Tom Dohrmann
5141abaf85
don't match nested end tags with the same name
2021-12-06 17:21:26 +01:00
Tom Dohrmann
d469128a48
don't corrupt the unused buffer when reading child
2021-12-06 17:19:39 +01:00