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
Marc-Antoine ARNAUD
31440a76a5
Merge pull request #120 from Felerius/derive-log-targets
...
Use "yaserde_derive" as the log target for generated logging calls
2021-12-01 17:10:11 +01:00
Marc-Antoine ARNAUD
3fcbc51ae4
Merge pull request #119 from media-io/dependabot/cargo/env_logger-0.9.0
...
Update env_logger requirement from 0.8.2 to 0.9.0
2021-12-01 17:08:13 +01:00
Marc-Antoine ARNAUD
852454b2d7
Merge pull request #121 from Felerius/remove-testing-macros-from-docs
...
Remove testing macros from docs
2021-12-01 17:07:58 +01:00
Marc-Antoine ARNAUD
9f26b369cf
Merge pull request #124 from galibey/fix-default-prefix
...
Handle default ns prefix
2021-12-01 17:06:48 +01:00
Alexander Galibey
c7e68694cd
Handle default ns prefix
2021-09-12 20:34:11 +03:00
David Stangl
f3fded6656
Remove testing macros from docs
2021-07-24 12:38:13 +02:00
David Stangl
ae0a310d1f
Hide re-exported xml and log crates from docs
2021-07-24 12:10:41 +02:00
David Stangl
f845c0dfd1
Use custom target for derive-generated log calls
2021-07-24 12:06:31 +02:00
dependabot[bot]
f5e5e933e0
Update env_logger requirement from 0.8.2 to 0.9.0
...
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger ) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.9.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 06:07:03 +00:00
Marc-Antoine Arnaud
57dce9057e
fix link version
2021-07-06 15:50:29 +02:00
Marc-Antoine Arnaud
01246c1f6e
bump to 0.7.1
2021-07-06 15:49:16 +02:00
Marc-Antoine ARNAUD
b97d90e0b2
Merge pull request #115 from oscartbeaumont/master
...
Removed need for `xml-rs` and `log` in projects using yaserde
2021-07-06 15:46:35 +02:00
Oscar Beaumont
979ea4c23d
removed need for xml-rs and log in projects using yaserde
2021-06-29 02:45:30 +08:00
Marc-Antoine Arnaud
1ed18f5ff8
add Changelog
...
issue #89
2021-05-31 12:33:04 +02:00
Marc-Antoine Arnaud
495bf4128e
bump to examples 0.7.0
2021-05-31 11:41:46 +02:00
Marc-Antoine Arnaud
1ff9ae3323
bump to 0.7.0
2021-05-31 11:40:36 +02:00
Marc-Antoine ARNAUD
29261a3590
Merge pull request #108 from olvyko/add-skip-ser-if
...
Add skip_serializing_if support for attributes
2021-05-31 10:45:35 +02:00
Marc-Antoine ARNAUD
4f78a2f701
Merge pull request #114 from media-io/update
...
Update
2021-05-31 10:41:18 +02:00
Marc-Antoine Arnaud
1fb21c2bf6
minor updates regarding clippy analysis
2021-05-31 08:27:43 +02:00
Marc-Antoine Arnaud
fc38cb0a97
add new rust version for CI
2021-05-30 19:31:04 +02:00
Marc-Antoine ARNAUD
a8ef1358a9
Merge pull request #112 from ephraimkunz/same-child-name
...
Fix bug where nested structs with the same element names don't deserialize properly.
2021-05-30 19:28:58 +02:00
Marc-Antoine ARNAUD
08922b1d1f
Merge pull request #109 from media-io/dependabot/add-v2-config-file
...
Upgrade to GitHub-native Dependabot
2021-05-30 19:26:53 +02:00
Marc-Antoine ARNAUD
de47220412
Merge pull request #111 from ephraimkunz/text-attribute-optional-strings
...
Allow adding the 'text' attribute to Option<String>
2021-05-30 19:26:15 +02:00
Ephraim Kunz
72d61e03f4
Fix bug where nested structs with the same element names didn't deserialzie properly.
2021-05-05 07:34:38 -07:00
Ephraim Kunz
4b27b04ba4
Allow adding the 'text' attribute to Option<String>
2021-04-29 20:40:34 -07:00
dependabot-preview[bot]
26e51e2d3c
Upgrade to GitHub-native Dependabot
2021-04-29 20:50:51 +00:00
olvyko
cb25872cde
Add test for attribute with skip_serialize_if
2021-04-29 22:10:52 +06:00
olvyko
0139d63f6d
Alter yaserde_derive crate to support skip_serialize_if for attributes
2021-04-29 21:39:47 +06:00
Marc-Antoine ARNAUD
fb19a35d43
Merge pull request #107 from brainstorm/prettyprint
...
XML prettyprint documentation
2021-02-12 21:25:29 +01:00
Roman Valls Guimera
65187ff78b
fmt
2021-02-11 19:53:16 +11:00
Roman Valls Guimera
9bbb1a6cc9
XML prettyprint documentation
2021-02-11 19:50:56 +11:00
Marc-Antoine Arnaud
e84d92a864
fix dev link version
2021-02-08 14:44:27 +01:00
Marc-Antoine Arnaud
07a78563e6
fix version link
2021-02-08 14:42:54 +01:00
Marc-Antoine Arnaud
082cc0d953
bump to 0.6.0
2021-02-08 14:39:49 +01:00
Marc-Antoine Arnaud
019b7c10ff
use f32::EPSILON from std for rust version < 1.43
2021-02-08 14:16:16 +01:00
Marc-Antoine Arnaud
df49bff4be
Merge branch 'brainstorm-serialize_docs_svd_example'
2021-02-08 14:11:24 +01:00
Marc-Antoine Arnaud
6492efcfdc
improve contribution to add examples, fix some clippy warns
2021-02-08 14:10:08 +01:00
Roman Valls Guimera
a65fa84f75
@MarcAntoine-Arnaud, the local link path breaks CI if I add examples in the workspace
2021-02-08 22:53:01 +11:00
Roman Valls Guimera
e506cb1e92
Add in the prettyprinting bit in the svd example, which still doesn't work yet properly in master.
2021-02-08 22:42:55 +11:00
Roman Valls Guimera
4f52732a71
Ignore this rust(doc) code, thanks https://doc.rust-lang.org/rustdoc/documentation-tests.html#attributes
2021-02-08 22:33:26 +11:00
Roman Valls Guimera
3ffdd9bdcd
Rust 1.36 and 1.37 are ancient history ;P
2021-02-08 22:19:21 +11:00
Roman Valls Guimera
69cccbc4b8
Use local link path for examples
2021-02-08 22:18:44 +11:00