Skip to content

Commit

Permalink
fix: update madsim to fix stream early close issue
Browse files Browse the repository at this point in the history
Ref: madsim-rs/madsim#218
Signed-off-by: bsbds <[email protected]>
  • Loading branch information
bsbds committed Aug 23, 2024
1 parent 5415aa3 commit 40e55f2
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 39 deletions.
132 changes: 99 additions & 33 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ignored = ["prost", "workspace-hack"]

[patch.crates-io]
# This branch update the tonic version for madsim. We should switch to the original etcd-client crate when new version release.
madsim = { git = "https://github.com/Phoenix500526/madsim.git", branch = "update-tonic" }
madsim-tonic = { git = "https://github.com/Phoenix500526/madsim.git", branch = "update-tonic" }
madsim-tonic-build = { git = "https://github.com/Phoenix500526/madsim.git", branch = "update-tonic" }
madsim-tokio = { git = "https://github.com/Phoenix500526/madsim.git", branch = "update-tonic" }
madsim = { git = "https://github.com/bsbds/madsim.git", branch = "fix-client-stream" }
madsim-tonic = { git = "https://github.com/bsbds/madsim.git", branch = "fix-client-stream" }
madsim-tonic-build = { git = "https://github.com/bsbds/madsim.git", branch = "fix-client-stream" }
madsim-tokio = { git = "https://github.com/bsbds/madsim.git", branch = "fix-client-stream" }
4 changes: 2 additions & 2 deletions workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ futures-util = { version = "0.3", features = ["channel", "io", "sink"] }
getrandom = { version = "0.2", default-features = false, features = ["js", "rdrand", "std"] }
libc = { version = "0.2", features = ["extra_traits"] }
log = { version = "0.4", default-features = false, features = ["std"] }
madsim-tokio = { git = "https://github.com/Phoenix500526/madsim.git", branch = "update-tonic", default-features = false, features = ["fs", "io-util", "macros", "net", "rt", "rt-multi-thread", "signal", "sync", "time"] }
madsim-tonic = { git = "https://github.com/Phoenix500526/madsim.git", branch = "update-tonic", default-features = false, features = ["tls"] }
madsim-tokio = { git = "https://github.com/bsbds/madsim.git", branch = "fix-client-stream", default-features = false, features = ["fs", "io-util", "macros", "net", "rt", "rt-multi-thread", "signal", "sync", "time"] }
madsim-tonic = { git = "https://github.com/bsbds/madsim.git", branch = "fix-client-stream", default-features = false, features = ["tls"] }
memchr = { version = "2" }
num-traits = { version = "0.2", default-features = false, features = ["i128", "std"] }
opentelemetry_sdk = { version = "0.22", features = ["metrics", "rt-tokio"] }
Expand Down

0 comments on commit 40e55f2

Please sign in to comment.