Skip to content

Commit

Permalink
build: fix build error
Browse files Browse the repository at this point in the history
Lock home to avoid conflict with latest version.

Fixes: #266
Signed-off-by: Quanwei Zhou <[email protected]>
  • Loading branch information
quanweiZhou authored and quanwei.zqw committed Dec 22, 2024
1 parent d12719a commit 02e02b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ windows-sys = {version = "0.48", features = [ "Win32_Foundation", "Win32_Storage
tokio-vsock = { version = "0.4.0", optional = true }

[build-dependencies]
# lock home to avoid conflict with latest version
home = "=0.5.9"
protobuf-codegen = "3.1.0"

[features]
Expand Down
2 changes: 2 additions & 0 deletions compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ homepage = "https://github.com/containerd/ttrpc-rust/tree/master/compiler"
readme = "README.md"

[dependencies]
# lock home to avoid conflict with latest version
home = "=0.5.9"
protobuf = "2.27.1"
protobuf-codegen = "2.27.1"
prost = "0.8"
Expand Down
2 changes: 2 additions & 0 deletions ttrpc-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ readme = "README.md"


[dependencies]
# lock home to avoid conflict with latest version
home = "=0.5.9"
protobuf-support = "3.2.0"
protobuf = { version = "2.27.1" }
protobuf-codegen = "3.2.0"
Expand Down

0 comments on commit 02e02b5

Please sign in to comment.