Skip to content

Commit 02e02b5

Browse files
quanweiZhouquanwei.zqw
authored andcommitted
build: fix build error
Lock home to avoid conflict with latest version. Fixes: #266 Signed-off-by: Quanwei Zhou <quanweiZhou@linux.alibaba.com>
1 parent d12719a commit 02e02b5

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ windows-sys = {version = "0.48", features = [ "Win32_Foundation", "Win32_Storage
3030
tokio-vsock = { version = "0.4.0", optional = true }
3131

3232
[build-dependencies]
33+
# lock home to avoid conflict with latest version
34+
home = "=0.5.9"
3335
protobuf-codegen = "3.1.0"
3436

3537
[features]

compiler/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ homepage = "https://github.com/containerd/ttrpc-rust/tree/master/compiler"
1212
readme = "README.md"
1313

1414
[dependencies]
15+
# lock home to avoid conflict with latest version
16+
home = "=0.5.9"
1517
protobuf = "2.27.1"
1618
protobuf-codegen = "2.27.1"
1719
prost = "0.8"

ttrpc-codegen/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ readme = "README.md"
1313

1414

1515
[dependencies]
16+
# lock home to avoid conflict with latest version
17+
home = "=0.5.9"
1618
protobuf-support = "3.2.0"
1719
protobuf = { version = "2.27.1" }
1820
protobuf-codegen = "3.2.0"

0 commit comments

Comments
 (0)