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

hpke-rs-crypto: make serde opt-in #49

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

japaric
Copy link
Contributor

@japaric japaric commented Nov 24, 2023

this puts the Serialize and Deserialize derives behind an opt-in Cargo feature called "serde". this is a semver breaking change.

Copy link
Member

@franziskuskiefer franziskuskiefer left a comment

Choose a reason for hiding this comment

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

lgtm with the two comments addressed.

@@ -11,7 +11,10 @@ repository = "https://github.com/franziskuskiefer/hpke-rs"

[dependencies]
serde_json = { version = "1.0" }
Copy link
Member

Choose a reason for hiding this comment

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

Do we still need serde_json? I think this could go.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't remove it in this PR because #47 removed it and I wanted to avoid a merge conflict (which still happened)

traits/Cargo.toml Show resolved Hide resolved
@japaric
Copy link
Contributor Author

japaric commented Nov 27, 2023

addressed merge conflict

Copy link
Member

@franziskuskiefer franziskuskiefer left a comment

Choose a reason for hiding this comment

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

Thanks

@franziskuskiefer franziskuskiefer merged commit aae8d0a into cryspen:main Nov 27, 2023
13 of 14 checks passed
@japaric japaric deleted the opt-in-serde branch November 27, 2023 16:24
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