From 5a388d75240563f05bc5742d88d1325acea888a8 Mon Sep 17 00:00:00 2001 From: Sherlock Holo Date: Sat, 31 May 2025 23:33:53 +0800 Subject: [PATCH] refactor: change compio features compio should only enable the runtime feature, and just enable the io-uring feature in aya-log test --- aya-log/Cargo.toml | 1 + aya/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/aya-log/Cargo.toml b/aya-log/Cargo.toml index 42e8c1b8..6e203a84 100644 --- a/aya-log/Cargo.toml +++ b/aya-log/Cargo.toml @@ -32,6 +32,7 @@ async-global-executor = { workspace = true, optional = true } compio = { workspace = true, optional = true } [dev-dependencies] +compio = { workspace = true, features = ["io-uring"] } env_logger = { workspace = true } testing_logger = { workspace = true } diff --git a/aya/Cargo.toml b/aya/Cargo.toml index e41d85ea..5062ac93 100644 --- a/aya/Cargo.toml +++ b/aya/Cargo.toml @@ -22,7 +22,7 @@ async-io = { workspace = true, optional = true } aya-obj = { path = "../aya-obj", version = "^0.2.1", features = ["std"] } bitflags = { workspace = true } bytes = { workspace = true } -compio = { workspace = true, optional = true, features = ["default"] } +compio = { workspace = true, optional = true, features = ["runtime"] } hashbrown = { workspace = true } libc = { workspace = true } log = { workspace = true }