Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application of Clippy lints and possible improvement in development ergonomics #100

Merged
merged 5 commits into from
Mar 27, 2023

Conversation

KP64
Copy link
Contributor

@KP64 KP64 commented Mar 26, 2023

I have added Clippy into the project and applied a few of the fixes while silencing other ones.
I Also removed the crossbeam crate, since it's merged into the standard library since Rust 1.67.0.
To improve ergonomics through elimination of boilerplate code and simplification of adding new errors, I have added the thiserror crate.

KP64 added 5 commits March 26, 2023 19:45
Added Clippy all Clippy lints and set them to warning. Some of the lints are Fixed now while some have been only silenced.
Since Rust version 1.67.0 Crossbeam has been merged into the standard library. This makes the use of the external crate unnecessary. (rust-lang/rust#93563)
The addition of thiserror allows for more ergonomics while writing code for error States.
Updated "rust-version" in Cargo.toml since Crossbeam has been merged into std in rust version 1.67.0
@KP64 KP64 changed the title Application of Clippy lints and possible improvement in developing ergonomics Application of Clippy lints and possible improvement in development ergonomics Mar 26, 2023
@solidiquis
Copy link
Owner

Beautiful, thank you for doing this!

@solidiquis solidiquis merged commit 7d0f1dd into solidiquis:master Mar 27, 2023
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