This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Description
As part of the overall packaging pipeline, we will need a way within Rust to express JS dependencies. This happens in two parts:
This issue is about the second step, supplying the JS. There are at least three sources for the JS imports we want to consider:
- Functions expected to already exist on the host.
- Functions coming from JS provided directly with the crate.
- Functions coming from an npm package.
Let's discuss which of these options we want to support, and how to express them on the Rust side.