Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added optional "with-serde" feature that enables serde #8

Closed
wants to merge 1 commit into from
Closed

Added optional "with-serde" feature that enables serde #8

wants to merge 1 commit into from

Conversation

Deedasmi
Copy link
Contributor

Serialize and Deserialize code taken straight from https://serde.rs/deserialize-map.html

Also updated the Edition, which won't affect dependencies.

NOTE: Currently I don't require V: Default for serialize, meaning that it is possible to have a DefaultHashMap that can serialize, but not de-serialize. How do you want to handle this? Just document it, or add the unnecessary trait restriction?

Serialize and Deserialize code taken straight from https://serde.rs/deserialize-map.html
Also updated the Edition, which won't affect dependencies.
@codecov-io
Copy link

codecov-io commented Dec 13, 2019

Codecov Report

Merging #8 into master will decrease coverage by 0.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   95.96%   95.85%   -0.12%     
==========================================
  Files           1        1              
  Lines         124      193      +69     
==========================================
+ Hits          119      185      +66     
- Misses          5        8       +3
Impacted Files Coverage Δ
src/lib.rs 95.85% <100%> (-0.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f86de74...4cdb261. Read the comment docs.

@Deedasmi Deedasmi closed this Jan 10, 2020
@Deedasmi Deedasmi mentioned this pull request Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants