Skip to content

Commit ac9cdea

Browse files
committed
cargo-edit: deprecate
Signed-off-by: Michael Cho <michael@michaelcho.dev>
1 parent 03bb134 commit ac9cdea

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Formula/c/cargo-edit.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ class CargoEdit < Formula
1919
sha256 cellar: :any_skip_relocation, x86_64_linux: "79df633b377c8c2fd2ba9f73ee41ca825f7158688d8a378110f56625c712775d"
2020
end
2121

22+
# `cargo-edit` uses the API of older crates-index that requires older git2/libgit2.
23+
# So it would need something like https://github.com/killercup/cargo-edit/pull/870
24+
# at minimum before being able to try updating to newer git2.
25+
#
26+
# However, it seems upstream is working on killing off `cargo-edit`:
27+
# * https://internals.rust-lang.org/t/feedback-on-cargo-upgrade-to-prepare-it-for-merging/17101
28+
# * https://github.com/killercup/cargo-edit/issues/864#issuecomment-1645735265
29+
deprecate! date: "2024-03-23", because: "uses deprecated `libgit2@1.6`"
30+
2231
depends_on "pkg-config" => :build
2332
depends_on "rust" => :build
2433
depends_on "rustup-init" => :test

0 commit comments

Comments
 (0)