Skip to content

docs: document the component default backend + wasmtime requirements#184

Merged
robcohen merged 1 commit into
mainfrom
docs/component-default-backend
Jun 18, 2026
Merged

docs: document the component default backend + wasmtime requirements#184
robcohen merged 1 commit into
mainfrom
docs/component-default-backend

Conversation

@robcohen

Copy link
Copy Markdown
Member

Follow-up to the backend flip (#183): the docs still listed the wasmtime CLI as an unconditional requirement, but post-flip the default backend runs the component via the wasmtime Python package (a dependency, installed automatically) and needs no separate install.

Changes

  • README: reframe the wasmtime note — the CLI is only needed for the legacy RUSTFAVA_RUSTLEDGER_BACKEND=jsonrpc backend (and the ImportError fallback); the default works out of the box. PyPI row no longer lists wasmtime as a manual prerequisite.
  • docs/deployment.md: new "Backends" section documenting the env var, the default (component), the opt-out (jsonrpc), and that the fallback requires the wasmtime CLI.

Captures the rough edge noted while reviewing the wasmtime dependency story: a fresh pip install gets wasmtime-py (component works) but not the CLI, so the jsonrpc opt-out needs the CLI installed separately.

The component engine is now the default (#183), so the wasmtime *Python
package* ships as a dependency and the default backend needs no extra setup.
The wasmtime *CLI* is only required for the legacy JSON-RPC backend
(RUSTFAVA_RUSTLEDGER_BACKEND=jsonrpc) — including the ImportError fallback —
which was previously documented as an unconditional requirement.

- README: reframe the wasmtime note as the JSON-RPC opt-out requirement; PyPI
  install no longer lists wasmtime as a manual prerequisite.
- deployment.md: add a "Backends" section covering the env var, the default,
  and the CLI requirement for the fallback.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@robcohen robcohen merged commit c0c614e into main Jun 18, 2026
29 checks passed
@robcohen robcohen deleted the docs/component-default-backend branch June 18, 2026 10:37
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