From 17af098baf4fb0f3be7888da8ddca9e5cb3fdca3 Mon Sep 17 00:00:00 2001 From: Marcin Anforowicz Date: Fri, 7 Jun 2024 08:59:00 -0700 Subject: [PATCH] Added socket2 all flag. Hopefully this makes it work on windows --- .github/workflows/ci.yml | 4 ++-- gday_hole_punch/Cargo.toml | 2 +- gday_server/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d12a9d..fca5254 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,9 @@ jobs: strategy: matrix: toolchain: - - stable + # - stable - beta - - nightly + # - nightly steps: - uses: actions/checkout@v3 diff --git a/gday_hole_punch/Cargo.toml b/gday_hole_punch/Cargo.toml index 3f144e8..8525bc3 100644 --- a/gday_hole_punch/Cargo.toml +++ b/gday_hole_punch/Cargo.toml @@ -18,7 +18,7 @@ log = "0.4.21" rand = "0.8.5" rustls = { version = "0.23.9", features = ["ring", "log", "logging", "std", "tls12"], default-features = false } serde = "1.0.203" -socket2 = "0.5.7" +socket2 = { version = "0.5.7", features = ["all"] } spake2 = { version = "0.4.0", features = ["std"] } thiserror = "1.0.61" tokio = { version = "1.38.0", features = ["net", "rt", "time"] } diff --git a/gday_server/Cargo.toml b/gday_server/Cargo.toml index e6af405..c14bb55 100644 --- a/gday_server/Cargo.toml +++ b/gday_server/Cargo.toml @@ -13,7 +13,7 @@ repository.workspace = true [dependencies] clap = { version = "4.5.4", features = ["derive"] } -socket2 = "0.5.7" +socket2 = { version = "0.5.7", features = ["all"] } tokio = { version = "1.38.0", features = [ "rt-multi-thread", "macros",