From ddbb7b83f2c483e354f425dfb70dbab494b05ea5 Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Mon, 16 Aug 2021 14:29:54 +0200 Subject: feat(runtime): support classic workers for internal testing (#11338) This commit implements classic workers, but only when the `--enable-testing-features-do-not-use` flag is provided. This change is not user facing. Classic workers are used extensively in WPT tests. The classic workers do not support loading from disk, and do not support TypeScript. Co-authored-by: Luca Casonato --- ext/fetch/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/fetch/lib.rs') diff --git a/ext/fetch/lib.rs b/ext/fetch/lib.rs index eb2fed683..8f49d8859 100644 --- a/ext/fetch/lib.rs +++ b/ext/fetch/lib.rs @@ -52,7 +52,9 @@ use tokio::sync::mpsc; use tokio_stream::wrappers::ReceiverStream; use tokio_util::io::StreamReader; -pub use reqwest; // Re-export reqwest +// Re-export reqwest and data_url +pub use data_url; +pub use reqwest; pub fn init( user_agent: String, -- cgit v1.2.3