From 065769cdb90c7f0924169ecb2f09c5f867792b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=87=E9=80=B8?= Date: Tue, 12 Nov 2024 15:22:02 +0900 Subject: [PATCH] test(quic): fix dep for illumos --- .github/workflows/ci_test_illumos.yml | 2 +- compio-quic/Cargo.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_test_illumos.yml b/.github/workflows/ci_test_illumos.yml index 7d143ed3..a22e0b7d 100644 --- a/.github/workflows/ci_test_illumos.yml +++ b/.github/workflows/ci_test_illumos.yml @@ -1,4 +1,4 @@ -name: TestSolaris +name: TestIllumos on: push: diff --git a/compio-quic/Cargo.toml b/compio-quic/Cargo.toml index bceb11ce..647f7d6e 100644 --- a/compio-quic/Cargo.toml +++ b/compio-quic/Cargo.toml @@ -51,13 +51,15 @@ compio-runtime = { workspace = true, features = ["criterion"] } criterion = { workspace = true, features = ["async_tokio"] } http = "1.1.0" -quinn = "0.11.5" rand = { workspace = true } rcgen = "0.13.1" socket2 = { workspace = true, features = ["all"] } tokio = { workspace = true, features = ["rt", "macros"] } tracing-subscriber = { workspace = true, features = ["env-filter"] } +[target.'cfg(not(any(target_os = "illumos", target_os = "solaris")))'.dev-depedencies] +quinn = "0.11.5" + [features] default = [] io-compat = ["futures-util/io"]