This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new 358187f  chores: Manage dependencies using workspace (#93)
358187f is described below

commit 358187fca8ac62165cff03733e46d7da3cb373c2
Author: yi wang <48236141+my-vegetable-has-explo...@users.noreply.github.com>
AuthorDate: Mon Nov 13 16:29:48 2023 +0800

    chores: Manage dependencies using workspace (#93)
---
 Cargo.toml                     | 38 ++++++++++++++++++++++++
 crates/catalog/rest/Cargo.toml | 25 ++++++++--------
 crates/iceberg/Cargo.toml      | 66 +++++++++++++++++++++---------------------
 3 files changed, 84 insertions(+), 45 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index e8e0473..dab9884 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,3 +18,41 @@
 [workspace]
 resolver = "2"
 members = ["crates/catalog/*", "crates/iceberg"]
+
+[workspace.dependencies]
+anyhow = "1.0.72"
+apache-avro = "0.16"
+arrow-arith = { version = ">=46" }
+arrow-array = { version = ">=46" }
+arrow-schema = { version = ">=46" }
+async-trait = "0.1"
+bimap = "0.6"
+bitvec = "1.0.1"
+chrono = "0.4"
+derive_builder = "0.12.0"
+either = "1"
+futures = "0.3"
+iceberg = { path = "./crates/iceberg" }
+iceberg-catalog-rest = { path = "./crates/catalog/rest" }
+itertools = "0.11"
+lazy_static = "1"
+log = "^0.4"
+mockito = "^1"
+murmur3 = "0.5.2"
+once_cell = "1"
+opendal = "0.41"
+ordered-float = "4.0.0"
+pretty_assertions = "1.4.0"
+reqwest = { version = "^0.11", features = ["json"] }
+rust_decimal = "1.31.0"
+serde = { version = "^1.0", features = ["rc"] }
+serde_bytes = "0.11.8"
+serde_derive = "^1.0"
+serde_json = "^1.0"
+serde_repr = "0.1.16"
+tempdir = "0.3"
+tokio = { version = "1", features = ["macros"] }
+typed-builder = "^0.18"
+url = "2"
+urlencoding = "2"
+uuid = "1.5.0"
diff --git a/crates/catalog/rest/Cargo.toml b/crates/catalog/rest/Cargo.toml
index 86bb71c..43e2ae6 100644
--- a/crates/catalog/rest/Cargo.toml
+++ b/crates/catalog/rest/Cargo.toml
@@ -27,17 +27,18 @@ license = "Apache-2.0"
 keywords = ["iceberg", "rest", "catalog"]
 
 [dependencies]
-async-trait = "0.1"
-chrono = "0.4"
-iceberg = { path = "../../iceberg" }
-reqwest = { version = "^0.11", features = ["json"] }
-serde = { version = "^1.0", features = ["rc"] }
-serde_derive = "^1.0"
-serde_json = "^1.0"
-typed-builder = "^0.18"
-urlencoding = "2"
-uuid = { version = "1.5.0", features = ["v4"] }
+# async-trait = { workspace = true }
+async-trait = { workspace = true }
+chrono = { workspace = true }
+iceberg = { workspace = true }
+reqwest = { workspace = true }
+serde = { workspace = true }
+serde_derive = { workspace = true }
+serde_json = { workspace = true }
+typed-builder = { workspace = true }
+urlencoding = { workspace = true }
+uuid = { workspace = true, features = ["v4"] }
 
 [dev-dependencies]
-mockito = "^1"
-tokio = { version = "1", features = ["macros"] }
+mockito = { workspace = true }
+tokio = { workspace = true }
diff --git a/crates/iceberg/Cargo.toml b/crates/iceberg/Cargo.toml
index 871304c..e70d0d7 100644
--- a/crates/iceberg/Cargo.toml
+++ b/crates/iceberg/Cargo.toml
@@ -27,38 +27,38 @@ license = "Apache-2.0"
 keywords = ["iceberg"]
 
 [dependencies]
-anyhow = "1.0.72"
-apache-avro = "0.16"
-arrow-arith = { version = ">=46" }
-arrow-array = { version = ">=46" }
-arrow-schema = { version = ">=46" }
-async-trait = "0.1"
-bimap = "0.6"
-bitvec = "1.0.1"
-chrono = "0.4"
-derive_builder = "0.12.0"
-either = "1"
-futures = "0.3"
-itertools = "0.11"
-lazy_static = "1"
-log = "^0.4"
-murmur3 = "0.5.2"
-once_cell = "1"
-opendal = "0.41"
-ordered-float = "4.0.0"
-reqwest = { version = "^0.11", features = ["json"] }
-rust_decimal = "1.31.0"
-serde = { version = "^1.0", features = ["rc"] }
-serde_bytes = "0.11.8"
-serde_derive = "^1.0"
-serde_json = "^1.0"
-serde_repr = "0.1.16"
-typed-builder = "^0.17"
-url = "2"
-urlencoding = "2"
-uuid = "1.4.1"
+anyhow = { workspace = true }
+apache-avro = { workspace = true }
+arrow-arith = { workspace = true }
+arrow-array = { workspace = true }
+arrow-schema = { workspace = true }
+async-trait = { workspace = true }
+bimap = { workspace = true }
+bitvec = { workspace = true }
+chrono = { workspace = true }
+derive_builder = { workspace = true }
+either = { workspace = true }
+futures = { workspace = true }
+itertools = { workspace = true }
+lazy_static = { workspace = true }
+log = { workspace = true }
+murmur3 = { workspace = true }
+once_cell = { workspace = true }
+opendal = { workspace = true }
+ordered-float = { workspace = true }
+reqwest = { workspace = true }
+rust_decimal = { workspace = true }
+serde = { workspace = true }
+serde_bytes = { workspace = true }
+serde_derive = { workspace = true }
+serde_json = { workspace = true }
+serde_repr = { workspace = true }
+typed-builder = { workspace = true }
+url = { workspace = true }
+urlencoding = { workspace = true }
+uuid = { workspace = true }
 
 [dev-dependencies]
-pretty_assertions = "1.4.0"
-tempdir = "0.3"
-tokio = { version = "1", features = ["macros"] }
+pretty_assertions = { workspace = true }
+tempdir = { workspace = true }
+tokio = { workspace = true }

Reply via email to