Skip to content

fix(core): conform platform exports to official contracts#54

Merged
Iktahana merged 4 commits into
mainfrom
dev
Jul 23, 2026
Merged

fix(core): conform platform exports to official contracts#54
Iktahana merged 4 commits into
mainfrom
dev

Conversation

@Iktahana

Copy link
Copy Markdown
Contributor

Summary

  • add contract tests sourced from the official Narou, Kakuyomu, and Aozora Bunko documentation
  • enforce documented ruby limits, delimiter escaping, emphasis exclusions, Aozora annotations, heading hierarchy, CRLF, and Shift_JIS behavior
  • bump the Rust crate to 2.0.3 and document the platform contracts

Verification

  • cargo test / fmt / clippy / package
  • Rust coverage gates (90% lines/functions/regions)
  • pnpm typecheck / build / test / test:coverage
  • publishable npm tarball consumer install test
  • dev CI, Android, and Python workflows

@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.01587% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
mdi-core/src/lib.rs 98.01% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Iktahana
Iktahana merged commit 001322f into main Jul 23, 2026
27 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.

1 participant