Skip to content

Commit ca3b9a1

Browse files
authored
fix: Depend on at least tower 0.4.4 (#554)
In tower 0.4.0 we missed a couple of re-exports that tonic 0.4.0 depends on. So tonic really depends on tower at least version 0.4.1. Since specifying your tower depedency as 0.4 means you might get 0.4.0, you might get build errors when updating tonic. Such as [#553] and [#552]. This fixes that by bumping tonic's dependency on tower to 0.4.4. That means users will get at least tower version 0.4.4, but semver compatible updates are still allowed. Fixes #553 [#553]: #553 [#552]: #552
1 parent cb9ed18 commit ca3b9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tonic/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ h2 = { version = "0.3", optional = true }
6868
hyper = { version = "0.14.2", features = ["full"], optional = true }
6969
tokio = { version = "1.0.1", features = ["net"], optional = true }
7070
tokio-stream = "0.1"
71-
tower = { version = "0.4", features = ["balance", "buffer", "discover", "limit", "load", "make", "timeout", "util"], optional = true}
71+
tower = { version = "0.4.4", features = ["balance", "buffer", "discover", "limit", "load", "make", "timeout", "util"], optional = true }
7272
tracing-futures = { version = "0.2", optional = true }
7373

7474
# rustls

0 commit comments

Comments
 (0)