summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSebastian Holmin <sebastian.holmin@mullvad.net>2025-02-07 16:16:07 +0100
committerSebastian Holmin <sebastian.holmin@mullvad.net>2025-02-12 10:15:09 +0100
commit597a54a9e65b932c8dfaa9d8491da7eaa27eee96 (patch)
tree721e0d0a69957efd4cec72f3d4a2955884c3ed39
parent5265d3c40c36f4df705d2bc4e47a0b07c4442d61 (diff)
downloadmullvadvpn-597a54a9e65b932c8dfaa9d8491da7eaa27eee96.tar.xz
mullvadvpn-597a54a9e65b932c8dfaa9d8491da7eaa27eee96.zip
Format `.toml` files
-rw-r--r--Cargo.toml89
-rw-r--r--test/Cargo.toml16
-rw-r--r--wireguard-go-rs/Cargo.toml7
3 files changed, 61 insertions, 51 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f76fdf682a..c38ed48ce7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,54 +9,50 @@ rust-version = "1.80.0"
[workspace]
resolver = "2"
members = [
- "android/translations-converter",
- "desktop/packages/nseventforwarder",
- "desktop/packages/win-shortcuts",
- "mullvad-api",
- "mullvad-cli",
- "mullvad-daemon",
- "mullvad-encrypted-dns-proxy",
- "mullvad-exclude",
- "mullvad-fs",
- "mullvad-ios",
- "mullvad-jni",
- "mullvad-leak-checker",
- "mullvad-management-interface",
- "mullvad-nsis",
- "mullvad-paths",
- "mullvad-problem-report",
- "mullvad-relay-selector",
- "mullvad-setup",
- "mullvad-types",
- "mullvad-types/intersection-derive",
- "mullvad-version",
- "talpid-core",
- "talpid-dbus",
- "talpid-future",
- "talpid-macos",
- "talpid-net",
- "talpid-openvpn",
- "talpid-openvpn-plugin",
- "talpid-platform-metadata",
- "talpid-routing",
- "talpid-time",
- "talpid-tunnel",
- "talpid-tunnel-config-client",
- "talpid-windows",
- "talpid-wireguard",
- "tunnel-obfuscation",
- "wireguard-go-rs",
- "windows-installer",
+ "android/translations-converter",
+ "desktop/packages/nseventforwarder",
+ "desktop/packages/win-shortcuts",
+ "mullvad-api",
+ "mullvad-cli",
+ "mullvad-daemon",
+ "mullvad-encrypted-dns-proxy",
+ "mullvad-exclude",
+ "mullvad-fs",
+ "mullvad-ios",
+ "mullvad-jni",
+ "mullvad-leak-checker",
+ "mullvad-management-interface",
+ "mullvad-nsis",
+ "mullvad-paths",
+ "mullvad-problem-report",
+ "mullvad-relay-selector",
+ "mullvad-setup",
+ "mullvad-types",
+ "mullvad-types/intersection-derive",
+ "mullvad-version",
+ "talpid-core",
+ "talpid-dbus",
+ "talpid-future",
+ "talpid-macos",
+ "talpid-net",
+ "talpid-openvpn",
+ "talpid-openvpn-plugin",
+ "talpid-platform-metadata",
+ "talpid-routing",
+ "talpid-time",
+ "talpid-tunnel",
+ "talpid-tunnel-config-client",
+ "talpid-windows",
+ "talpid-wireguard",
+ "tunnel-obfuscation",
+ "wireguard-go-rs",
+ "windows-installer",
]
# Default members dictate what is built when running `cargo build` in the root directory.
# This is set to a minimal set of packages to speed up the build process and avoid building
# crates which might not compile without additional input, such as the `windows-installer` crate.
# To build or test everything, add `--workspace` to your cargo commands.
-default-members = [
- "mullvad-cli",
- "mullvad-daemon",
- "mullvad-version",
-]
+default-members = ["mullvad-cli", "mullvad-daemon", "mullvad-version"]
# Keep all lints in sync with `test/Cargo.toml`
[workspace.lints.rust]
@@ -93,7 +89,12 @@ tonic-build = { version = "0.10.0", default-features = false }
tower = { version = "0.5.1", features = ["util"] }
prost = "0.13.3"
prost-types = "0.13.3"
-hyper-util = {version = "0.1.8", features = ["client", "client-legacy", "http2", "http1"]}
+hyper-util = { version = "0.1.8", features = [
+ "client",
+ "client-legacy",
+ "http2",
+ "http1",
+] }
env_logger = "0.10.0"
thiserror = "2.0"
diff --git a/test/Cargo.toml b/test/Cargo.toml
index ed84327bf9..cc14ef15c8 100644
--- a/test/Cargo.toml
+++ b/test/Cargo.toml
@@ -8,11 +8,11 @@ rust-version = "1.80.0"
[workspace]
resolver = "2"
members = [
- "test-manager",
- "test-runner",
- "test-rpc",
- "socks-server",
- "connection-checker",
+ "test-manager",
+ "test-runner",
+ "test-rpc",
+ "socks-server",
+ "connection-checker",
]
# Keep all lints in sync with `../Cargo.toml`
@@ -60,7 +60,11 @@ tower = "0.5.1"
prost = "0.13.3"
prost-types = "0.13.3"
tarpc = { version = "0.30", features = ["tokio1", "serde-transport", "serde1"] }
-hyper-util = {version = "0.1.8", features = ["client", "client-legacy", "http2"]}
+hyper-util = { version = "0.1.8", features = [
+ "client",
+ "client-legacy",
+ "http2",
+] }
# Logging
env_logger = "0.11.0"
diff --git a/wireguard-go-rs/Cargo.toml b/wireguard-go-rs/Cargo.toml
index 37b9639778..8a7404cffd 100644
--- a/wireguard-go-rs/Cargo.toml
+++ b/wireguard-go-rs/Cargo.toml
@@ -23,4 +23,9 @@ zeroize = "1.8.1"
maybenot-ffi = "2.0.1"
[target.'cfg(target_os = "windows")'.dependencies]
-windows-sys = { version = "0.52.0", features = ["Win32_Networking", "Win32_NetworkManagement", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock"] }
+windows-sys = { version = "0.52.0", features = [
+ "Win32_Networking",
+ "Win32_NetworkManagement",
+ "Win32_NetworkManagement_Ndis",
+ "Win32_Networking_WinSock",
+] }