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

Switched to weak dependencies #538

Merged
merged 7 commits into from
May 21, 2022
Merged

Conversation

VictorKoenders
Copy link
Contributor

@VictorKoenders VictorKoenders commented Apr 7, 2022

Rust 1.60 now has weak dependencies, meaning we don't have to do our serde hack any more.

Closes #472

@VictorKoenders VictorKoenders requested a review from ZoeyR April 7, 2022 15:34
@codecov
Copy link

codecov bot commented Apr 7, 2022

Codecov Report

Merging #538 (408a606) into trunk (361d94a) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##            trunk     #538   +/-   ##
=======================================
  Coverage   54.89%   54.89%           
=======================================
  Files          47       47           
  Lines        4201     4201           
=======================================
  Hits         2306     2306           
  Misses       1895     1895           
Impacted Files Coverage Δ
src/features/serde/de_borrowed.rs 22.10% <ø> (ø)
src/features/serde/de_owned.rs 72.86% <ø> (ø)
src/features/serde/mod.rs 33.33% <ø> (ø)
src/features/serde/ser.rs 69.10% <ø> (ø)
tests/issues/issue_474.rs 96.42% <ø> (ø)
tests/issues/issue_500.rs 100.00% <ø> (ø)
tests/serde.rs 97.95% <ø> (ø)
tests/utils.rs 39.18% <0.00%> (ø)

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 361d94a...408a606. Read the comment docs.

Cargo.toml Outdated
[dependencies]
bincode_derive = { path = "derive", version = "2.0.0-rc.1", optional = true }
serde_incl = { package = "serde", version = "1.0", default-features = false, optional = true }
serde = { package = "serde", version = "1.0", default-features = false, optional = true }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't need the package = "serde" anymore, I think

Copy link
Collaborator

@ZoeyR ZoeyR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the one comment left by someone else please. :)

@VictorKoenders VictorKoenders merged commit 6ec69a3 into trunk May 21, 2022
@VictorKoenders VictorKoenders deleted the feature/weak_dependencies branch May 21, 2022 12:19
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.

Unblocked TODO: /rust-lang/cargo/issues/8832 was closed.
3 participants