Skip to content

Commit

Permalink
Pinned internal dependencies (#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo authored Jan 22, 2025
1 parent d22a30c commit 96d39d8
Show file tree
Hide file tree
Showing 20 changed files with 84 additions and 84 deletions.
4 changes: 2 additions & 2 deletions golem-api-grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ description = "GRPC API for Golem services"
harness = false

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

async-trait = { workspace = true }
bincode = { workspace = true }
Expand Down
16 changes: 8 additions & 8 deletions golem-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ path = "tests/main.rs"
harness = false

[dependencies]
golem-client = { path = "../golem-client", version = "0.0.0" }
golem-common = { path = "../golem-common", version = "0.0.0", default-features = false }
golem-rib = { path = "../golem-rib", version = "0.0.0", default-features = false }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0", default-features = false, features = ["analysis"] }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false }
golem-wasm-rpc-stubgen = { path = "../wasm-rpc-stubgen", version = "0.0.0" }
golem-client = { path = "../golem-client", version = "=0.0.0" }
golem-common = { path = "../golem-common", version = "=0.0.0", default-features = false }
golem-rib = { path = "../golem-rib", version = "=0.0.0", default-features = false }
golem-wasm-ast = { path = "../wasm-ast", version = "=0.0.0", default-features = false, features = ["analysis"] }
golem-wasm-rpc = { path = "../wasm-rpc", version = "=0.0.0", default-features = false }
golem-wasm-rpc-stubgen = { path = "../wasm-rpc-stubgen", version = "=0.0.0" }

anyhow.workspace = true
assert2 = { workspace = true }
Expand All @@ -45,7 +45,7 @@ derive_more = { workspace = true }
dirs = "5.0.1"
futures-util = { workspace = true }
glob = "0.3.1"
golem-examples = "1.1.1"
golem-examples = "=1.1.1"
h2 = "0.4.7"
http = { workspace = true }
humansize = { workspace = true }
Expand Down Expand Up @@ -84,7 +84,7 @@ walkdir = "2.5.0"
wasm-wave = { workspace = true }

[dev-dependencies]
golem-test-framework = { path = "../golem-test-framework", version = "0.0.0" }
golem-test-framework = { path = "../golem-test-framework", version = "=0.0.0" }

async-recursion = { workspace = true }
env_logger = "0.11.5"
Expand Down
6 changes: 3 additions & 3 deletions golem-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ include = ["src/**/*", "Cargo.toml", "build.rs", "openapi/**/*"]
harness = false

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

async-trait = { workspace = true }
bytes = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions golem-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ tokio = ["dep:tokio"]
harness = false

[dependencies]
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0", optional = true }
golem-rib = { path = "../golem-rib", version = "0.0.0", default-features = false, features = ["protobuf", "poem", "json_in_errors"] } # TODO: make these optionals
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0", default-features = false, features = ["metadata"] }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
golem-api-grpc = { path = "../golem-api-grpc", version = "=0.0.0", optional = true }
golem-rib = { path = "../golem-rib", version = "=0.0.0", default-features = false, features = ["protobuf", "poem", "json_in_errors"] } # TODO: make these optionals
golem-wasm-ast = { path = "../wasm-ast", version = "=0.0.0", default-features = false, features = ["metadata"] }
golem-wasm-rpc = { path = "../wasm-rpc", version = "=0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-trait = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions golem-component-compilation-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ path = "src/server.rs"
test = false

[dependencies]
golem-api-grpc = { version = "0.0.0", path = "../golem-api-grpc" }
golem-common = { version = "0.0.0", path = "../golem-common" }
golem-service-base = { path = "../golem-service-base" }
golem-worker-executor-base = { version = "0.0.0", path = "../golem-worker-executor-base" }
golem-api-grpc = { version = "=0.0.0", path = "../golem-api-grpc" }
golem-common = { version = "=0.0.0", path = "../golem-common" }
golem-service-base = { version = "=0.0.0", path = "../golem-service-base" }
golem-worker-executor-base = { version = "=0.0.0", path = "../golem-worker-executor-base" }

async-trait = { workspace = true }
console-subscriber = { workspace = true }
Expand Down
10 changes: 5 additions & 5 deletions golem-component-service-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ name = "tests"
harness = false

[dependencies]
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" }
golem-rib = { path = "../golem-rib" }
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0" }
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-rib = { path = "../golem-rib", version = "=0.0.0" }
golem-wasm-ast = { path = "../wasm-ast", version = "=0.0.0" }

anyhow = { workspace = true }
async-trait = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions golem-component-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ test = false
harness = false

[dependencies]
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0" }
golem-common = { path = "../golem-common", version = "0.0.0" }
golem-component-service-base = { version = "0.0.0", path = "../golem-component-service-base" }
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 = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
golem-api-grpc = { path = "../golem-api-grpc", version = "=0.0.0" }
golem-common = { path = "../golem-common", version = "=0.0.0" }
golem-component-service-base = { path = "../golem-component-service-base", version = "=0.0.0" }
golem-service-base = { path = "../golem-service-base", 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"] }

anyhow = { workspace = true }
async-trait = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions golem-rib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ protobuf = ["dep:golem-api-grpc", "golem-wasm-ast/protobuf", "golem-wasm-rpc/pro
poem = ["dep:poem-openapi", "golem-wasm-ast/poem_openapi", "golem-wasm-ast/poem_openapi"]

[dependencies]
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0", optional = true } # TODO: remove this dependency
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0", default-features = false, features = ["analysis", "bincode"] }
golem-wasm-rpc = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["bincode", "typeinfo", "text"] }
golem-api-grpc = { path = "../golem-api-grpc", version = "=0.0.0", optional = true } # TODO: remove this dependency
golem-wasm-ast = { path = "../wasm-ast", version = "=0.0.0", default-features = false, features = ["analysis", "bincode"] }
golem-wasm-rpc = { path = "../wasm-rpc", version = "=0.0.0", default-features = false, features = ["bincode", "typeinfo", "text"] }

bigdecimal = { workspace = true }
bincode = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions golem-service-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ autotests = false
harness = false

[dependencies]
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 = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
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 = { path = "../wasm-rpc", version = "=0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-fs = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions golem-shard-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ harness = false
test = false

[dependencies]
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-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" }

anyhow = { workspace = true }
async-rwlock = "1.3.0"
Expand Down
10 changes: 5 additions & 5 deletions golem-test-framework/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ repository = "https://github.com/golemcloud/golem"
harness = false

[dependencies]
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 = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
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 = { 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
14 changes: 7 additions & 7 deletions golem-worker-executor-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ harness = false
[features]

[dependencies]
golem-api-grpc = { path = "../golem-api-grpc", version = "0.0.0" }
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 = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
golem-api-grpc = { path = "../golem-api-grpc", version = "=0.0.0" }
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 = { path = "../wasm-rpc", version = "=0.0.0", default-features = false, features = ["host"] }

anyhow = { workspace = true }
async-scoped = "0.9.0"
Expand Down Expand Up @@ -93,7 +93,7 @@ zstd = "0.13"
sqlx = { workspace = true }

[dev-dependencies]
golem-test-framework = { path = "../golem-test-framework", version = "0.0.0" }
golem-test-framework = { path = "../golem-test-framework", version = "=0.0.0" }

assert2 = { workspace = true }
axum = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions golem-worker-executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ harness = false
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 = { 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" }
golem-api-grpc = { path = "../golem-api-grpc", version = "=0.0.0" }
golem-common = { path = "../golem-common", version = "=0.0.0" }
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 }
async-trait = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions golem-worker-service-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ golem-common = { path = "../golem-common" }
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 = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
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
6 changes: 3 additions & 3 deletions golem-worker-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ golem-api-grpc = { path = "../golem-api-grpc" }
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 = { path = "../wasm-rpc", version = "0.0.0", default-features = false, features = ["host"] }
golem-worker-service-base = { path = "../golem-worker-service-base" }
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-worker-service-base = { path = "../golem-worker-service-base", version = "=0.0.0" }

anyhow = { workspace = true }
async-trait = { workspace = true }
Expand Down
22 changes: 11 additions & 11 deletions golem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ path = "src/main.rs"
test = false

[dependencies]
golem-cli = { path = "../golem-cli", version = "0.0.0" }
golem-common = { path = "../golem-common", version = "0.0.0" }
golem-component-compilation-service = { path = "../golem-component-compilation-service", version = "0.0.0" }
golem-component-service = { path = "../golem-component-service", version = "0.0.0" }
golem-component-service-base = { path = "../golem-component-service-base", version = "0.0.0" }
golem-service-base = { path = "../golem-service-base", version = "0.0.0" }
golem-shard-manager = { path = "../golem-shard-manager", version = "0.0.0" }
golem-worker-executor = { path = "../golem-worker-executor", version = "0.0.0" }
golem-worker-executor-base = { path = "../golem-worker-executor-base", version = "0.0.0" }
golem-worker-service = { path = "../golem-worker-service", version = "0.0.0" }
golem-worker-service-base = { path = "../golem-worker-service-base", version = "0.0.0" }
golem-cli = { path = "../golem-cli", version = "=0.0.0" }
golem-common = { path = "../golem-common", version = "=0.0.0" }
golem-component-compilation-service = { path = "../golem-component-compilation-service", version = "=0.0.0" }
golem-component-service = { path = "../golem-component-service", version = "=0.0.0" }
golem-component-service-base = { path = "../golem-component-service-base", version = "=0.0.0" }
golem-service-base = { path = "../golem-service-base", version = "=0.0.0" }
golem-shard-manager = { path = "../golem-shard-manager", version = "=0.0.0" }
golem-worker-executor = { path = "../golem-worker-executor", version = "=0.0.0" }
golem-worker-executor-base = { path = "../golem-worker-executor-base", version = "=0.0.0" }
golem-worker-service = { path = "../golem-worker-service", version = "=0.0.0" }
golem-worker-service-base = { path = "../golem-worker-service-base", version = "=0.0.0" }

anyhow = { workspace = true }
bytes = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ description = "Integration tests for Golem"
autotests = false

[dependencies]
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"] }
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 }
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 @@ -35,8 +35,8 @@ colored = "2.1.0"
dir-diff = "0.3.3"
fs_extra = { workspace = true }
glob = "0.3.1"
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-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.7.0"
Expand Down
4 changes: 2 additions & 2 deletions wasm-rpc-stubgen/tests-integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ harness = false
[dependencies]
assert2 = { workspace = true }
fs_extra = { workspace = true }
golem-wasm-ast = { path = "../../wasm-ast", version = "0.0.0" }
golem-wasm-rpc-stubgen = { path = "../../wasm-rpc-stubgen", version = "0.0.0" }
golem-wasm-ast = { path = "../../wasm-ast", version = "=0.0.0" }
golem-wasm-rpc-stubgen = { path = "../../wasm-rpc-stubgen", version = "=0.0.0" }
tempfile = { workspace = true }
tokio = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion wasm-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async-trait = { workspace = true, optional = true }
bigdecimal = { workspace = true, optional = true }
bincode = { workspace = true, optional = true }
git-version = "0.3.9"
golem-wasm-ast = { path = "../wasm-ast", version = "0.0.0", optional = true }
golem-wasm-ast = { path = "../wasm-ast", version = "=0.0.0", optional = true }
poem-openapi = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
Expand Down

0 comments on commit 96d39d8

Please sign in to comment.