summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/cargo-audit.yml3
-rw-r--r--Cargo.lock17
-rw-r--r--deny.toml5
-rw-r--r--mullvad-api/Cargo.toml2
-rw-r--r--mullvad-cli/Cargo.toml2
-rw-r--r--mullvad-daemon/Cargo.toml2
-rw-r--r--mullvad-management-interface/Cargo.toml2
-rw-r--r--mullvad-relay-selector/Cargo.toml2
-rw-r--r--mullvad-types/Cargo.toml2
-rw-r--r--talpid-core/Cargo.toml2
-rw-r--r--talpid-wireguard/Cargo.toml2
11 files changed, 12 insertions, 29 deletions
diff --git a/.github/workflows/cargo-audit.yml b/.github/workflows/cargo-audit.yml
index 00eb2f0959..0210facfea 100644
--- a/.github/workflows/cargo-audit.yml
+++ b/.github/workflows/cargo-audit.yml
@@ -22,6 +22,3 @@ jobs:
name: Audit Rust Dependencies
with:
denyWarnings: true
- # RUSTSEC-2020-0071: Ignore the time segfault CVE since there are no known
- # good workarounds, and we want logs etc to be in local time.
- ignore: RUSTSEC-2020-0071
diff --git a/Cargo.lock b/Cargo.lock
index 166675a11c..e8c8786b6e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -437,11 +437,8 @@ checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5"
dependencies = [
"android-tzdata",
"iana-time-zone",
- "js-sys",
"num-traits",
"serde",
- "time 0.1.43",
- "wasm-bindgen",
"winapi",
]
@@ -3921,16 +3918,6 @@ dependencies = [
[[package]]
name = "time"
-version = "0.1.43"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
-dependencies = [
- "libc",
- "winapi",
-]
-
-[[package]]
-name = "time"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41effe7cfa8af36f439fac33861b66b049edc6f9a32331e2312660529c1c24ad"
@@ -4226,7 +4213,7 @@ dependencies = [
"radix_trie",
"rand 0.8.5",
"thiserror",
- "time 0.3.5",
+ "time",
"tokio",
"tracing",
"trust-dns-proto",
@@ -4293,7 +4280,7 @@ dependencies = [
"futures-util",
"serde",
"thiserror",
- "time 0.3.5",
+ "time",
"tokio",
"toml",
"tracing",
diff --git a/deny.toml b/deny.toml
index 114beb0c5a..e911f2827e 100644
--- a/deny.toml
+++ b/deny.toml
@@ -18,8 +18,6 @@ yanked = "deny"
notice = "deny"
ignore = [
- # Potential segfault in `time`:
- "RUSTSEC-2020-0071"
]
#severity-threshold =
@@ -87,7 +85,8 @@ deny = [
{ name = "clap", version = "2" },
{ name = "clap", version = "3" },
# `atty` is an unmaintained crate with a CVE: RUSTSEC-2021-0145
- { name = "atty" }
+ { name = "atty" },
+ { name = "time", version = "0.1"},
]
skip = []
skip-tree = []
diff --git a/mullvad-api/Cargo.toml b/mullvad-api/Cargo.toml
index 1133b6ff6a..0f8ec95547 100644
--- a/mullvad-api/Cargo.toml
+++ b/mullvad-api/Cargo.toml
@@ -13,7 +13,7 @@ publish.workspace = true
api-override = []
[dependencies]
-chrono = { version = "0.4.26", features = ["serde"] }
+chrono = { version = "0.4.26", default-features = false }
err-derive = "0.3.1"
futures = "0.3"
http = "0.2"
diff --git a/mullvad-cli/Cargo.toml b/mullvad-cli/Cargo.toml
index 1e5d121e91..55aa4e7e49 100644
--- a/mullvad-cli/Cargo.toml
+++ b/mullvad-cli/Cargo.toml
@@ -16,7 +16,7 @@ path = "src/main.rs"
[dependencies]
anyhow = "1.0"
base64 = "0.13"
-chrono = { version = "0.4.26", features = ["serde"] }
+chrono = { version = "0.4.26", default-features = false }
clap = { version = "4.2.7", features = ["cargo", "derive"] }
env_logger = "0.10.0"
futures = "0.3"
diff --git a/mullvad-daemon/Cargo.toml b/mullvad-daemon/Cargo.toml
index 92ba1570bd..2083336ac6 100644
--- a/mullvad-daemon/Cargo.toml
+++ b/mullvad-daemon/Cargo.toml
@@ -14,7 +14,7 @@ api-override = ["mullvad-api/api-override"]
[dependencies]
cfg-if = "1.0"
-chrono = { version = "0.4.26", features = ["serde"] }
+chrono = { version = "0.4.26", default-features = false }
err-derive = "0.3.1"
fern = { version = "0.6", features = ["colored"] }
futures = "0.3"
diff --git a/mullvad-management-interface/Cargo.toml b/mullvad-management-interface/Cargo.toml
index 01a48ca69a..c5fb6bc34f 100644
--- a/mullvad-management-interface/Cargo.toml
+++ b/mullvad-management-interface/Cargo.toml
@@ -9,7 +9,7 @@ edition.workspace = true
publish.workspace = true
[dependencies]
-chrono = { version = "0.4.26" }
+chrono = { version = "0.4.26", default-features = false }
err-derive = "0.3.1"
mullvad-types = { path = "../mullvad-types" }
mullvad-paths = { path = "../mullvad-paths" }
diff --git a/mullvad-relay-selector/Cargo.toml b/mullvad-relay-selector/Cargo.toml
index 1ae5e33e79..210b7cd46e 100644
--- a/mullvad-relay-selector/Cargo.toml
+++ b/mullvad-relay-selector/Cargo.toml
@@ -9,7 +9,7 @@ edition.workspace = true
publish.workspace = true
[dependencies]
-chrono = "0.4.21"
+chrono = { version = "0.4.26", default-features = false }
err-derive = "0.3.1"
futures = "0.3"
ipnetwork = "0.16"
diff --git a/mullvad-types/Cargo.toml b/mullvad-types/Cargo.toml
index 8cce30412c..c3591b5b7a 100644
--- a/mullvad-types/Cargo.toml
+++ b/mullvad-types/Cargo.toml
@@ -9,7 +9,7 @@ edition.workspace = true
publish.workspace = true
[dependencies]
-chrono = { version = "0.4.26", features = ["serde"] }
+chrono = { version = "0.4.26", default-features = false, features = ["clock", "serde"] }
err-derive = "0.3.1"
ipnetwork = "0.16"
lazy_static = "1.1.0"
diff --git a/talpid-core/Cargo.toml b/talpid-core/Cargo.toml
index 24dfaca032..ac7ff685a5 100644
--- a/talpid-core/Cargo.toml
+++ b/talpid-core/Cargo.toml
@@ -30,7 +30,7 @@ talpid-tunnel-config-client = { path = "../talpid-tunnel-config-client" }
talpid-tunnel = { path = "../talpid-tunnel" }
talpid-wireguard = { path = "../talpid-wireguard" }
zeroize = "1"
-chrono = "0.4.21"
+chrono = { version = "0.4.26", default-features = false }
tokio = { workspace = true, features = ["process", "rt-multi-thread", "fs"] }
rand = "0.8.5"
diff --git a/talpid-wireguard/Cargo.toml b/talpid-wireguard/Cargo.toml
index c4410771b7..cb0c96eb31 100644
--- a/talpid-wireguard/Cargo.toml
+++ b/talpid-wireguard/Cargo.toml
@@ -23,7 +23,7 @@ talpid-types = { path = "../talpid-types" }
talpid-tunnel-config-client = { path = "../talpid-tunnel-config-client" }
talpid-tunnel = { path = "../talpid-tunnel" }
zeroize = "1"
-chrono = "0.4.21"
+chrono = { version = "0.4.26", default-features = false }
tokio = { workspace = true, features = ["process", "rt-multi-thread", "fs"] }
tunnel-obfuscation = { path = "../tunnel-obfuscation" }
rand = "0.8.5"