summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-04-06 12:55:05 +0200
committerGitHub <noreply@github.com>2021-04-06 12:55:05 +0200
commit00e63306cbcc295a87ba662f9f63311a3c6c49ce (patch)
tree88020a85a0f1d64803841386d2c5711b7ee008dc /runtime
parentff5d072702aee52882787ea85dd73573a8f8f316 (diff)
refactor: add deno_file op crate (#10019)
Also enables WPT for FileReader.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/Cargo.toml2
-rw-r--r--runtime/build.rs1
-rw-r--r--runtime/lib.rs1
3 files changed, 4 insertions, 0 deletions
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml
index a6f9a80ff..22293f0a4 100644
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -22,6 +22,7 @@ deno_core = { path = "../core", version = "0.83.0" }
deno_console = { path = "../op_crates/console", version = "0.2.1" }
deno_crypto = { path = "../op_crates/crypto", version = "0.16.1" }
deno_fetch = { path = "../op_crates/fetch", version = "0.24.1" }
+deno_file = { path = "../op_crates/file", version = "0.1.0" }
deno_web = { path = "../op_crates/web", version = "0.32.1" }
deno_url = { path = "../op_crates/url", version = "0.2.1" }
deno_webidl = { path = "../op_crates/webidl", version = "0.2.1" }
@@ -37,6 +38,7 @@ deno_core = { path = "../core", version = "0.83.0" }
deno_console = { path = "../op_crates/console", version = "0.2.1" }
deno_crypto = { path = "../op_crates/crypto", version = "0.16.1" }
deno_fetch = { path = "../op_crates/fetch", version = "0.24.1" }
+deno_file = { path = "../op_crates/file", version = "0.1.0" }
deno_web = { path = "../op_crates/web", version = "0.32.1" }
deno_url = { path = "../op_crates/url", version = "0.2.1" }
deno_webidl = { path = "../op_crates/webidl", version = "0.2.1" }
diff --git a/runtime/build.rs b/runtime/build.rs
index 9172816d8..d7d8cb78f 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -17,6 +17,7 @@ fn create_snapshot(
deno_console::init(&mut js_runtime);
deno_url::init(&mut js_runtime);
deno_web::init(&mut js_runtime);
+ deno_file::init(&mut js_runtime);
deno_fetch::init(&mut js_runtime);
deno_websocket::init(&mut js_runtime);
deno_crypto::init(&mut js_runtime);
diff --git a/runtime/lib.rs b/runtime/lib.rs
index 1606e9dfe..b45010c4d 100644
--- a/runtime/lib.rs
+++ b/runtime/lib.rs
@@ -5,6 +5,7 @@
pub use deno_console;
pub use deno_crypto;
pub use deno_fetch;
+pub use deno_file;
pub use deno_url;
pub use deno_web;
pub use deno_webgpu;