diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2023-08-01 13:09:16 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2023-08-01 14:22:45 +0200 |
| commit | 163efe9f9bf0ed6547261a44b904adbb6eba4819 (patch) | |
| tree | 0bd524325bff6e8a54c7449b18f7b290acc41da1 | |
| parent | cd919e46663211243c6ce30d7230e095b1a93a27 (diff) | |
| download | mullvadvpn-163efe9f9bf0ed6547261a44b904adbb6eba4819.tar.xz mullvadvpn-163efe9f9bf0ed6547261a44b904adbb6eba4819.zip | |
Disable chrono features to get rid of time dependency
| -rw-r--r-- | Cargo.lock | 17 | ||||
| -rw-r--r-- | mullvad-api/Cargo.toml | 2 | ||||
| -rw-r--r-- | mullvad-cli/Cargo.toml | 2 | ||||
| -rw-r--r-- | mullvad-daemon/Cargo.toml | 2 | ||||
| -rw-r--r-- | mullvad-management-interface/Cargo.toml | 2 | ||||
| -rw-r--r-- | mullvad-relay-selector/Cargo.toml | 2 | ||||
| -rw-r--r-- | mullvad-types/Cargo.toml | 2 | ||||
| -rw-r--r-- | talpid-core/Cargo.toml | 2 | ||||
| -rw-r--r-- | talpid-wireguard/Cargo.toml | 2 |
9 files changed, 10 insertions, 23 deletions
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/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" |
