-
Notifications
You must be signed in to change notification settings - Fork 29
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
fixup rust publishing #223
Conversation
Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
@@ -18,7 +17,7 @@ prost = "0.12.3" | |||
prost-reflect = { version = "0.12.0", features = ["serde", "derive"] } | |||
serde = {version = "1.0", features = ["derive"]} | |||
serde_json = "1.0" | |||
derive = { path = "../derive" } | |||
sigstore-protobuf-specs-derive = { version = "0.0.1", path = "../sigstore-protobuf-specs-derive" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would correctly resolve to sigstore-protobuf-specs-derive
when it's published to crates.io, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct -- version
is used when installed via cargo install
, and path
is used when installed via cargo build
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rubber stamping
This partially fixes the Rust publishing situation. A new complexity: because we have a
proc-macro
crate (sigstore-protobuf-specs-derive
), we really have two packages that need publishing. But only the "main" one makes any sense to automate, since the proc-macro crate should (basically) never change, and certainly doesn't need to change on the same cadence.So, here's what I propose:
sigstore-protobuf-specs-derive v0.0.1