Browse Source

Merge pull request #202 from dora-rs/fix-dependabot

Remove `remove_dir_all` from `Cargo.lock`as it is vulnerable to a race condition according to dependabot
tags/v0.2.0-rc
Philipp Oppermann GitHub 3 years ago
parent
commit
e48fed3e2d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 57 additions and 16 deletions
  1. +55
    -14
      Cargo.lock
  2. +1
    -1
      binaries/cli/Cargo.toml
  3. +1
    -1
      libraries/extensions/download/Cargo.toml

+ 55
- 14
Cargo.lock View File

@@ -1194,6 +1194,27 @@ dependencies = [
"termcolor",
]

[[package]]
name = "errno"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
dependencies = [
"errno-dragonfly",
"libc",
"winapi",
]

[[package]]
name = "errno-dragonfly"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
dependencies = [
"cc",
"libc",
]

[[package]]
name = "event-listener"
version = "2.5.2"
@@ -1750,6 +1771,16 @@ dependencies = [
"syn",
]

[[package]]
name = "io-lifetimes"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfa919a82ea574332e2de6e74b4c36e74d41982b335080fa59d4ef31be20fdf3"
dependencies = [
"libc",
"windows-sys 0.45.0",
]

[[package]]
name = "ipnet"
version = "2.5.0"
@@ -1881,6 +1912,12 @@ version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"

[[package]]
name = "linux-raw-sys"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"

[[package]]
name = "lock_api"
version = "0.4.6"
@@ -3086,15 +3123,6 @@ version = "0.6.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"

[[package]]
name = "remove_dir_all"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
dependencies = [
"winapi",
]

[[package]]
name = "reqwest"
version = "0.11.12"
@@ -3202,6 +3230,20 @@ dependencies = [
"semver",
]

[[package]]
name = "rustix"
version = "0.36.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd5c6ff11fecd55b40746d1995a02f2eb375bf8c00d192d521ee09f42bef37bc"
dependencies = [
"bitflags",
"errno",
"io-lifetimes",
"libc",
"linux-raw-sys",
"windows-sys 0.45.0",
]

[[package]]
name = "rustls"
version = "0.19.1"
@@ -3689,16 +3731,15 @@ checksum = "c02424087780c9b71cc96799eaeddff35af2bc513278cda5c99fc1f5d026d3c1"

[[package]]
name = "tempfile"
version = "3.3.0"
version = "3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
checksum = "af18f7ae1acd354b992402e9ec5864359d693cd8a79dcbef59f76891701c1e95"
dependencies = [
"cfg-if",
"fastrand",
"libc",
"redox_syscall",
"remove_dir_all",
"winapi",
"rustix",
"windows-sys 0.42.0",
]

[[package]]


+ 1
- 1
binaries/cli/Cargo.toml View File

@@ -15,7 +15,7 @@ eyre = "0.6.8"
dora-core = { path = "../../libraries/core" }
serde = { version = "1.0.136", features = ["derive"] }
serde_yaml = "0.9.11"
tempfile = "3.3.0"
tempfile = "3.4.0"
webbrowser = "0.8.3"
serde_json = "1.0.86"
termcolor = "1.1.3"


+ 1
- 1
libraries/extensions/download/Cargo.toml View File

@@ -8,7 +8,7 @@ license = "Apache-2.0"

[dependencies]
eyre = "0.6.8"
tempfile = "3.3.0"
tempfile = "3.4.0"
reqwest = "0.11.12"
tokio = { version = "1.24.2" }
tracing = "0.1.36"

Loading…
Cancel
Save