Skip to content

chore: standardize Rust project configuration and add CI - #14

Merged
huxulm merged 1 commit into
mainfrom
claude/rust-project-config-standardization-7ymogg
Oct 24, 2026
Merged

huxulm merged 1 commit into
mainfrom
claude/rust-project-config-standardization-7ymogg

Conversation

@huxulm

@huxulm huxulm commented Oct 24, 2026

Copy link
Copy Markdown
Contributor
  • Add CI workflow running rustfmt, clippy (-D warnings), tests,
    doctests and an MSRV check.
  • Cargo.toml: add rust-version (1.85), categories, package excludes,
    and a [lints] table that allows clippy lints inherent to a faithful
    SOFA port (long argument lists, full-precision literals, index loops,
    SOFA-style doc layout, NaN-sensitive range checks).
  • Fix doctests: mark SOFA text tables/formulas in doc comments as
    text blocks so rustdoc no longer compiles them (291 failing -> 0).
  • Fix clippy errors/warnings: use std PI/TAU for DPI/D2PI (same f64
    values), apply safe auto-fixes, rename private CamelCase structs,
    keep max/min in refco to preserve SOFA NaN handling.
  • Run cargo fmt over the whole crate.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Y4qZWR3v6eu28sGykfJCtY

- Add CI workflow running rustfmt, clippy (-D warnings), tests,
  doctests and an MSRV check.
- Cargo.toml: add rust-version (1.85), categories, package excludes,
  and a [lints] table that allows clippy lints inherent to a faithful
  SOFA port (long argument lists, full-precision literals, index loops,
  SOFA-style doc layout, NaN-sensitive range checks).
- Fix doctests: mark SOFA text tables/formulas in doc comments as
  `text` blocks so rustdoc no longer compiles them (291 failing -> 0).
- Fix clippy errors/warnings: use std PI/TAU for DPI/D2PI (same f64
  values), apply safe auto-fixes, rename private CamelCase structs,
  keep max/min in refco to preserve SOFA NaN handling.
- Run cargo fmt over the whole crate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y4qZWR3v6eu28sGykfJCtY
@huxulm
huxulm merged commit 9e7fd29 into main Oct 24, 2026
3 of 4 checks passed
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