Skip to content

Commit

Permalink
Revert prost update (#7896)
Browse files Browse the repository at this point in the history
Revert prost 0.13.1 -> 0.12.4 and generate code from protos

### Description of the change

#7888 Introduced a breaking change that broke the compilation of
`oci-catalog` module. At this moment, we cannot invest time in fixing
the issue so we are reverting that change.
<!-- Describe the scope of your change - i.e. what the change does. -->

### Benefits

`oci-catalog` module compiles again.
<!-- What benefits will be realized by the code change? -->

### Possible drawbacks

We are downgrading a dependency with all its consequences. 
<!-- Describe any known limitations with your change -->

### Applicable issues

<!-- Enter any applicable Issues here (You can reference an issue using
#) -->

- fixes #

### Additional information

<!-- If there's anything else that's important and relevant to your pull
request, mention that information here.-->

---------

Signed-off-by: Jesús Benito Calzada <[email protected]>
  • Loading branch information
beni0888 authored Jul 15, 2024
1 parent f637e57 commit ef034c6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 50 deletions.
43 changes: 10 additions & 33 deletions cmd/oci-catalog/Cargo.lock

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

2 changes: 1 addition & 1 deletion cmd/oci-catalog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ clap = { version = "4.5", features = ["derive", "env"] }
env_logger = "0.11"
futures-core = "0.3"
log = "0.4"
prost = "0.13"
prost = "0.12"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
14 changes: 7 additions & 7 deletions cmd/oci-catalog/gen/catalog/v1alpha1/ocicatalog.pb.go

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

26 changes: 17 additions & 9 deletions cmd/oci-catalog/gen/catalog/v1alpha1/ocicatalog_grpc.pb.go

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

0 comments on commit ef034c6

Please sign in to comment.