Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #95 from golemcloud/wit-transforms
Browse files Browse the repository at this point in the history
Reworked app manifest
  • Loading branch information
noise64 authored Dec 3, 2024
2 parents 12921e5 + 28344b8 commit 165f29c
Show file tree
Hide file tree
Showing 66 changed files with 6,730 additions and 4,134 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
run: cargo test --tests --package wasm-rpc-stubgen-tests-integration -- --test-threads=1 --format junit --logfile target/report.xml
- name: Build in stub mode
run: cargo component build -p golem-wasm-rpc --no-default-features --features stub
- name: Build stubgen without default features
run: cargo build -p golem-wasm-rpc-stubgen --no-default-features
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
Expand Down
85 changes: 68 additions & 17 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ lto = true
opt-level = 's'

[workspace.dependencies]
assert2 = "0.3.15"
fs_extra = "1.3.0"
golem-wasm-ast = "1.0.1"
tempfile = "3.12.0"
test-r = { version = "0.0.11", default-features = false }
test-r = { version = "0.0.13", default-features = false }
tokio = "1.38.0"
18 changes: 12 additions & 6 deletions wasm-rpc-stubgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ repository = "https://github.com/golemcloud/wasm-rpc"
description = "Golem WASM RPC stub generator"

[features]
unstable-dec-dep = []
default = ["app-command"]
app-command = []

[lib]
name = "golem_wasm_rpc_stubgen"
Expand All @@ -30,12 +31,12 @@ harness = false

[dependencies]
anyhow = "1.0.79"
assert2 = "0.3.15"
assert2 = { workspace = true }
cargo-component = "=0.13.2"
cargo-component-core = "=0.13.2"
cargo_toml = "0.20.2"
clap = { version = "4.5.7", features = ["derive"] }
colored = "2.1.0"
cargo-component-core = "=0.13.2"
cargo-component = "=0.13.2"
dir-diff = "0.3.3"
fs_extra = { workspace = true }
glob = "0.3.1"
Expand All @@ -44,23 +45,28 @@ golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0" }
heck = "0.5.0"
id-arena = "2.2.1"
indexmap = "2.2.6"
indoc = "2.0.5"
itertools = "0.12.1"
minijinja = "2.5.0"
pretty_env_logger = "0.5.0"
prettyplease = "0.2.20"
proc-macro2 = "1.0.85"
quote = "1.0.36"
regex = "1.10.4"
semver = "1.0.23"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.128"
serde_yaml = "0.9.33"
syn = "2.0.66"
tempfile = { workspace = true }
tokio = { workspace = true }
toml = "0.8.14"
wac-graph = "=0.6.1"
walkdir = "2.5.0"
wac-graph = "0.6.0"
wit-bindgen-rust = "=0.26.0"
wit-parser = "=0.219.0"
wit-encoder = "=0.221.2"
wit-parser = "=0.221.2"


[dev-dependencies]
test-r = { workspace = true }
30 changes: 0 additions & 30 deletions wasm-rpc-stubgen/example/deps/dep1/dep1.wit

This file was deleted.

5 changes: 0 additions & 5 deletions wasm-rpc-stubgen/example/deps/dep2/dep2.wit

This file was deleted.

Loading

0 comments on commit 165f29c

Please sign in to comment.