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

chore: mark Signature as deprecated #819

Merged
merged 4 commits into from
Dec 9, 2024

Conversation

moricho
Copy link
Contributor

@moricho moricho commented Dec 5, 2024

Motivation

It might be better to notify users in advance before completely migrating from Signature to PrimitiveSignature.

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Comment on lines 5 to 9
#[deprecated(since = "0.8.15", note = "see https://github.com/alloy-rs/core/pull/776")]
pub use parity::Parity;

mod sig;
#[deprecated(since = "0.8.15", note = "use PrimitiveSignature instead")]
Copy link
Member

Choose a reason for hiding this comment

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

could we put those on the struct defs instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed it and added some #[allow(deprecated)]

@moricho moricho requested a review from mattsse December 5, 2024 15:25
@mattsse mattsse merged commit ed0837c into alloy-rs:main Dec 9, 2024
30 checks passed
@moricho moricho deleted the deprecate-signature branch December 14, 2024 09:28
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.

3 participants