stkcraft-time 0.2.1

NAIF/SPICE-aligned astronomical time scales in Rust: UTC, TAI, TT, TDB/ET, GPS, UT1 and SCLK, with LSK/SCLK/EOP kernels, no_std support, WebGeocalc parity and an MCP server.
Documentation
name: CI

on:
  push:
  pull_request:

jobs:
  test:
    name: Test and lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install Rust
        uses: dtolnay/rust-toolchain@stable
        with:
          components: clippy, rustfmt
          targets: wasm32-unknown-unknown, thumbv7em-none-eabi
      - name: Check formatting
        run: cargo fmt --all -- --check
      - name: Run tests
        run: cargo test --locked --all-targets
      - name: Run tests with MCP feature
        run: cargo test --locked --all-targets --features mcp
      - name: Test integration validator guards
        run: python3 -m unittest discover -s tools/tests -p 'test_*.py' -v
      - name: Run Clippy
        run: cargo clippy --locked --all-targets -- -D warnings
      - name: Run Clippy with MCP feature
        run: cargo clippy --locked --all-targets --features mcp -- -D warnings
      - name: Build without default features
        run: cargo build --locked --no-default-features
      - name: Build wasm32 no_std
        run: cargo build --locked --no-default-features --target wasm32-unknown-unknown
      - name: Build thumbv7em no_std
        run: cargo build --locked --no-default-features --target thumbv7em-none-eabi
      - name: Check Cortex-M reference cases
        run: cargo run --locked --release --manifest-path examples/cortex-m-utc-et/Cargo.toml --bin host-check
      - name: Link Cortex-M firmware
        run: cargo build --locked --release --manifest-path examples/cortex-m-utc-et/Cargo.toml --bin cortex-m-utc-et --target thumbv7em-none-eabi
      - name: Build MCP server
        run: cargo build --locked --features mcp --bin stkcraft-mcp
      - name: Build docs
        run: RUSTDOCFLAGS="-D warnings" cargo doc --locked --no-deps --all-features

  msrv:
    name: MSRV 1.75
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install Rust 1.75
        uses: dtolnay/rust-toolchain@1.75.0
      - name: Check MSRV
        run: cargo check --locked --all-targets --features mcp