Skip to content

Commit

Permalink
Improve implementation of example JobQueues (#4111)
Browse files Browse the repository at this point in the history
* Improve implementation of example `JobQueue`s

* Rename example files

* Rewrite examples again
  • Loading branch information
jedel1043 authored Jan 9, 2025
1 parent ce6cfa8 commit a235976
Show file tree
Hide file tree
Showing 8 changed files with 863 additions and 435 deletions.
424 changes: 272 additions & 152 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ getrandom = { version = "0.2.15", default-features = false }
console_error_panic_hook = "0.1.7"
wasm-bindgen-test = "0.3.47"
smol = "2.0.2"
futures-util = "0.3.31"
isahc = "1.7.2"
rustyline = { version = "15.0.0", default-features = false }
dhat = "0.3.3"
Expand Down Expand Up @@ -120,6 +119,9 @@ futures-lite = "2.5.0"
test-case = "3.3.1"
winapi = { version = "0.3.9", default-features = false }
url = "2.5.4"
tokio = { version = "1.42.0", default-features = false }
futures-concurrency = "7.6.2"


# ICU4X

Expand Down
3 changes: 2 additions & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ boa_parser.workspace = true
boa_runtime.workspace = true
time.workspace = true
smol.workspace = true
futures-util.workspace = true
futures-concurrency.workspace = true
isahc.workspace = true
tokio = { workspace = true, features = ["rt", "rt-multi-thread", "time", "macros"] }

# use explicit lints for examples, since we don't need to lint for docs
[lints.rust]
Expand Down
200 changes: 0 additions & 200 deletions examples/src/bin/futures.rs

This file was deleted.

Loading

0 comments on commit a235976

Please sign in to comment.