-
Notifications
You must be signed in to change notification settings - Fork 160
Comparing changes
Open a pull request
base repository: bitflags/bitflags
base: 2.7.0
head repository: bitflags/bitflags
compare: 2.8.0
- 9 commits
- 8 files changed
- 3 contributors
Commits on Oct 24, 2024
-
feat(core): Add match_bitflag macro for bitflag matching
Implemented a new macro, `match_bitflag`, to perform matching operations on bitflags, similar to Rust's match expression. This macro addresses the matching issues that arise when using regular match expressions with bitflags. - The macro supports complex bitflag combination matching. - Added unit tests to verify the correctness of the macro. - Provided usage examples and an explanation of the macro's internal implementation.
Configuration menu - View commit details
-
Copy full SHA for 1f779b7 - Browse repository at this point
Copy the full SHA 1f779b7View commit details
Commits on Jan 10, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 04502cf - Browse repository at this point
Copy the full SHA 04502cfView commit details -
refactor(match): 重命名 bitflag 匹配宏并优化相关文档
- 将 `match_bitflag!` 宏重命名为 `bitflags_match!`,以更好地反映其功能 - 更新了 `bitflags_match!` 宏的文档说明,提高了清晰度 - 修改了相关测试模块的名称,以适应新的宏命名
Configuration menu - View commit details
-
Copy full SHA for b41a9e8 - Browse repository at this point
Copy the full SHA b41a9e8View commit details
Commits on Jan 14, 2025
-
feat(bitflags): Enhance the functionality and flexibility of the `bit…
…flags_match` macro - Thanks to the help from https://github.com/KodrAus, the syntax of `bitflags_match` is aligned with Rust's `match` syntax. - Support block statements as the body of match arms, which improves code expressiveness and readability. - Added handling for trailing commas, making the use of the macro more flexible. - Optimized the internal implementation of the macro so that it expands to a series of `if(pattern){ return result; }` statements. - Updated the documentation to clarify the usage and precautions of the macro.
Configuration menu - View commit details
-
Copy full SHA for b544b58 - Browse repository at this point
Copy the full SHA b544b58View commit details
Commits on Jan 15, 2025
-
Merge pull request #423 from YuniqueUnic/main
feat(core): Add bitflags_match macro for bitflag matching
Configuration menu - View commit details
-
Copy full SHA for 8d829b6 - Browse repository at this point
Copy the full SHA 8d829b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcfdfd0 - Browse repository at this point
Copy the full SHA fcfdfd0View commit details -
Merge pull request #431 from bitflags/feat/bitflags-match
Finalize bitflags_match
Configuration menu - View commit details
-
Copy full SHA for 89be927 - Browse repository at this point
Copy the full SHA 89be927View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba41e4b - Browse repository at this point
Copy the full SHA ba41e4bView commit details -
Merge pull request #432 from bitflags/cargo/2.8.0
Prepare for 2.8.0 release
Configuration menu - View commit details
-
Copy full SHA for e20af86 - Browse repository at this point
Copy the full SHA e20af86View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.7.0...2.8.0