Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address reported RUSTSEC vulnerabilities. #144

Merged
merged 2 commits into from Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Expand Up @@ -213,4 +213,4 @@ jobs:
- name: Run cargo audit
run: |
cp -p bazel/cargo/Cargo.raze.lock .
cargo audit
cargo audit --ignore RUSTSEC-2020-0159
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -18,7 +18,7 @@ wee_alloc = { version = "0.4", optional = true }

[dev-dependencies]
cfg-if = "1.0"
chrono = "0.4"
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }

[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dev-dependencies]
getrandom = "0.2"
Expand Down
11 changes: 0 additions & 11 deletions bazel/cargo/Cargo.raze.lock
Expand Up @@ -38,7 +38,6 @@ dependencies = [
"libc",
"num-integer",
"num-traits",
"time",
"winapi",
]

Expand Down Expand Up @@ -120,16 +119,6 @@ dependencies = [
"wee_alloc",
]

[[package]]
name = "time"
version = "0.1.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
dependencies = [
"libc",
"winapi",
]

[[package]]
name = "version_check"
version = "0.9.4"
Expand Down
10 changes: 0 additions & 10 deletions bazel/cargo/crates.bzl
Expand Up @@ -121,16 +121,6 @@ def raze_fetch_remote_crates():
build_file = Label("//bazel/cargo/remote:BUILD.once_cell-1.9.0.bazel"),
)

maybe(
http_archive,
name = "raze__time__0_1_43",
url = "https://crates.io/api/v1/crates/time/0.1.43/download",
type = "tar.gz",
sha256 = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438",
strip_prefix = "time-0.1.43",
build_file = Label("//bazel/cargo/remote:BUILD.time-0.1.43.bazel"),
)

maybe(
http_archive,
name = "raze__version_check__0_9_4",
Expand Down
4 changes: 0 additions & 4 deletions bazel/cargo/remote/BUILD.chrono-0.4.19.bazel
Expand Up @@ -42,11 +42,8 @@ rust_library(
},
crate_features = [
"clock",
"default",
"libc",
"oldtime",
"std",
"time",
"winapi",
],
crate_root = "src/lib.rs",
Expand All @@ -66,7 +63,6 @@ rust_library(
"@raze__libc__0_2_116//:libc",
"@raze__num_integer__0_1_44//:num_integer",
"@raze__num_traits__0_2_14//:num_traits",
"@raze__time__0_1_43//:time",
] + selects.with_or({
# cfg(windows)
(
Expand Down
66 changes: 0 additions & 66 deletions bazel/cargo/remote/BUILD.time-0.1.43.bazel

This file was deleted.

6 changes: 0 additions & 6 deletions bazel/cargo/remote/BUILD.winapi-0.3.9.bazel
Expand Up @@ -45,10 +45,7 @@ cargo_build_script(
crate_features = [
"minwinbase",
"minwindef",
"ntdef",
"profileapi",
"std",
"sysinfoapi",
"timezoneapi",
],
crate_root = "build.rs",
Expand All @@ -73,10 +70,7 @@ rust_library(
crate_features = [
"minwinbase",
"minwindef",
"ntdef",
"profileapi",
"std",
"sysinfoapi",
"timezoneapi",
],
crate_root = "src/lib.rs",
Expand Down