Commit eb66b91
examples: switch version to last released version (#2047)
As part of #2014, the versions of
"tonic" and "tonic-build" were changed to "0.13". This breaks the
instuctions in the examples documentation with an error like:
```
helloworld_tonic$ cargo run --bin helloworld-server
Updating crates.io index
error: failed to select a version for the requirement `tonic = "^0.13"`
candidate versions found which didn't match: 0.12.3, 0.12.2, 0.12.1, ...
location searched: crates.io index
required by package `helloworld-tonic v0.1.0 (/usr/local/google/home/easwars/src/rust/projects/helloworld_tonic)`
if you are looking for the prerelease package it needs to be specified explicitly
tonic = { version = "0.1.0-beta.1" }
```
This PR changes the version of "tonic" and "tonic-build" to "*" which
results in the latest version getting picked. Setting it to "*" also has
the nice property of not having to update the examples everytime a
version bump is required.
Co-authored-by: Lucio Franco <luciofranco14@gmail.com>1 parent 7220ecb commit eb66b91
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments