Skip to content

Commit a77c25a

Browse files
committed
feat(push): allow pushing composed components to registry
Signed-off-by: Brian H <[email protected]>
1 parent 6571862 commit a77c25a

File tree

7 files changed

+233
-42
lines changed

7 files changed

+233
-42
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ wasmtime = "25.0.3"
155155
wasmtime-wasi = "25.0.0"
156156
wasmtime-wasi-http = "25.0.0"
157157

158+
wasm-encoder = "0.217"
159+
wasm-metadata = "0.217"
160+
wasmparser = "0.217"
161+
wit-component = "0.217"
162+
wit-parser = "0.217"
163+
158164
spin-componentize = { path = "crates/componentize" }
159165

160166
[workspace.lints.clippy]

crates/componentize/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ rust-version.workspace = true
1111
[dependencies]
1212
anyhow = { workspace = true }
1313
tracing = { workspace = true }
14-
wasm-encoder = "0.217"
15-
wasm-metadata = "0.217"
16-
wasmparser = "0.217"
17-
wit-component = "0.217"
18-
wit-parser = "0.217"
14+
wasm-encoder = { workspace = true }
15+
wasm-metadata = { workspace = true }
16+
wasmparser = { workspace = true }
17+
wit-component = { workspace = true }
18+
wit-parser = { workspace = true }
1919

2020
[dev-dependencies]
2121
async-trait = { workspace = true }

crates/oci/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ edition = { workspace = true }
88
anyhow = { workspace = true }
99
async-compression = { version = "0.4", features = ["gzip", "tokio"] }
1010
async-tar = "0.5"
11+
async-trait = { workspace = true }
1112
base64 = "0.22"
1213
chrono = "0.4"
1314
# Fork with updated auth to support ACR login
@@ -22,10 +23,17 @@ reqwest = "0.12"
2223
serde = { workspace = true }
2324
serde_json = { workspace = true }
2425
spin-common = { path = "../common" }
26+
spin-componentize = { path = "../componentize" }
27+
spin-compose = { path = "../compose" }
2528
spin-loader = { path = "../loader" }
2629
spin-locked-app = { path = "../locked-app" }
2730
tempfile = { workspace = true }
2831
tokio = { workspace = true, features = ["fs"] }
2932
tokio-util = { version = "0.7", features = ["compat"] }
3033
tracing = { workspace = true }
3134
walkdir = "2"
35+
36+
[dev-dependencies]
37+
wasm-encoder = { workspace = true }
38+
wit-component = { workspace = true, features = ["dummy-module"] }
39+
wit-parser = { workspace = true }

0 commit comments

Comments
 (0)