Skip to content
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

lib: replace protobuf crate with prost #932

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

Ralith
Copy link
Collaborator

@Ralith Ralith commented Dec 21, 2022

Prost is a far more conformant implementation (stepancheg/rust-protobuf#661 vs. https://github.com/tokio-rs/prost/blob/master/conformance/failing_tests.txt) and appears to be more actively maintained (no commits in protobuf since September, PRs not being reviewed).

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have added tests to cover my changes

@Ralith Ralith force-pushed the push-568edbae42a84d8fbe03433e17e0fe46 branch 2 times, most recently from 8fd0841 to 590353c Compare December 21, 2022 20:45
@Ralith Ralith enabled auto-merge (rebase) December 21, 2022 20:45
@Ralith Ralith force-pushed the push-568edbae42a84d8fbe03433e17e0fe46 branch 17 times, most recently from 1d3dcd4 to cb5ff46 Compare December 22, 2022 01:08
@Ralith
Copy link
Collaborator Author

Ralith commented Dec 22, 2022

This now also switches to manually-generated code (via cargo run -p gen-protos) to alleviate a buildtime protoc dependency, and adds a CI stage to ensure the generated code is up to date.

@martinvonz
Copy link
Member

This now also switches to manually-generated code (via cargo run -p gen-protos) to alleviate a buildtime protoc dependency, and adds a CI stage to ensure the generated code is up to date.

Nice! Thanks for setting that up.

Copy link
Member

@martinvonz martinvonz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this

README.md Outdated Show resolved Hide resolved
lib/gen-protos/src/main.rs Show resolved Hide resolved
lib/src/proto_op_store.rs Outdated Show resolved Hide resolved
lib/src/protos/mod.rs Show resolved Hide resolved
lib/src/working_copy.rs Outdated Show resolved Hide resolved
@Ralith Ralith force-pushed the push-568edbae42a84d8fbe03433e17e0fe46 branch 4 times, most recently from 570d5d3 to aba6659 Compare December 22, 2022 07:53
@Ralith Ralith force-pushed the push-568edbae42a84d8fbe03433e17e0fe46 branch from aba6659 to 182b5a4 Compare December 22, 2022 07:57
lib/src/protos/mod.rs Show resolved Hide resolved
@Ralith Ralith merged commit aaa175e into jj-vcs:main Dec 22, 2022
@Ralith Ralith deleted the push-568edbae42a84d8fbe03433e17e0fe46 branch December 22, 2022 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants