Skip to content

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Jun 6, 2025

I did some basic cleanup using Clippy and other tools - nothing big :)

  • Bump edition to 2021
  • Add MSRV (I used cargo msrv to find it)
  • Add rust and clippy lint settings to Cargo.toml, including pedantic
  • format code a bit for readability (mostly suggested by clippy rules)
  • update criterion to v0.6

If you like these, I can also add some common CI and release tooling to automate both validation and the release process of the crate. I use the same setup for many of my projects.

I did some basic cleanup using Clippy and other tools - nothing big :)

* Bump edition to 2021
* Add MSRV (I used `cargo msrv` to find it)
* Add rust and clippy lint settings to Cargo.toml, including pedantic
* format code a bit for readability (mostly suggested by clippy rules)
* update `criterion` to v0.6

If you like these, I can also add some common CI and release tooling to automate both validation and the release process of the crate. I use the same setup for many of my projects.
- name: Run tests
run: cargo test --verbose
- name: Markup Link Checker (mlc)
uses: becheran/[email protected]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

for some reason this step is listed twice - here and above, but with different versions. Is this by design?

Copy link
Owner

Choose a reason for hiding this comment

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

No. It is stupid. Should be removed

let pixel = imgbuf.get_pixel_mut(prev.0, prev.1);
*pixel = white;
prev.0 += 1;
continue;
Copy link
Owner

Choose a reason for hiding this comment

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

🤦‍♂️

- name: Run tests
run: cargo test --verbose
- name: Markup Link Checker (mlc)
uses: becheran/[email protected]
Copy link
Owner

Choose a reason for hiding this comment

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

No. It is stupid. Should be removed

@becheran becheran merged commit d6f1959 into becheran:main Jun 9, 2025
2 checks passed
@nyurik nyurik deleted the lints branch June 9, 2025 07:52
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