Skip to content

Commit

Permalink
chores: Manage dependencies using workspace (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
my-vegetable-has-exploded authored Nov 13, 2023
1 parent e26bda3 commit 358187f
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 45 deletions.
38 changes: 38 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
25 changes: 13 additions & 12 deletions crates/catalog/rest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
66 changes: 33 additions & 33 deletions crates/iceberg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit 358187f

Please sign in to comment.