Likely similar to something like https://github.com/mlua-rs/mlua - but wanting to execute javascript (instead of lua, and no static libs?) in the context of native rust.
The alternative might be https://github.com/denoland/rusty_v8 but without needing C++ V8.
(this is the first I'm hearing of Boa)