Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <wangrunji0408@163.com>
  • Loading branch information
wangrunji0408 committed Jul 12, 2024
1 parent 487e933 commit 55e6fd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion madsim-tonic-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ proc-macro2 = "1"
prost-build = { version = "0.12", optional = true }
quote = "1"
syn = "2"
tonic-build = ">=0.10"
tonic-build = ">=0.10,<0.12"

[features]
compression = []
Expand Down
2 changes: 1 addition & 1 deletion madsim-tonic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license = "Apache-2.0"
tls = ["tonic/tls"]

[target.'cfg(not(madsim))'.dependencies]
tonic = ">=0.10"
tonic = ">=0.10,<0.12"

[target.'cfg(madsim)'.dependencies]
async-stream = "0.3"
Expand Down

0 comments on commit 55e6fd5

Please sign in to comment.