Draft new library API, to allow us finer-grained control over edge cases #599
Pinned
obi1kenobi
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As
cargo-semver-checksis getting adopted by more and more projects, we're seeing more and more cases where our current APIs and config flags give users insufficient control over various edge cases that happen in the real world.To address such edge cases, we'll need to expose a richer API in our lib target, which can then be used both as a dependency of other tools (e.g.
release-plz) and directly via the CLI. I'm adding a draft for such a new API, and I'm looking for feedback!Here are the issues we've seen so far, lightly grouped:
cargo semver-checkon diesel #108RUSTFLAGSenv var sets-Dwarnings#589--workspaceruns #163Cargo.tomlversion is already published on the registry #356publish = falsecrates in a workspace #424The proposed new lib target API is here: #600
If you have general feedback about the idea, please post it here.
If you have feedback related to specific lines of code, please post it attached to those lines in the PR: #600.
Beta Was this translation helpful? Give feedback.
All reactions