Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 44 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ name = "componentize_go"
crate-type = ["cdylib", "rlib"]

[workspace]
members = ["./tests"]
members = ["./tests", "crates/core"]

[workspace.dependencies]
anyhow = "1.0.103"
bzip2 = "0.6.1"
componentize-go-core = { path = "crates/core" }
once_cell = "1.21.3"
reqwest = { version = "0.13.4", features = ["blocking"] }
tar = "0.4.46"
wit-bindgen-go = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "d3ebba0957500bf3edb200a89e70555545d92f6c" }
wit-component = "0.254.0"
wit-parser = "0.254.0"

[workspace.package]
version = "0.4.1"
Expand All @@ -40,14 +44,13 @@ allow_attributes_without_reason = 'warn'
[dependencies]
anyhow = { workspace = true }
bzip2 = { workspace = true }
componentize-go-core = { workspace = true }
reqwest = { workspace = true }
tar = { workspace = true }
clap = { version = "4.6.1", features = ["derive"] }
regex = "1.12.4"
serde = { version = "1.0.228", features = ["derive"] }
toml = "1.1.0"
wit-bindgen-go = { git = "https://github.com/bytecodealliance/wit-bindgen", rev = "d3ebba0957500bf3edb200a89e70555545d92f6c" }
wit-component = "0.254.0"
wit-parser = "0.254.0"
wit-parser = { workspace = true }
which = "8.0.4"
dirs = "6.0.0"
23 changes: 23 additions & 0 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "componentize-go-core"
description = """
The filesystem- and subprocess-free core of componentize-go: WIT resolution, Go
bindings generation, WIT metadata embedding, and component encoding. Everything
here is a pure byte transform, so it compiles to wasm as well as to native.
"""
version = { workspace = true }
edition = { workspace = true }

[lints]
workspace = true

[dependencies]
anyhow = { workspace = true }
# Versioned in lockstep with wasmtime; keep aligned with the wasmtime used in
# `tests/`. The adapter this replaces was checked in at 46 while wasmtime had
# already moved to 47, so sourcing it here also corrects that drift.
wasi-preview1-component-adapter-provider = "47"
wat = "1.253.0"
wit-bindgen-go = { workspace = true }
wit-component = { workspace = true }
wit-parser = { workspace = true }
Loading