Commit Graph

349 Commits

Author SHA1 Message Date
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
Roman Valls Guimera
9ba62812c6 Remove sub-sub projects, thx @MarcAntoine-Aranaud ;) 2021-02-08 22:18:44 +11:00
Roman Valls Guimera
037dd58453 Restructured as @MarcAntoine-Arnaud suggested: examples workspace, more amenable to CI and examples are easier to find than in https://github.com/media-io/yaserde_examples 2021-02-08 22:18:44 +11:00
Roman Valls Guimera
e17dbbb605 Migrate yaserde examples from its own repo to its main one: https://github.com/media-io/yaserde_examples 2021-02-08 22:18:44 +11:00
Roman Valls Guimera
e412777f36 Avoid rustdoc testing the code under rust crate-level block 2021-02-08 22:18:44 +11:00
Roman Valls Guimera
db005b568f Cargo fmt 2021-02-08 22:18:44 +11:00
Roman Valls Guimera
d8d84313df Initial serialize documentation, showcasing XML attributes and children. Left to document or fix are: dependencies and pretty-printing 2021-02-08 22:18:44 +11:00
Marc-Antoine Arnaud
e326a978fd update supported rust version 2021-02-08 12:04:27 +01:00
Marc-Antoine Arnaud
63c28f4ab8 update travis link (use now .com) 2021-02-08 12:03:29 +01:00
Marc-Antoine Arnaud
083c9b9ac5 Merge branch 'djrodgerspryor-master' 2021-02-08 11:43:43 +01:00
Marc-Antoine Arnaud
b5451dfadb update syntax 2021-02-08 11:43:22 +01:00
Marc-Antoine Arnaud
0dc03c94ab Merge branch 'master' of https://github.com/djrodgerspryor/yaserde into djrodgerspryor-master 2021-02-08 11:39:57 +01:00
Marc-Antoine ARNAUD
44854b0d4d
Merge pull request #105 from ephraimkunz/serialize-conflict
Use fully qualified method names to prevent collisions with serde derive macros
2021-02-08 11:37:25 +01:00
Marc-Antoine ARNAUD
31093262b3
Merge pull request #102 from ephraimkunz/master
Prevent Yaserde from reading non #[yaserde(...)] attributes
2021-02-08 11:36:29 +01:00
Ephraim Kunz
269975d953 Use fully qualified method names to prevent collisions with serde derive macros 2021-02-05 19:26:54 -08:00
Ephraim Kunz
07c2106256 Add unit test for attribute filtering 2021-02-04 20:02:39 -08:00
Ephraim Kunz
7d2658adaf Add filter to only look at 'yaserde' attributes 2021-02-04 19:45:34 -08:00
Daniel Rodgers-Pryor
4a015130a2 Actually support serializer formatting config
By passing the values through to xml-rs
2021-01-10 00:06:23 +11:00
Marc-Antoine Arnaud
fcab1c0245 bump to 0.5.1 2021-01-08 10:10:02 +01:00
Marc-Antoine Arnaud
040219067f bump env_logger 2021-01-08 10:09:36 +01:00
Marc-Antoine Arnaud
79fd706666 fix version in dependency 2021-01-08 10:06:59 +01:00
Marc-Antoine Arnaud
2926e0b620 bump to 0.5.0 2021-01-08 10:05:50 +01:00
Marc-Antoine ARNAUD
2ee3dcda42
Merge pull request #97 from lumeohq/macro-refactor
Refactor macro code
2021-01-08 09:49:26 +01:00
Jonas Platte
a1fc2f9fad
Revert parts of "Use absolute paths in generated code"
to restore compatibility with older versions of Rust.
2020-12-17 18:32:06 +01:00
Jonas Platte
d19c57d23d
Replace String::from by .into() / .to_owned() / format!() 2020-12-17 17:53:16 +01:00