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

Make pin_mut! soft-deprecated in favor of std::pin::pin! #39

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Apr 5, 2024

This makes pin_mut! macro soft-deprecated in favor of std::pin::pin! that stabilized in Rust 1.68.

Since pin_mut! is still useful for pre-1.68 Rust users, this is a soft deprecation rather than a normal deprecation (#[deprecated]).

Combining this and the deprecation of other macros in #33, all APIs in this crate are now soft-deprecated or deprecated, so I updated readme and docs to add the following note:

Note: Since Rust 1.68, all APIs in this crate are now soft-deprecated or deprecated:

@taiki-e taiki-e merged commit c635c0c into master Apr 5, 2024
7 checks passed
@taiki-e taiki-e deleted the soft-deprecate branch April 5, 2024 13:53
This was referenced Apr 5, 2024
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.

None yet

1 participant