From ac0d8b56a9abc820d60f92432147bffa7ecfbcb3 Mon Sep 17 00:00:00 2001 From: wngr Date: Tue, 24 Aug 2021 16:38:06 +0200 Subject: [PATCH] web-sys: add `WorkerType` feature PR #2656 added support settings `type` and `request_credentials` on `WorkerOptions`. However, the `WorkerType` struct` was not exposed, as the feature was not added to Cargo.toml. --- crates/web-sys/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/web-sys/Cargo.toml b/crates/web-sys/Cargo.toml index ed6fb75ded9..f7a88253d23 100644 --- a/crates/web-sys/Cargo.toml +++ b/crates/web-sys/Cargo.toml @@ -1387,6 +1387,7 @@ WorkerGlobalScope = ["EventTarget"] WorkerLocation = [] WorkerNavigator = [] WorkerOptions = [] +WorkerType = [] Worklet = [] WorkletGlobalScope = [] WorkletOptions = []