rust-lang / git2-rs

libgit2 bindings for Rust
https://docs.rs/git2
Apache License 2.0
1.69k stars 387 forks source link

Update to bitflags 2.1.0 #973

Closed ehuss closed 1 year ago

ehuss commented 1 year ago

This upgrades this project to use bitflags 2.1.0 which includes some ergonomic improvements for working with bit flags including iterators over name and values of the bit flag members. Change derives Debug and PartialEq for types so that we can display values for debugging and compare them.

This is a repost of https://github.com/rust-lang/git2-rs/pull/952. I was unable to merge because the source repo was archived.