From c592e6d76fe4e00f4e7cdb8851526775dbeb96b4 Mon Sep 17 00:00:00 2001 From: Zhang Jingqiang Date: Fri, 5 Apr 2024 14:32:33 +0800 Subject: [PATCH] disable not working quic feature --- .github/workflows/linux-musl.yml | 2 +- g3bench/Cargo.toml | 2 +- g3proxy/Cargo.toml | 2 +- g3tiles/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux-musl.yml b/.github/workflows/linux-musl.yml index d6820f03e..a4dd8114d 100644 --- a/.github/workflows/linux-musl.yml +++ b/.github/workflows/linux-musl.yml @@ -20,7 +20,7 @@ on: env: CARGO_TERM_COLOR: always MUSL_TARGET: x86_64-unknown-linux-musl - MUSL_FEATURES: --no-default-features --features vendored-openssl,quic,vendored-c-ares,hickory + MUSL_FEATURES: --no-default-features --features vendored-openssl,vendored-c-ares,hickory jobs: build: diff --git a/g3bench/Cargo.toml b/g3bench/Cargo.toml index 768d6fe63..8ecfb708b 100644 --- a/g3bench/Cargo.toml +++ b/g3bench/Cargo.toml @@ -56,7 +56,7 @@ g3-hickory-client.workspace = true rustc_version.workspace = true [features] -default = ["quic"] +default = [] quic = ["g3-types/quic", "g3-socks/quic", "g3-io-ext/quic", "g3-hickory-client/quic", "dep:quinn", "dep:h3", "dep:h3-quinn"] vendored-openssl = ["openssl/vendored", "openssl-probe"] vendored-tongsuo = ["openssl/tongsuo", "openssl-probe", "g3-types/tongsuo"] diff --git a/g3proxy/Cargo.toml b/g3proxy/Cargo.toml index 44b0b9037..e1464c3aa 100644 --- a/g3proxy/Cargo.toml +++ b/g3proxy/Cargo.toml @@ -95,7 +95,7 @@ tokio-util = { workspace = true, features = ["io"] } rustc_version.workspace = true [features] -default = ["lua54", "python", "c-ares", "hickory", "quic"] +default = ["lua54", "python", "c-ares", "hickory"] lua = ["mlua"] luajit = ["lua", "mlua/luajit"] lua51 = ["lua", "mlua/lua51"] diff --git a/g3tiles/Cargo.toml b/g3tiles/Cargo.toml index 8789510c3..c9825c7e1 100644 --- a/g3tiles/Cargo.toml +++ b/g3tiles/Cargo.toml @@ -56,7 +56,7 @@ g3tiles-proto = { path = "proto" } rustc_version.workspace = true [features] -default = ["quic"] +default = [] quic = ["g3-daemon/quic", "dep:quinn"] vendored-openssl = ["openssl/vendored", "openssl-probe"] vendored-tongsuo = ["openssl/tongsuo", "openssl-probe", "g3-yaml/tongsuo", "g3-types/tongsuo"]