From dfa2f67b31a1db058f6149db5083fc4bc55455a3 Mon Sep 17 00:00:00 2001 From: Ray Liu Date: Mon, 7 Apr 2025 21:03:08 +0800 Subject: [PATCH 1/2] Change tokio feature Signed-off-by: Ray Liu --- crates/iceberg/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/iceberg/Cargo.toml b/crates/iceberg/Cargo.toml index 27fde307e1..e32240a26f 100644 --- a/crates/iceberg/Cargo.toml +++ b/crates/iceberg/Cargo.toml @@ -38,7 +38,7 @@ storage-s3 = ["opendal/services-s3"] storage-gcs = ["opendal/services-gcs"] async-std = ["dep:async-std"] -tokio = ["dep:tokio"] +tokio = ["tokio/full"] [dependencies] anyhow = { workspace = true } @@ -80,7 +80,7 @@ serde_json = { workspace = true } serde_repr = { workspace = true } serde_with = { workspace = true } thrift = { workspace = true } -tokio = { workspace = true, optional = true, features = ["sync"] } +tokio = { workspace = true, optional = false, features = ["sync"] } typed-builder = { workspace = true } url = { workspace = true } uuid = { workspace = true } From 078763b45816eea6f5c42e85912188216f0723a1 Mon Sep 17 00:00:00 2001 From: Ray Liu Date: Tue, 8 Apr 2025 20:57:37 +0800 Subject: [PATCH 2/2] Use rt multi thread Signed-off-by: Ray Liu --- crates/iceberg/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iceberg/Cargo.toml b/crates/iceberg/Cargo.toml index e32240a26f..5dd2a4f671 100644 --- a/crates/iceberg/Cargo.toml +++ b/crates/iceberg/Cargo.toml @@ -38,7 +38,7 @@ storage-s3 = ["opendal/services-s3"] storage-gcs = ["opendal/services-gcs"] async-std = ["dep:async-std"] -tokio = ["tokio/full"] +tokio = ["tokio/rt-multi-thread"] [dependencies] anyhow = { workspace = true }