Registry / other / deno-core

deno-core

JSON →
library0.402.0rscratesunverified

A modern JavaScript/TypeScript runtime built with V8, Rust, and Tokio.

# Cargo.toml [dependencies] deno_core = "0.402.0"
INSTALL
IMPORT
SIG · DENO-CORE
D
deno-core
otherrustv0.402.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.

JsRuntime
use deno_core::JsRuntime;

Creates a JavaScript runtime and executes a script.

use deno_core::JsRuntime; fn main() { let mut runtime = JsRuntime::new(Default::default()); let result = runtime.execute_script("test.js", "1 + 2").unwrap(); println!("Result: {:?}", result); }
Debug
Known issues
gotchaRequires V8 and may have complex build dependencies.
fix
Ensure V8 is installed or use the 'v8' feature flag appropriately.
affects: >=0.400.0
Upgrade
Version history
0.402.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
deno-core — cargo add deno-core · libregistry