Skip to content

Conversation

@EdJoPaTo
Copy link

@EdJoPaTo EdJoPaTo commented Sep 8, 2025

This mainly enables clippy::pedantic to improve the code quality.

My intention here is to not be breaking.

Feel free to ask questions to all the changes or let me remove lints that seem to change too much. I can also apply different lints on different PR when this helps.

Comment on lines +5 to +6
edition = "2021"
rust-version = "1.63"
Copy link
Author

Choose a reason for hiding this comment

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

1.63 was the oldest version I managed to build. This is partially the case as a Cargo.lock was missing before. I added the lock file to simplify these checks against the oldest supported version in the future.

As 1.63 already supports edition 2021, I updated the edition too.

In the future ptr_arg can improve the performance but as the ksc creates
.into() calls this is breaking (while its not considered as a breaking
change as this widens the usage its breaking with ksc)
it is only used internally and should not be shared as much.
While removing this from the trait is technically breaking its not changing the behaviour and isnt used by ksc so it can be changed relatively easily.

This allows it to change the arguments reducing the amount of clones.
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.

1 participant