Skip to content

Commit 88662da

Browse files
BrewTestBotchenrui333
authored andcommitted
cargo-audit 0.21.0
cargo-audit: remove build patch Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent 8b13a3b commit 88662da

File tree

1 file changed

+2
-38
lines changed

1 file changed

+2
-38
lines changed

Formula/c/cargo-audit.rb

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
class CargoAudit < Formula
22
desc "Audit Cargo.lock files for crates with security vulnerabilities"
33
homepage "https://rustsec.org/"
4+
url "https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.21.0.tar.gz"
5+
sha256 "343242874edd00c2aa49c7481af0c4735ebcf682d04710f0c02a56a9015f6092"
46
license any_of: ["Apache-2.0", "MIT"]
57
head "https://github.com/rustsec/rustsec.git", branch: "main"
68

7-
stable do
8-
url "https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.20.0.tar.gz"
9-
sha256 "695e8d0526bbc672d227a7f8b4592a5fd6641a9e819767146a8a4e3a32e57e5c"
10-
11-
# time crate build patch, upstream PR ref, https://github.com/rustsec/rustsec/pull/1170
12-
patch :DATA
13-
end
14-
159
livecheck do
1610
url :stable
1711
regex(%r{^cargo-audit/v?(\d+(?:\.\d+)+)$}i)
@@ -53,33 +47,3 @@ def install
5347
assert_match "error: 1 vulnerability found!", shell_output("#{bin}/cargo-audit audit 2>&1", 1)
5448
end
5549
end
56-
57-
__END__
58-
diff --git a/Cargo.lock b/Cargo.lock
59-
index 3460499..0efa894 100644
60-
--- a/Cargo.lock
61-
+++ b/Cargo.lock
62-
@@ -2911,9 +2911,9 @@ dependencies = [
63-
64-
[[package]]
65-
name = "time"
66-
-version = "0.3.32"
67-
+version = "0.3.36"
68-
source = "registry+https://github.com/rust-lang/crates.io-index"
69-
-checksum = "fe80ced77cbfb4cb91a94bf72b378b4b6791a0d9b7f09d0be747d1bdff4e68bd"
70-
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
71-
dependencies = [
72-
"deranged",
73-
"itoa",
74-
@@ -2934,9 +2934,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
75-
76-
[[package]]
77-
name = "time-macros"
78-
-version = "0.2.17"
79-
+version = "0.2.18"
80-
source = "registry+https://github.com/rust-lang/crates.io-index"
81-
-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
82-
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
83-
dependencies = [
84-
"num-conv",
85-
"time-core",

0 commit comments

Comments
 (0)