Skip to content

Preparations for crates.io publishing#146

Merged
geonnave merged 5 commits into
lake-rs:mainfrom
chrysn-pull-requests:publishable-versions-2
Nov 21, 2023
Merged

Preparations for crates.io publishing#146
geonnave merged 5 commits into
lake-rs:mainfrom
chrysn-pull-requests:publishable-versions-2

Conversation

@chrysn

@chrysn chrysn commented Nov 20, 2023

Copy link
Copy Markdown
Member

This supersedes #98. In this new approach, all version related stuff is pulled together in the workspace, necessitating changes in only one file (rather than every Cargo.toml) during version bumps.

This is based on #144; as GitHub still can't do staggered PRs, please start reviewing starting at "chore: pull version numbers...", and don't merge before #144.

@chrysn chrysn force-pushed the publishable-versions-2 branch from 7af45f1 to d04ea36 Compare November 20, 2023 12:23
Comment thread consts/Cargo.toml
[package]
name = "edhoc-consts"
version = "0.1.0"
version.workspace = true

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ahh! I was wondering if there was an easy way to keep all version numbers in sync. Great!

@chrysn chrysn mentioned this pull request Nov 20, 2023
This makes versions easier to maintain, especially when assigning
numbers to the dependencies as well in preparation for crates.io.
This addresses a warning cargo would otherwise issue at upload, and is
generally good for discoverability.
@chrysn chrysn force-pushed the publishable-versions-2 branch from 2921046 to 2041dd5 Compare November 20, 2023 21:49
Comment thread Cargo.toml Outdated
@@ -1,12 +1,13 @@
[package]
name = "edhoc-crypto-rustcrypto"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@chrysn feel free to add yourself as author of this and the crypto-trait crates.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done (wasn't sure we're doing authors = , cargo doesn't set it by default any more); crypto-trait has been taken up into -consts.

As per [152] and the existing LICENSE.md file, the BSD license applied
to this project uses the SPDX identifier BSD-3-Clause.

[152]: lake-rs#152 (comment)
@geonnave

Copy link
Copy Markdown
Collaborator

This looks good to me. Anything missing?

@chrysn chrysn marked this pull request as ready for review November 21, 2023 13:40
@chrysn

chrysn commented Nov 21, 2023

Copy link
Copy Markdown
Member Author

I think this is ready. The open question of when to publish at crates.io (and on which name -- I've privately contacted the author of the edhoc crate whether he still plans to maintain that) can be answered well after this PR.

@geonnave geonnave merged commit 5a60714 into lake-rs:main Nov 21, 2023
@chrysn chrysn deleted the publishable-versions-2 branch November 21, 2023 15:44
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.

3 participants