Skip to content

Conversation

@bfops
Copy link
Collaborator

@bfops bfops commented Apr 22, 2025

Description of Changes

Add a script that checks some basics of all the crates that we publish as part of a release:

  • license/license-file and description fields are populated
  • All of the dev-dependencies are path dependencies

I also integrated it into CI.

The reason we require path dependencies is because it means that we can publish to crates.io without having to manually edit Cargo.tomls to remove circular dependencies (it apparently ignores path dependencies, see rust-lang/cargo#4242).

API and ABI breaking changes

None. CI-only change.

Expected complexity level and risk

2

Testing

@bfops bfops marked this pull request as ready for review April 22, 2025 21:53
@bfops bfops linked an issue Apr 22, 2025 that may be closed by this pull request
2 tasks
@bfops bfops changed the title Check for dependencies that might break publishing CI - Do some basic checks that crates are publishable Apr 22, 2025
Copy link
Collaborator

@jdetter jdetter left a comment

Choose a reason for hiding this comment

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

LGTM, no objections on this 👍

@bfops bfops added this pull request to the merge queue Apr 23, 2025
Merged via the queue into master with commit 118e59d Apr 23, 2025
19 checks passed
@bfops bfops deleted the bfops/check-deps branch April 24, 2025 05:27
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.

Convert dev-dependencies to path dependencies

3 participants