Skip to content

Comments

Fix #540#557

Merged
dralley merged 5 commits intotafia:masterfrom
Mingun:workaround
Feb 20, 2023
Merged

Fix #540#557
dralley merged 5 commits intotafia:masterfrom
Mingun:workaround

Conversation

@Mingun
Copy link
Collaborator

@Mingun Mingun commented Feb 18, 2023

This PR slightly rewrites serializer, so rustc no more tries to recursively check traits on references. The consequence in that:

  • Serializer now always store reference to the Writer instead writer itself
  • do not return writer from the Serialize::serialize method

Based on #556 to use new function in the regression test.

@Mingun Mingun added bug serde Issues related to mapping from Rust types to XML labels Feb 18, 2023
@Mingun Mingun linked an issue Feb 18, 2023 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

Merging #557 (f8ac01e) into master (64292c7) will increase coverage by 0.16%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #557      +/-   ##
==========================================
+ Coverage   61.18%   61.34%   +0.16%     
==========================================
  Files          33       33              
  Lines       15670    15694      +24     
==========================================
+ Hits         9588     9628      +40     
+ Misses       6082     6066      -16     
Flag Coverage Δ
unittests 61.34% <100.00%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/se/content.rs 97.22% <100.00%> (+0.01%) ⬆️
src/se/element.rs 98.49% <100.00%> (+0.79%) ⬆️
src/se/mod.rs 92.11% <100.00%> (+0.81%) ⬆️
src/de/mod.rs 56.38% <0.00%> (+0.23%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dralley dralley merged commit cfda567 into tafia:master Feb 20, 2023
@Mingun Mingun deleted the workaround branch February 20, 2023 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug serde Issues related to mapping from Rust types to XML

Projects

None yet

Development

Successfully merging this pull request may close these issues.

String recursion error after upgrading from 0.26.0 to 0.27.1

3 participants