Skip to content

Commit

Permalink
Make once_cell a workspace dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Oct 4, 2023
1 parent fe572e8 commit 014c00e
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion android/translations-converter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion mullvad-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion mullvad-daemon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion mullvad-management-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion mullvad-paths/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mullvad-problem-report/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion mullvad-relay-selector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ mullvad-api = { path = "../mullvad-api" }
mullvad-types = { path = "../mullvad-types" }

[dev-dependencies]
once_cell = "1.13"
once_cell = { workspace = true }
2 changes: 1 addition & 1 deletion mullvad-setup/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
2 changes: 1 addition & 1 deletion mullvad-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion talpid-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion talpid-dbus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion talpid-openvpn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion talpid-routing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion talpid-wireguard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 014c00e

Please sign in to comment.