History

feat!: upgrade edition to 2021 in most crates.

MSRV for this is 1.56, and we are now at 1.60 so should be compatible. This isn't more than a patch release as it should break nobody who is adhering to the MSRV, but let's be careful and mark it breaking. Note that `git-features` and `git-pack` are still on edition 2018 as they make use of a workaround to support (safe) mutable access to non-overlapping entries in a slice which doesn't work anymore in edition 2021.

Sebastian Thiel committed 3 years ago

Commit 3d8fa8f1 parent f01a5d161 files · +55 −64Browse files

Showing the changes to git-commitgraph (1 of 61 files). Show all

Unified · Split

git-commitgraph/Cargo.toml+1−1
@@ -6,7 +6,7 @@ documentation = "https://git-scm.com/docs/commit-graph#:~:text=The%20commit-grap · 5 unmodified lines
66 license = "MIT/Apache-2.0"
77 description = "Read-only access to the git commitgraph file format"
88 authors = ["Conor Davis <gitoxide@conor.fastmail.fm>", "Sebastian Thiel <sebastian.thiel@icloud.com>"]
9−edition = "2018"
9+edition = "2021"
1010 include = ["src/**/*", "CHANGELOG.md"]
1111
1212 [lib]