Registry / runtime / deno-runtime

deno-runtime

JSON →
library0.259.0rscratesunverified

Provides the deno runtime library

# Cargo.toml [dependencies] deno_runtime = "0.259.0"
INSTALL
IMPORT
SIG · DENO-RUNTIME
D
deno-runtime
runtimerustv0.259.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MainWorker
use deno_runtime::worker::MainWorker;

Creates and runs a Deno worker.

use deno_runtime::worker::MainWorker; let worker = MainWorker::bootstrap_from_options(...); worker.execute_main_module("file.js").await;
Debug
Known issues
gotchaRequires tokio runtime and specific feature flags.
fix
Enable the 'runtime' feature and ensure tokio is set up.
affects: >=0.259.0
Upgrade
Version history
0.259.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
64 hits · last 30 days
node
56
OpenAI (training)
1
Resources
deno-runtime — cargo add deno-runtime · libregistry