-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Public api #553
Public api #553
Conversation
7477a78
to
a87cc39
Compare
989167f
to
a6a8aa2
Compare
Hi! It would be handy if we could get a comment on each PR with the changes. It would really help during the weekly codegen changes to see what is different (and by extension the changelogs :)) |
This is a proof of concept for cargo public api, we need to talk about what to integrate (I'd favor the job instead of the test). It'd also be great if the new client features would be additive insteadof exclusive such that we can use one tests run, one clippy run and one public-api job run instead of n. |
Will take a proper look at this tonight and come back with some detailed comments. Thanks! |
Nice, I can see the PR is closed out so I will see if I can get this working. I have a CI step that produces unpublished APIs, we can reuse that to post a comment on PRs |
30e4438
to
727d0d2
Compare
Removed items from the public API(none) Changed items in the public API(none) Added items to the public API(none) |
^ nice! shall we get rid of the test and just use this @jwiesler? |
Sure! I'll just do it right now. |
@arlyon as far as I remember this has one problem: The ci token of actions that run from a commiter that is not a collaborator has severly reduced permissions and can't generate/edit comments. Edit: see https://stackoverflow.com/a/71683208 |
332f9ca
to
958ca4b
Compare
I fixed it. Can't merge it though since tokio-hyper doesn't compile on the current nightly (seems to me) |
🎉 This PR is included in version 0.40.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Observations:
cargo public-api diff
does not work, I couldn't get features to be passed to diff (opened an issue for this)Open questions:
Update:
cargo public-api diff
should work after they release a new version on crates.io. This is also what I would use. However, how would we use this? As an optional check just to at least see that something changed?