Skip to content

Rename packages to use underscores. - #58

Merged
xStrom merged 1 commit into
linebender:mainfrom
xStrom:package-names
Apr 19, 2026
Merged

Rename packages to use underscores.#58
xStrom merged 1 commit into
linebender:mainfrom
xStrom:package-names

Conversation

@xStrom

@xStrom xStrom commented Apr 17, 2026

Copy link
Copy Markdown
Member

The latest Linebender standard is to name packages with an underscore instead of a dash. Historically we used dashes, but later migrated to underscores. One of the main motivators being that then the package name matches how it is imported in code (always underscore).

This wasn't well documented on the Linebender website, which I just recently fixed. Also, just taking a peek at the Vello or Xilem repos will show packages like vello_hybrid and xilem_masonry.

Because packages can't be renamed after publishing (pkg_name and pkg-name are considered identical by crates.io) it's important to get this renaming done before we publish.

In addition to changing the dashes to underscores, I also changed the kompari_cli output binary name to just kompari as that seems far nicer to me than either kompari-cli or kompari_cli. Also, this binary name can be easily changed later if we want to.

@xStrom
xStrom marked this pull request as ready for review April 18, 2026 13:37

@tomcur tomcur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@xStrom
xStrom added this pull request to the merge queue Apr 19, 2026
Merged via the queue into linebender:main with commit 2643680 Apr 19, 2026
25 of 30 checks passed
@xStrom
xStrom deleted the package-names branch April 19, 2026 12:46
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.

2 participants