Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions Formula/g/gitoxide.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Gitoxide < Formula
desc "Idiomatic, lean, fast & safe pure Rust implementation of Git"
homepage "https://github.com/GitoxideLabs/gitoxide"
url "https://github.com/GitoxideLabs/gitoxide/archive/refs/tags/v0.45.0.tar.gz"
sha256 "1914573c9efa69a3a8b8ef97483a7756a4d5ab433a93e43502fb18332f77b623"
url "https://github.com/GitoxideLabs/gitoxide/archive/refs/tags/v0.46.0.tar.gz"
sha256 "68a60cae90e0882cb3e1e699bc1c7e64902b632cc30209f60444c8ca8b2d820e"
license "Apache-2.0"
head "https://github.com/GitoxideLabs/gitoxide.git", branch: "main"

Expand All @@ -12,14 +12,12 @@ class Gitoxide < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_tahoe: "10684910852553089557ac0aebbfaf57544b52807d5a0c9f0d25461affdc4c8b"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "835b9c1e14b69b7cfb9219ecdd571043755e1330642803c7c2b717fb6b12b89b"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "afb305e654733f1089ae53aa33991e01a88597171478428f5b589ee9fc36f1ab"
sha256 cellar: :any_skip_relocation, arm64_ventura: "3686c91b28f4150d6aa84370997d54513b8754ad88f2e6c36b52fe9b09081d1c"
sha256 cellar: :any_skip_relocation, sonoma: "7988f0b34958d5b489f798c7709614b132b7dc241c9daee1e9023d9bbab19bb0"
sha256 cellar: :any_skip_relocation, ventura: "018c07fa0fc87d460618f3f9e30ebd6a3f19a56e2a71e65f81b490f1d77ac414"
sha256 cellar: :any_skip_relocation, arm64_linux: "bc7b90aaa939936c2c81564f1bb99642f941e17f5e911e16ae4ef3a59b0a0da8"
sha256 cellar: :any_skip_relocation, x86_64_linux: "956a2adab3aae85930db685da3a1e3d2df78a80756efb7f62dc958718ace1d56"
sha256 cellar: :any_skip_relocation, arm64_tahoe: "f8467a619e4295ff7135e08ec0fa07a9d5c5c133debcc34700f6c9d9829aee0a"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "cc3e6f7e8a263387ed2b0461087274468e361a8256b337b45465b59d8e3f7b48"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "3270a4e3ae80c65881803631f427f8729b9ae7a5365f604ff1eaae0a80c3ce9a"
sha256 cellar: :any_skip_relocation, sonoma: "b09d5d47561278d136b4597a219a01ca0f532df6b220bf98f6795a43ad6fd90b"
sha256 cellar: :any_skip_relocation, arm64_linux: "71df921b89a5c73e972f1c9bb651713a55578381d2163e394a3c8a42c98aebbe"
sha256 cellar: :any_skip_relocation, x86_64_linux: "280801d15024b739e90ab7423bef63825352c5a539c40d11e4b5e66aac4845f4"
end

depends_on "pkgconf" => :build
Expand All @@ -28,10 +26,7 @@ class Gitoxide < Formula
uses_from_macos "zlib"

def install
# Avoid requiring CMake or building a vendored zlib-ng.
# Feature array corresponds to the default config (max) sans vendored zlib-ng.
# See: https://github.com/GitoxideLabs/gitoxide/blob/b8db2072bb6a5625f37debe9e58d08461ece67dd/Cargo.toml#L88-L89
features = %w[max-control gix-features/zlib-stock gitoxide-core-blocking-client http-client-curl]
features = %w[max-control gitoxide-core-blocking-client http-client-curl]
system "cargo", "install", "--no-default-features", "--features=#{features.join(",")}", *std_cargo_args
generate_completions_from_executable(bin/"gix", "completions", "-s")
generate_completions_from_executable(bin/"ein", "completions", "-s")
Expand Down
Loading