Commit Graph
1 Commits
Author SHA1 Message Date
osobhandClaude Sonnet 4.6 2e423d2682 Fix clippy warnings and add Gitea CI pipeline
Clippy fixes:
- clawhdf5-onion/reader.rs: introduce RawPage type alias to resolve
  type_complexity lint on revision_pages_raw return type
- clawsync-onion/iblt.rs: remove stray #[forbid(unsafe_code)] module
  attribute (crate-level forbid already in lib.rs; the module attr was
  useless and triggered the empty-line-after-attribute lint)
- clawsync-onion/differ.rs: replace ok_or_else(|| …) with ok_or(…)
  for non-lazily-constructed error values
- clawsync-cli/main.rs: accept &Path instead of &PathBuf in
  handle_hdf5_client to avoid unnecessary indirection

CI (.gitea/workflows/ci.yml):
- test job: cargo test --workspace (default + simd-cdc)
- lint job: cargo clippy -D warnings + cargo fmt --check
- msrv job: build + test on Rust 1.85 (workspace rust-version)
- publish-dry-run job: cargo publish --dry-run for clawsync-core

All 573 tests still passing after fixes.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-04-04 18:59:34 -05:00