Skip to content

Refactor CLI to decouple canvas-runtime and drop oxc dependency - #115

Merged
SWangHash merged 1 commit into
mainfrom
wc/rebase_5
Jul 8, 2026
Merged

SWangHash merged 1 commit into
mainfrom
wc/rebase_5

Conversation

@SWangHash

Copy link
Copy Markdown
Owner

… from cli

canvas-runtime (which pulls oxc 0.137.0, MSRV 1.94) was forced into the CLI build via two product-full paths: bitfun-core product-full and bitfun-services-integrations product-full. The CLI does not use canvas; only desktop does.

  • Remove canvas-runtime from bitfun-core and services-integrations product-full feature lists
  • Drop canvas-runtime from services-integrations requiredProductFullFeatures boundary rule to keep check-core-boundaries green
  • Add canvas-runtime explicitly to desktop's bitfun-core features so desktop keeps full canvas support

This lets bitfun-cli build on Rust 1.89 (oxc no longer in its dep graph).

Summary

Fixes #

Type and Areas

Type:

Areas:

Motivation / Impact

Verification

Reviewer Notes

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

… from cli

canvas-runtime (which pulls oxc 0.137.0, MSRV 1.94) was forced into the
CLI build via two product-full paths: bitfun-core product-full and
bitfun-services-integrations product-full. The CLI does not use canvas;
only desktop does.

- Remove canvas-runtime from bitfun-core and services-integrations
  product-full feature lists
- Drop canvas-runtime from services-integrations requiredProductFullFeatures
  boundary rule to keep check-core-boundaries green
- Add canvas-runtime explicitly to desktop's bitfun-core features so
  desktop keeps full canvas support

This lets bitfun-cli build on Rust 1.89 (oxc no longer in its dep graph).
@SWangHash
SWangHash merged commit 1b1773a into main Jul 8, 2026
1 of 2 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