Skip to content

Commit

Permalink
web-sys: add WorkerType feature
Browse files Browse the repository at this point in the history
PR rustwasm#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.
  • Loading branch information
wngr committed Aug 24, 2021
1 parent b780348 commit ac0d8b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/web-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,7 @@ WorkerGlobalScope = ["EventTarget"]
WorkerLocation = []
WorkerNavigator = []
WorkerOptions = []
WorkerType = []
Worklet = []
WorkletGlobalScope = []
WorkletOptions = []
Expand Down

0 comments on commit ac0d8b5

Please sign in to comment.