fix: remove unused dat macro imports#171
Open
seriouscoderone wants to merge 2 commits intoWebOfTrust:mainfrom
Open
fix: remove unused dat macro imports#171seriouscoderone wants to merge 2 commits intoWebOfTrust:mainfrom
dat macro imports#171seriouscoderone wants to merge 2 commits intoWebOfTrust:mainfrom
Conversation
The `dat!` macro is already available crate-wide via `#[macro_use]` on the data module in lib.rs. These explicit imports are redundant and cause compilation failures with `#![deny(warnings)]`. Removes unused imports from: - src/core/common.rs (module and test) - src/core/creder.rs - src/core/pather.rs (test) - src/core/prefixer.rs (test) - src/core/sadder.rs (test) - src/core/saider.rs (module and test) - src/core/serder.rs - src/core/tholder.rs - src/data.rs (test) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replace deprecated actions-rs/toolchain with dtolnay/rust-toolchain - Update actions/checkout to v4 - Add cargo caching for faster builds - Split into parallel jobs (check, audit, wasm) - Remove cargo-outdated (too strict for contributions) - Remove tarpaulin (can be added later with proper setup) - Install cargo-audit before running audit Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
7eaab70 to
ec369d4
Compare
3 tasks
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
datmacro imports that cause compilation failuresdat!macro is already available crate-wide via#[macro_use]on the data moduleBug Fix
The project currently fails to compile because of unused import warnings treated as errors:
Since
lib.rsdeclares#[macro_use] pub mod data;, thedat!macro is automatically available throughout the crate without explicit imports.CI Improvements
actions-rs/toolchainwithdtolnay/rust-toolchainactions/checkoutto v4cargo-auditbefore running security auditFiles Changed
Bug fix:
src/core/common.rs- module and testsrc/core/creder.rssrc/core/pather.rs- testsrc/core/prefixer.rs- testsrc/core/sadder.rs- testsrc/core/saider.rs- module and testsrc/core/serder.rssrc/core/tholder.rssrc/data.rs- testCI:
.github/workflows/test.ymlTest plan
cargo testpasses (832 tests)cargo buildsucceeds🤖 Generated with Claude Code