Commit 2643680
authored
Rename packages to use underscores. (#58)
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](https://linebender.org/wiki/naming-scheme/). Also, just
taking a peek at the [Vello](https://github.com/linebender/vello) or
[Xilem](https://github.com/linebender/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.1 parent f252694 commit 2643680
21 files changed
Lines changed: 337 additions & 419 deletions
File tree
- .github/workflows
- example
- xtask_kompari
- kompari_cli
- src
- tests
- kompari_html
- src
- kompari_tasks
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments