Fix default-build unused imports #12

Merged
sjg merged 1 commits from fix/default-build-unused-imports into main 2026-08-01 01:55:57 +02:00
Owner

Summary

  • gate decoder-history test helpers and message types behind cfg(test)
  • keep production imports separate from test-only compatibility imports
  • eliminate the warnings introduced when the history extraction and warning cleanup landed together

Verification

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • RUSTFLAGS="-D warnings" cargo build --workspace --all-targets
  • RUSTFLAGS="-D warnings" cargo test -p trx-server
## Summary - gate decoder-history test helpers and message types behind `cfg(test)` - keep production imports separate from test-only compatibility imports - eliminate the warnings introduced when the history extraction and warning cleanup landed together ## Verification - `cargo fmt --all -- --check` - `cargo clippy --workspace --all-targets -- -D warnings` - `cargo clippy --workspace --all-targets --all-features -- -D warnings` - `RUSTFLAGS="-D warnings" cargo build --workspace --all-targets` - `RUSTFLAGS="-D warnings" cargo test -p trx-server`
sjg added 1 commit 2026-08-01 01:55:44 +02:00
[fix](trx-server): gate test-only history imports
CI / lint (pull_request) Failing after 1s
CI / test (pull_request) Failing after 1s
CI / reuse (pull_request) Failing after 1s
CI / lint (push) Failing after 3s
CI / test (push) Failing after 2s
CI / reuse (push) Failing after 1s
39e59dca96
sjg merged commit 39e59dca96 into main 2026-08-01 01:55:57 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sjg/trx-rs#12