Skip to content

Commit

Permalink
Merge pull request #195986 from Homebrew/bump-cargo-audit-0.21.0
Browse files Browse the repository at this point in the history
cargo-audit 0.21.0
  • Loading branch information
BrewTestBot authored Oct 29, 2024
2 parents ecd5159 + 60fe029 commit d602d8f
Showing 1 changed file with 8 additions and 47 deletions.
55 changes: 8 additions & 47 deletions Formula/c/cargo-audit.rb
Original file line number Diff line number Diff line change
@@ -1,32 +1,23 @@
class CargoAudit < Formula
desc "Audit Cargo.lock files for crates with security vulnerabilities"
homepage "https://rustsec.org/"
url "https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.21.0.tar.gz"
sha256 "343242874edd00c2aa49c7481af0c4735ebcf682d04710f0c02a56a9015f6092"
license any_of: ["Apache-2.0", "MIT"]
head "https://github.com/rustsec/rustsec.git", branch: "main"

stable do
url "https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.20.0.tar.gz"
sha256 "695e8d0526bbc672d227a7f8b4592a5fd6641a9e819767146a8a4e3a32e57e5c"

# time crate build patch, upstream PR ref, https://github.com/rustsec/rustsec/pull/1170
patch :DATA
end

livecheck do
url :stable
regex(%r{^cargo-audit/v?(\d+(?:\.\d+)+)$}i)
end

bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sequoia: "21bed15ab32597f77138b5580939d8968581d364fd7a666e022a9d10c1298b91"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "6d4a4150d6dc6ca387b330faec6c7d02e702623292f4e98f521ed7e55ddaa17e"
sha256 cellar: :any_skip_relocation, arm64_ventura: "d593cba38ba2151f0de63eef859b6e721858d4f166d939780b069c6fcef05915"
sha256 cellar: :any_skip_relocation, arm64_monterey: "a22b351570d486285a6deaa4b4e6406a7986a4b391463d3511a677574d592d87"
sha256 cellar: :any_skip_relocation, sonoma: "45570977fbae17013a277d8f6c526846a1939ba462bf2585304e71e85501f0de"
sha256 cellar: :any_skip_relocation, ventura: "8c26a8ca40fb0aa94d6ae3d2a5e686583452fb723e458d4337b138a9e66cf07c"
sha256 cellar: :any_skip_relocation, monterey: "428cfe95aede6ef9ad0d9679146ccd8760f007acf9406a87847cff9c14f9cba2"
sha256 cellar: :any_skip_relocation, x86_64_linux: "627da7addad326cf941213dc1705126a3befbcbddcd0a641153849f44a1143b0"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "0d8b35b5ed9aaaa17e8b67f037a02823477b81f0510880469dfb19e8dfdac53b"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "a71c3d0f60e9a03f06736ef8da99cd3972bb843c4ee0a0eec5d5c9616ed309c9"
sha256 cellar: :any_skip_relocation, arm64_ventura: "b6147d9a1d314491ec1944b9c14a812a781ba0f0f98e8efe536eb162b54dc0a0"
sha256 cellar: :any_skip_relocation, sonoma: "b4869aa826a6e54647453f3ff38902de373f533a2c9a9bb8e020109c0364b9f5"
sha256 cellar: :any_skip_relocation, ventura: "f7ebf6b00cfce35080e30e96ee1f42d81e2ce50dc56909c1109dcfa3684fe751"
sha256 cellar: :any_skip_relocation, x86_64_linux: "99578791cd07f067b67f092cd7e6362dffbff0ed7e542ce5bc055d25cf2bc8bf"
end

depends_on "rust" => :build
Expand All @@ -53,33 +44,3 @@ def install
assert_match "error: 1 vulnerability found!", shell_output("#{bin}/cargo-audit audit 2>&1", 1)
end
end

__END__
diff --git a/Cargo.lock b/Cargo.lock
index 3460499..0efa894 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2911,9 +2911,9 @@ dependencies = [

[[package]]
name = "time"
-version = "0.3.32"
+version = "0.3.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe80ced77cbfb4cb91a94bf72b378b4b6791a0d9b7f09d0be747d1bdff4e68bd"
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
dependencies = [
"deranged",
"itoa",
@@ -2934,9 +2934,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"

[[package]]
name = "time-macros"
-version = "0.2.17"
+version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [
"num-conv",
"time-core",

0 comments on commit d602d8f

Please sign in to comment.