Skip to content

Commit

Permalink
Move log depedency to workspace toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Sep 8, 2023
1 parent a74e21f commit 36dd007
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ prost-types = "0.12.0"

env_logger = "0.10.0"
err-derive = "0.3.1"
log = "0.4"

shadowsocks = { version = "1.16" }
shadowsocks-service = { version = "1.16" }
Expand Down
2 changes: 1 addition & 1 deletion mullvad-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ futures = "0.3"
http = "0.2"
hyper = { version = "0.14", features = ["client", "stream", "http1", "tcp" ] }
ipnetwork = "0.16"
log = "0.4"
log = { workspace = true }
serde = "1"
serde_json = "1.0"
tokio = { workspace = true, features = ["macros", "time", "rt-multi-thread", "net", "io-std", "io-util", "fs"] }
Expand Down
2 changes: 1 addition & 1 deletion mullvad-daemon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fern = { version = "0.6", features = ["colored"] }
futures = "0.3"
once_cell = "1.13"
libc = "0.2"
log = "0.4"
log = { workspace = true }
parking_lot = "0.12.0"
regex = "1.0"
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion mullvad-fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition.workspace = true
publish.workspace = true

[dependencies]
log = "0.4"
log = { workspace = true }
tokio = { workspace = true, features = ["fs", "rt"] }
uuid = { version = "1.4.1", features = ["v4"] }

Expand Down
2 changes: 1 addition & 1 deletion mullvad-jni/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ err-derive = { workspace = true }
futures = "0.3"
ipnetwork = "0.16"
jnix = { version = "0.5", features = ["derive"] }
log = "0.4"
log = { workspace = true }
log-panics = "2"
nix = "0.23"
rand = "0.8.5"
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 @@ -21,7 +21,7 @@ prost-types = { workspace = true }
parity-tokio-ipc = "0.9"
futures = "0.3"
tokio = { workspace = true, features = ["rt"] }
log = "0.4"
log = { workspace = true }

[target.'cfg(unix)'.dependencies]
nix = "0.23"
Expand Down
2 changes: 1 addition & 1 deletion mullvad-paths/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ publish.workspace = true
err-derive = { workspace = true }

[target.'cfg(not(target_os="android"))'.dependencies]
log = "0.4"
log = { workspace = true }

[target.'cfg(windows)'.dependencies]
widestring = "1.0"
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 @@ -12,7 +12,7 @@ publish.workspace = true
dirs = "5.0.1"
err-derive = { workspace = true }
once_cell = "1.13"
log = "0.4"
log = { workspace = true }
regex = "1.0"
uuid = { version = "1.4.1", features = ["v4"] }
tokio = { workspace = true, features = ["rt"] }
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 @@ -13,7 +13,7 @@ chrono = { workspace = true }
err-derive = { workspace = true }
futures = "0.3"
ipnetwork = "0.16"
log = "0.4"
log = { workspace = true }
parking_lot = "0.12.0"
rand = "0.8.5"
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion mullvad-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ chrono = { workspace = true, features = ["clock", "serde"] }
err-derive = { workspace = true }
ipnetwork = "0.16"
once_cell = "1.13"
log = "0.4"
log = { workspace = true }
regex = "1"
serde = { version = "1.0", features = ["derive"] }
uuid = { version = "1.4.1", features = ["v4", "serde" ] }
Expand Down
2 changes: 1 addition & 1 deletion talpid-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ futures = "0.3.15"
ipnetwork = "0.16"
once_cell = "1.13"
libc = "0.2"
log = "0.4"
log = { workspace = true }
parking_lot = "0.12.0"
talpid-routing = { path = "../talpid-routing" }
talpid-types = { path = "../talpid-types" }
Expand Down
2 changes: 1 addition & 1 deletion talpid-dbus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ publish.workspace = true
dbus = "0.9"
err-derive = { workspace = true }
once_cell = "1.13"
log = "0.4"
log = { workspace = true }
libc = "0.2"
tokio = { workspace = true, features = ["rt"] }
2 changes: 1 addition & 1 deletion talpid-openvpn-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ crate-type = ["cdylib"]

[dependencies]
err-derive = { workspace = true }
log = "0.4"
log = { workspace = true }
env_logger = { workspace = true }
parity-tokio-ipc = "0.9"
tokio = { workspace = true, features = ["rt"] }
Expand Down
2 changes: 1 addition & 1 deletion talpid-openvpn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ err-derive = { workspace = true }
futures = "0.3.15"
is-terminal = "0.4.2"
once_cell = "1.13"
log = "0.4"
log = { workspace = true }
os_pipe = "1.1.4"
parking_lot = "0.12.0"
shell-escape = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion talpid-routing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publish.workspace = true
err-derive = { workspace = true }
futures = "0.3.15"
ipnetwork = "0.16"
log = "0.4"
log = { workspace = true }
tokio = { workspace = true, features = ["process", "rt-multi-thread", "net"] }

[target.'cfg(not(target_os="android"))'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion talpid-tunnel-config-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition.workspace = true
publish.workspace = true

[dependencies]
log = "0.4"
log = { workspace = true }
rand = "0.8"
talpid-types = { path = "../talpid-types" }
tonic = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion talpid-tunnel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ nix = "0.23"

[target.'cfg(target_os = "android")'.dependencies]
jnix = { version = "0.5", features = ["derive"] }
log = "0.4"
log = { workspace = true }

[target.'cfg(target_os = "linux")'.dependencies]
tun = "0.5.1"
Expand Down
2 changes: 1 addition & 1 deletion talpid-wireguard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ hex = "0.4"
ipnetwork = "0.16"
once_cell = "1.13"
libc = "0.2"
log = "0.4"
log = { workspace = true }
parking_lot = "0.12.0"
talpid-routing = { path = "../talpid-routing" }
talpid-types = { path = "../talpid-types" }
Expand Down

0 comments on commit 36dd007

Please sign in to comment.