chore: enable clippy pedantic/nursery lints and fix warnings#116
Merged
JanZachmann merged 1 commit intoomnect:mainfrom Apr 7, 2026
Merged
chore: enable clippy pedantic/nursery lints and fix warnings#116JanZachmann merged 1 commit intoomnect:mainfrom
JanZachmann merged 1 commit intoomnect:mainfrom
Conversation
- Enable pedantic and nursery lint groups in workspace config - Add cherry-picked restriction lint map_err_ignore - Fix use_self, derive_partial_eq_without_eq, redundant_clone, unnecessary_struct_initialization, missing_const_for_fn across codebase - Fix cast_possible_truncation, cast_sign_loss, unreadable_literal - Fix unnecessary_wraps in config loaders, unnecessary_debug_formatting on Path types (use .display()), panic_in_result_fn in build.rs - Replace single-use serde structs with serde_json::json! - Combine duplicate match arms, add #[must_use] on builder methods - Add inline #[allow] for Actix framework patterns (future_not_send, unused_async, needless_pass_by_value) - Log session insertion errors instead of silently discarding - Bump version to 1.2.1 Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pedanticandnurserylint groups in workspace config with targeted suppressions for false positivesuse_self,derive_partial_eq_without_eq,redundant_clone,cast_possible_truncation,cast_sign_loss,unnecessary_wraps,unnecessary_debug_formatting,match_same_arms, and moremap_err_ignoreto catch silently discarded error context#[allow]annotations for Actix framework patterns (future_not_send,unused_async,needless_pass_by_value)Reason
cargo clippynow runs with pedantic + nursery enabled, catching more issues at development time without noise from false positives. The workspace lint config provides a single source of truth for lint policy.