Skip to content

Commit

Permalink
refactor(catalogs/rest): Split user config and runtime config (apache…
Browse files Browse the repository at this point in the history
…#431)

* refactor(catalogs/rest): Split user config and runtime config

Signed-off-by: Xuanwo <github@xuanwo.io>

* Sort cargo

Signed-off-by: Xuanwo <github@xuanwo.io>

* Fix unit tests

Signed-off-by: Xuanwo <github@xuanwo.io>

* Remove default feature of tokio

Signed-off-by: Xuanwo <github@xuanwo.io>

* return error here

Signed-off-by: Xuanwo <github@xuanwo.io>

* Return error if cred doesn't exist

Signed-off-by: Xuanwo <github@xuanwo.io>

---------

Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored and shaeqahmed committed Dec 9, 2024
1 parent 34eb4f1 commit 280e2ee
Show file tree
Hide file tree
Showing 9 changed files with 688 additions and 463 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
[workspace]
resolver = "2"
members = [
"crates/catalog/*",
"crates/examples",
"crates/iceberg",
"crates/integrations/*",
"crates/test_utils",
"crates/catalog/*",
"crates/examples",
"crates/iceberg",
"crates/integrations/*",
"crates/test_utils",
]

[workspace.package]
Expand Down Expand Up @@ -81,7 +81,7 @@ serde_json = "^1.0"
serde_repr = "0.1.16"
serde_with = "3.4.0"
tempfile = "3.8"
tokio = { version = "1", features = ["macros"] }
tokio = { version = "1", default-features = false }
typed-builder = "^0.18"
url = "2"
urlencoding = "2"
Expand Down
2 changes: 2 additions & 0 deletions crates/catalog/rest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ keywords = ["iceberg", "rest", "catalog"]
# async-trait = { workspace = true }
async-trait = { workspace = true }
chrono = { workspace = true }
http = "1.1.0"
iceberg = { workspace = true }
itertools = { workspace = true }
log = "0.4.20"
reqwest = { workspace = true }
serde = { workspace = true }
serde_derive = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["sync"] }
typed-builder = { workspace = true }
urlencoding = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
Expand Down
Loading

0 comments on commit 280e2ee

Please sign in to comment.