Skip to content

refactor: remove macro export#792

Merged
Pr0methean merged 1 commit intomasterfrom
remove-macro-export
Apr 27, 2026
Merged

refactor: remove macro export#792
Pr0methean merged 1 commit intomasterfrom
remove-macro-export

Conversation

@Its-Just-Nans
Copy link
Copy Markdown
Member

No description provided.

@Its-Just-Nans Its-Just-Nans self-assigned this Apr 26, 2026
Copy link
Copy Markdown
Contributor

@amazon-q-developer amazon-q-developer Bot left a comment

Choose a reason for hiding this comment

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

This PR correctly removes the public export of the to_and_from_le macro, making it properly scoped as an internal implementation detail. The version bump to 9.0.0 appropriately reflects this breaking change. The refactoring is clean with no defects identified.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

@Its-Just-Nans Its-Just-Nans added this to the 9.0.0 milestone Apr 26, 2026
@Its-Just-Nans Its-Just-Nans mentioned this pull request Apr 26, 2026
2 tasks
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request bumps the crate version to 9.0.0 and removes the #[macro_export] attribute from the to_and_from_le! macro in src/spec.rs. A review comment points out that the deprecated-time feature should be removed in this major version update to remain consistent with the crate's documented deprecation policy.

Comment thread Cargo.toml
[package]
name = "zip"
version = "8.6.0"
version = "9.0.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The version is being bumped to 9.0.0, but the deprecated-time feature (defined at line 92) is still present. The comment at line 91 explicitly states that this feature will be removed in version 9.0.0. To maintain consistency with the crate's deprecation policy and fulfill the promise made in the comments, this feature should be removed as part of this major version update.

@Pr0methean Pr0methean added this pull request to the merge queue Apr 27, 2026
Merged via the queue into master with commit 803e806 Apr 27, 2026
134 checks passed
@Pr0methean Pr0methean deleted the remove-macro-export branch April 27, 2026 11:22
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