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
-
As
cargo-semver-checks
is 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-check
on diesel #108RUSTFLAGS
env var sets-Dwarnings
#589--workspace
runs #163Cargo.toml
version is already published on the registry #356publish = false
crates 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