Skip to content

Commit

Permalink
refactor: Move package build + publish logic to registry
Browse files Browse the repository at this point in the history
Moves the logic for converting a wasmer.toml package file into a tar.gz
and publishing it to the backend into the wasmer_registry crate.
  • Loading branch information
theduke committed Mar 28, 2023
1 parent 34dcb3f commit 7275357
Show file tree
Hide file tree
Showing 12 changed files with 696 additions and 641 deletions.
17 changes: 9 additions & 8 deletions Cargo.lock

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

8 changes: 1 addition & 7 deletions lib/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@ wasmer-wasix-experimental-io-devices = { version = "0.1.0", path = "../wasi-expe
wasmer-wast = { version = "=3.2.0-beta.1", path = "../../tests/lib/wast", optional = true }
wasmer-cache = { version = "=3.2.0-beta.1", path = "../cache", features = ["blake3-pure"] }
wasmer-types = { version = "=3.2.0-beta.1", path = "../types", features = ["enable-serde"] }
wasmer-registry = { version = "4.1.0", path = "../registry" }
wasmer-registry = { version = "4.1.0", path = "../registry", features = ["build-package"] }
wasmer-object = { version = "=3.2.0-beta.1", path = "../object", optional = true }
virtual-fs = { version = "0.1.0", path = "../vfs", default-features = false, features = ["host-fs"] }
virtual-net = { version = "0.1.0", path = "../vnet" }
wasmer-wasm-interface = { version = "3.2.0-beta.1", path = "../wasm-interface" }
wasmparser = "0.51.4"
atty = "0.2"
colored = "2.0"
anyhow = "1.0"
Expand Down Expand Up @@ -76,14 +74,10 @@ tldextract = "0.6.0"
hex = "0.4.3"
flate2 = "1.0.25"
cargo_metadata = "0.15.2"
rusqlite = { version = "0.28.0", features = ["bundled"] }
tar = "0.4.38"
thiserror = "1.0.37"
time = { version = "0.3.17", default-features = false, features = ["parsing", "std", "formatting"] }
log = "0.4.17"
minisign = "0.7.2"
semver = "1.0.14"
rpassword = "7.2.0"
pathdiff = "0.2.1"
sha2 = "0.10.6"
object = "0.30.0"
Expand Down
Loading

0 comments on commit 7275357

Please sign in to comment.