Skip to content

feat: allow caller-controlled ORT loading on 0.3.74 - #2

Merged
AnthonyRonning merged 1 commit into
maple-0.3.74from
opensecret/maple-0.3.74-ort-loader
Jul 22, 2026
Merged

feat: allow caller-controlled ORT loading on 0.3.74#2
AnthonyRonning merged 1 commit into
maple-0.3.74from
opensecret/maple-0.3.74-ort-loader

Conversation

@AnthonyRonning

Copy link
Copy Markdown

Summary

  • branch directly from the exact published pdf_oxide 0.3.74 commit
  • add a loader-neutral ocr-ort feature for applications that already manage ONNX Runtime linking/loading
  • keep the existing ocr and gpu features backward-compatible by retaining dynamic loading
  • move only OCR feature gates and documentation; parser and inference algorithms are unchanged

Validation

  • cargo fmt --all -- --check
  • cargo check --locked --no-default-features --features ocr-ort --lib
  • cargo check --locked --no-default-features --features ocr --lib
  • cargo check --locked --no-default-features --features gpu --lib
  • feature-tree assertions confirm ocr-ort does not enable load-dynamic/disable-linking and legacy ocr does

This maintenance PR intentionally targets the fork branch maple-0.3.74 so Maple receives no unpublished upstream parser or dependency changes.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a15540cc-01a8-4974-ac95-3f324477988c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch opensecret/maple-0.3.74-ort-loader

Comment @coderabbitai help to get the list of available commands.

@AnthonyRonning
AnthonyRonning merged commit d9422d6 into maple-0.3.74 Jul 22, 2026
1 check 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