-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update prost
, prost-derive
and prost-types
to 0.10, tonic
, and tonic-build
to 0.7
#1510
Conversation
We probably need to wait for a new version of tonic that updates prost: https://crates.io/crates/tonic/0.6.2/dependencies |
Yup, ticket to follow is here - hyperium/tonic#946 |
FYI tonic 0.7 has now been released and updates prost to 0.10 |
prost
, prost-derive
and prost-types
to 0.10, tonic
, and tonic-build
to 0.7
I have updated to use |
Codecov Report
@@ Coverage Diff @@
## master #1510 +/- ##
==========================================
- Coverage 82.77% 82.74% -0.04%
==========================================
Files 190 190
Lines 54689 54711 +22
==========================================
- Hits 45269 45268 -1
- Misses 9420 9443 +23
Continue to review full report at Codecov.
|
let proto_dir = Path::new("../format"); | ||
let proto_path = Path::new("../format/Flight.proto"); | ||
|
||
tonic_build::configure() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following model in influxdata/pbjson#40 from @tustvold
.github/workflows/rust.yml
Outdated
@@ -57,7 +57,7 @@ jobs: | |||
- name: Setup Build Dependencies | |||
run: | | |||
apt-get update | |||
apt-get install cmake protobuf-compiler | |||
apt-get install -y cmake protobuf-compiler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should be able to get away without cmake if you install protobuf-compiler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in 0a87a43
Updates the requirements on [tonic](https://github.com/hyperium/tonic) to permit the latest version. - [Release notes](https://github.com/hyperium/tonic/releases) - [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md) - [Commits](hyperium/tonic@v0.6.0...v0.7.0) --- updated-dependencies: - dependency-name: tonic dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Updates the requirements on [tonic-build](https://github.com/hyperium/tonic) to permit the latest version. - [Release notes](https://github.com/hyperium/tonic/releases) - [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md) - [Commits](hyperium/tonic@v0.6.0...v0.7.0) --- updated-dependencies: - dependency-name: tonic-build dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
ff1931b
to
798924b
Compare
- name: Install Build Dependencies | ||
shell: bash | ||
run: | | ||
apt-get update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying to avoid copy/pasting this a bunch of times in rust.yaml
@@ -6,102 +6,101 @@ | |||
pub struct HandshakeRequest { | |||
/// | |||
/// A defined protocol version | |||
#[prost(uint64, tag = "1")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just checked in the generated code
required: true | ||
default: 'stable' | ||
runs: | ||
using: "composite" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
prost
, prost-derive
and prost-types
to 0.10, tonic
, and tonic-build
to 0.7
prost
, prost-derive
and prost-types
to 0.10, tonic
, and tonic-build
to 0.7
Update prost, prost-derive and prost-types to 0.10
Closes #1500
Closes #1501
Closes #1502
Closes #1520
Closes #1521