diff --git a/Cargo.toml b/Cargo.toml index ffa8d8784a33..f68e491d9fb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,6 +60,7 @@ windows-sys = "0.48.0" chrono = { version = "0.4.26", default-features = false} clap = { version = "4.2.7", features = ["cargo", "derive"] } +once_cell = "1.13" [profile.release] diff --git a/android/translations-converter/Cargo.toml b/android/translations-converter/Cargo.toml index d0868d70e118..1c3b89e1d8f9 100644 --- a/android/translations-converter/Cargo.toml +++ b/android/translations-converter/Cargo.toml @@ -11,7 +11,7 @@ publish.workspace = true [dependencies] err-derive = { workspace = true } htmlize = { version = "1.0.2", features = ["unescape"] } -once_cell = "1.13" +once_cell = { workspace = true } regex = "1" serde = { version = "1", features = ["derive"] } quick-xml = { version = "0.27.1", features = ["serialize"] } diff --git a/mullvad-api/Cargo.toml b/mullvad-api/Cargo.toml index 32d725a2c6fa..752a557b8173 100644 --- a/mullvad-api/Cargo.toml +++ b/mullvad-api/Cargo.toml @@ -25,7 +25,7 @@ serde_json = "1.0" tokio = { workspace = true, features = ["macros", "time", "rt-multi-thread", "net", "io-std", "io-util", "fs"] } tokio-rustls = "0.24.1" rustls-pemfile = "1.0.3" -once_cell = "1.13" +once_cell = { workspace = true } mullvad-fs = { path = "../mullvad-fs" } mullvad-types = { path = "../mullvad-types" } diff --git a/mullvad-daemon/Cargo.toml b/mullvad-daemon/Cargo.toml index aaa893e170b3..cc89500abdcf 100644 --- a/mullvad-daemon/Cargo.toml +++ b/mullvad-daemon/Cargo.toml @@ -17,7 +17,7 @@ chrono = { workspace = true } err-derive = { workspace = true } fern = { version = "0.6", features = ["colored"] } futures = "0.3" -once_cell = "1.13" +once_cell = { workspace = true } libc = "0.2" log = { workspace = true } regex = "1.0" diff --git a/mullvad-management-interface/Cargo.toml b/mullvad-management-interface/Cargo.toml index 5a36da5a2952..dc70a47905d3 100644 --- a/mullvad-management-interface/Cargo.toml +++ b/mullvad-management-interface/Cargo.toml @@ -25,7 +25,7 @@ log = { workspace = true } [target.'cfg(unix)'.dependencies] nix = "0.23" -once_cell = "1.13" +once_cell = { workspace = true } [build-dependencies] tonic-build = { workspace = true, default-features = false, features = ["transport", "prost"] } diff --git a/mullvad-paths/Cargo.toml b/mullvad-paths/Cargo.toml index 3b4e01792026..78ddeefa9acc 100644 --- a/mullvad-paths/Cargo.toml +++ b/mullvad-paths/Cargo.toml @@ -16,7 +16,7 @@ log = { workspace = true } [target.'cfg(windows)'.dependencies] widestring = "1.0" -once_cell = "1.13" +once_cell = { workspace = true } [target.'cfg(windows)'.dependencies.windows-sys] workspace = true diff --git a/mullvad-problem-report/Cargo.toml b/mullvad-problem-report/Cargo.toml index 5bddff56408f..9001b4a18180 100644 --- a/mullvad-problem-report/Cargo.toml +++ b/mullvad-problem-report/Cargo.toml @@ -11,7 +11,7 @@ publish.workspace = true [dependencies] dirs = "5.0.1" err-derive = { workspace = true } -once_cell = "1.13" +once_cell = { workspace = true } log = { workspace = true } regex = "1.0" uuid = { version = "1.4.1", features = ["v4"] } diff --git a/mullvad-relay-selector/Cargo.toml b/mullvad-relay-selector/Cargo.toml index 6574b866a4a2..aa954ba610cb 100644 --- a/mullvad-relay-selector/Cargo.toml +++ b/mullvad-relay-selector/Cargo.toml @@ -25,4 +25,4 @@ mullvad-api = { path = "../mullvad-api" } mullvad-types = { path = "../mullvad-types" } [dev-dependencies] -once_cell = "1.13" +once_cell = { workspace = true } diff --git a/mullvad-setup/Cargo.toml b/mullvad-setup/Cargo.toml index df509a5e80f9..22fc63b54fd1 100644 --- a/mullvad-setup/Cargo.toml +++ b/mullvad-setup/Cargo.toml @@ -16,7 +16,7 @@ path = "src/main.rs" clap = { workspace = true } env_logger = { workspace = true } err-derive = { workspace = true } -once_cell = "1.13" +once_cell = { workspace = true } mullvad-management-interface = { path = "../mullvad-management-interface" } diff --git a/mullvad-types/Cargo.toml b/mullvad-types/Cargo.toml index db300ef00cd2..603f9df38883 100644 --- a/mullvad-types/Cargo.toml +++ b/mullvad-types/Cargo.toml @@ -12,7 +12,7 @@ publish.workspace = true chrono = { workspace = true, features = ["clock", "serde"] } err-derive = { workspace = true } ipnetwork = "0.16" -once_cell = "1.13" +once_cell = { workspace = true } log = { workspace = true } regex = "1" serde = { version = "1.0", features = ["derive"] } diff --git a/talpid-core/Cargo.toml b/talpid-core/Cargo.toml index b8c730a1bc35..668e39863f02 100644 --- a/talpid-core/Cargo.toml +++ b/talpid-core/Cargo.toml @@ -13,7 +13,7 @@ duct = "0.13" err-derive = { workspace = true } futures = "0.3.15" ipnetwork = "0.16" -once_cell = "1.13" +once_cell = { workspace = true } libc = "0.2" log = { workspace = true } parking_lot = "0.12.0" diff --git a/talpid-dbus/Cargo.toml b/talpid-dbus/Cargo.toml index aa37b3264037..60ab88f97312 100644 --- a/talpid-dbus/Cargo.toml +++ b/talpid-dbus/Cargo.toml @@ -10,7 +10,7 @@ publish.workspace = true [target.'cfg(target_os = "linux")'.dependencies] dbus = "0.9" err-derive = { workspace = true } -once_cell = "1.13" +once_cell = { workspace = true } log = { workspace = true } libc = "0.2" tokio = { workspace = true, features = ["rt"] } diff --git a/talpid-openvpn/Cargo.toml b/talpid-openvpn/Cargo.toml index 028519613ca5..294012a373e9 100644 --- a/talpid-openvpn/Cargo.toml +++ b/talpid-openvpn/Cargo.toml @@ -14,7 +14,7 @@ async-trait = "0.1" duct = "0.13" err-derive = { workspace = true } futures = "0.3.15" -once_cell = "1.13" +once_cell = { workspace = true } log = { workspace = true } os_pipe = "1.1.4" parking_lot = "0.12.0" diff --git a/talpid-routing/Cargo.toml b/talpid-routing/Cargo.toml index 223182947539..56913ae13847 100644 --- a/talpid-routing/Cargo.toml +++ b/talpid-routing/Cargo.toml @@ -21,7 +21,7 @@ talpid-types = { path = "../talpid-types" } [target.'cfg(target_os = "linux")'.dependencies] libc = "0.2" -once_cell = "1.13" +once_cell = { workspace = true } rtnetlink = "0.11" netlink-packet-route = "0.13" netlink-sys = "0.8.3" diff --git a/talpid-wireguard/Cargo.toml b/talpid-wireguard/Cargo.toml index 04ea3fc00bc2..f8e854a7c56f 100644 --- a/talpid-wireguard/Cargo.toml +++ b/talpid-wireguard/Cargo.toml @@ -14,7 +14,7 @@ err-derive = { workspace = true } futures = "0.3.15" hex = "0.4" ipnetwork = "0.16" -once_cell = "1.13" +once_cell = { workspace = true } libc = "0.2" log = { workspace = true } parking_lot = "0.12.0"