Skip to content

Commit

Permalink
Rewired wasm-rpc dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Dec 10, 2024
1 parent 5d6dab1 commit 521afe0
Show file tree
Hide file tree
Showing 17 changed files with 54 additions and 64 deletions.
70 changes: 30 additions & 40 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ members = [
"golem-worker-service",
"integration-tests",
"golem",
"wasm-ast"
"wasm-ast",
"wasm-rpc",
"wasm-rpc-stubgen"
]

exclude = [
Expand Down Expand Up @@ -103,13 +105,11 @@ fred = { version = "9.0.3", features = [
"serde-json",
"partial-tracing",
] }
fs_extra = "1.3.0"
futures = "0.3"
futures-core = "0.3.29"
futures-util = "0.3.29"
git-version = "0.3.9"
golem-wasm-rpc = { version = "1.1.0", default-features = false, features = [
"host",
] }
hex = "0.4.3"
http = "1.0.0" # keep in sync with wasmtime
http_02 = { package = "http", version = "0.2.11" }
Expand Down Expand Up @@ -181,7 +181,7 @@ testcontainers-modules = { version = "0.11.2", features = [
"redis",
"minio",
] }
test-r = "1.1.0"
test-r = { version = "1.1.0", default-features = true }
thiserror = "1.0.56"
tokio = { version = "1.0", features = [
"macros",
Expand Down
2 changes: 1 addition & 1 deletion golem-api-grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ harness = false

[dependencies]
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

async-trait = { workspace = true }
bincode = { workspace = true }
bytes = { workspace = true }
futures-core = { workspace = true }
golem-wasm-rpc = { workspace = true }
prost = { workspace = true }
prost-types = { workspace = true }
serde = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions golem-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ golem-client = { path = "../golem-client", version = "0.0.0" }
golem-common = { path = "../golem-common", version = "0.0.0" }
golem-rib = { path = "../golem-rib", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
golem-wasm-rpc-stubgen = { path = "../wasm-rpc-stubgen", version = "0.0.0", default-features = false, optional = true }

anyhow.workspace = true
assert2 = { workspace = true }
Expand All @@ -44,8 +46,6 @@ dirs = "5.0.1"
futures-util = { workspace = true }
glob = "0.3.1"
golem-examples = "1.1.0"
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc-stubgen = { version = "1.1.0", optional = true, default-features = false }
h2 = "0.3.24"
http = { workspace = true }
humansize = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion golem-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ harness = false
[dependencies]
golem-common = { path = "../golem-common", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

async-trait = { workspace = true }
bytes = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions golem-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ harness = false

[dependencies]
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-rib = { path = "../golem-rib", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-trait = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion golem-component-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ golem-component-service-base = { version = "0.0.0", path = "../golem-component-s
golem-service-base = { path = "../golem-service-base" }
golem-rib = {path = "../golem-rib"}
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-trait = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion golem-rib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ description = "Parser for Golem's Rib language"
[dependencies]
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

async-trait = { workspace = true }
bigdecimal = {workspace = true }
bincode = { workspace = true }
combine = { workspace = true }
golem-wasm-rpc = { workspace = true }
poem-openapi = { workspace = true }
semver = { workspace = true }
serde = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion golem-service-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ harness = false
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0" }
golem-common = { path = "../golem-common", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-fs = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion golem-test-framework/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0" }
golem-common = { path = "../golem-common", version = "0.0.0" }
golem-service-base = { path = "../golem-service-base", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-dropper = { version = "0.3.1", features = ["simple", "tokio"] }
Expand Down
2 changes: 1 addition & 1 deletion golem-worker-executor-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ golem-common = { path = "../golem-common", version = "0.0.0" }
golem-rib = { path = "../golem-rib", version = "0.0.0" }
golem-service-base = { path = "../golem-service-base", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-fs = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion golem-worker-executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test = false
[dependencies]
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0" }
golem-common = { path = "../golem-common", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
golem-worker-executor-base = { path = "../golem-worker-executor-base", version = "0.0.0" }

anyhow = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion golem-worker-service-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ golem-api-grpc = { path = "../golem-api-grpc" }
golem-service-base = { path = "../golem-service-base" }
golem-rib = { path = "../golem-rib" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-trait = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion golem-worker-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ golem-common = { path = "../golem-common" }
golem-service-base = { path = "../golem-service-base" }
golem-rib = {path = "../golem-rib"}
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
golem-worker-service-base = { path = "../golem-worker-service-base" }

anyhow = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ autotests = false
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0" }
golem-common = { path = "../golem-common", version = "0.0.0" }
golem-test-framework = { path = "../golem-test-framework", version = "0.0.0" }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
assert2 = { workspace = true }
async-trait = { workspace = true }
axum = { workspace = true }
clap = { workspace = true }
console-subscriber = { workspace = true }
golem-wasm-rpc = { workspace = true }
plotters = "0.3.6"
poem = { workspace = true }
rand = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions wasm-rpc-stubgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ colored = "2.1.0"
dir-diff = "0.3.3"
fs_extra = { workspace = true }
glob = "0.3.1"
golem-wasm-ast = { workspace = true }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
heck = "0.5.0"
id-arena = "2.2.1"
indexmap = "2.2.6"
Expand Down
Loading

0 comments on commit 521afe0

Please sign in to comment.