Skip to content

Commit ce9f1d8

Browse files
committed
build(hf): switch to use github branch as xet-core optional dependency
1 parent f7ecc12 commit ce9f1d8

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

core/Cargo.lock

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/services/huggingface/Cargo.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,15 @@ sha2 = "0.10"
5555
tempfile = "3"
5656

5757
# XET storage protocol support (optional)
58+
async-trait = { version = "0.1", optional = true }
59+
cas_types = { git = "https://github.com/kszucs/xet-core", branch = "download_bytes", optional = true }
60+
futures = { workspace = true, optional = true }
5861
reqwest = { version = "0.12", default-features = false, features = [
5962
"rustls-tls",
6063
], optional = true }
61-
# xet-data = { package = "data", git = "https://github.com/huggingface/xet-core", optional = true }
62-
# cas_types = { git = "https://github.com/huggingface/xet-core", optional = true }
63-
# xet-utils = { package = "utils", git = "https://github.com/huggingface/xet-core", optional = true }
64-
async-trait = { version = "0.1", optional = true }
65-
cas_types = { path = "/Users/kszucs/Workspace/xet-core/cas_types", optional = true }
66-
futures = { workspace = true, optional = true }
6764
tokio = { workspace = true, features = ["sync", "rt"], optional = true }
68-
xet-data = { package = "data", path = "/Users/kszucs/Workspace/xet-core/data", optional = true }
69-
xet-utils = { package = "utils", path = "/Users/kszucs/Workspace/xet-core/utils", optional = true }
65+
xet-data = { package = "data", git = "https://github.com/kszucs/xet-core", branch = "download_bytes", optional = true }
66+
xet-utils = { package = "utils", git = "https://github.com/kszucs/xet-core", branch = "download_bytes", optional = true }
7067

7168
[dev-dependencies]
7269
futures = { workspace = true }

0 commit comments

Comments
 (0)