Skip to content

Commit db4cee7

Browse files
Release 0.8.0
Co-authored-by: guybedford <598730+guybedford@users.noreply.github.com>
1 parent 5951828 commit db4cee7

34 files changed

Lines changed: 439 additions & 394 deletions

File tree

Cargo.lock

Lines changed: 400 additions & 346 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ web-sys = { version = "0.3.95", features = [
7474
"WritableStream",
7575
"WritableStreamDefaultWriter",
7676
] }
77-
worker = { version = "0.7.5", path = "worker", features = ["queue", "d1", "axum", "timezone"] }
77+
worker = { version = "0.8.0", path = "worker", features = ["queue", "d1", "axum", "timezone"] }
7878
worker-codegen = { path = "worker-codegen", version = "0.2.0" }
79-
worker-macros = { version = "0.7.5", path = "worker-macros", features = ["queue"] }
80-
worker-sys = { version = "0.7.5", path = "worker-sys", features = ["d1", "queue"] }
79+
worker-macros = { version = "0.8.0", path = "worker-macros", features = ["queue"] }
80+
worker-sys = { version = "0.8.0", path = "worker-sys", features = ["d1", "queue"] }
8181

8282
[profile.release]
8383
# rustc supports two "optimize for size" levels: opt-level = "s" and "z".
@@ -104,12 +104,3 @@ opt-level = "z"
104104

105105
# These are local patches we use to test against local wasm bindgen
106106
# We always align on the exact stable wasm bindgen version for releases
107-
[patch.crates-io]
108-
js-sys = { version = "0.3.95", path = './wasm-bindgen/crates/js-sys' }
109-
wasm-bindgen = { version = "0.2.118", path = './wasm-bindgen' }
110-
wasm-bindgen-cli-support = { version = "0.2.118", path = "./wasm-bindgen/crates/cli-support" }
111-
wasm-bindgen-futures = { version = "0.4.68", path = './wasm-bindgen/crates/futures' }
112-
wasm-bindgen-macro-support = { version = "0.2.118", path = "./wasm-bindgen/crates/macro-support" }
113-
wasm-bindgen-shared = { version = "0.2.118", path = "./wasm-bindgen/crates/shared" }
114-
wasm-bindgen-test = { version = "0.3.68", path = "./wasm-bindgen/crates/test" }
115-
web-sys = { version = "0.3.95", path = './wasm-bindgen/crates/web-sys' }

benchmark/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "workers-rs-benchmark"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66

examples/ai-image/wrangler.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ main = "build/worker/shim.mjs"
33
compatibility_date = "2026-01-01"
44

55
[build]
6-
command = "cargo install worker-build@^0.7 && worker-build --release"
6+
command = "cargo install worker-build@^0.8 && worker-build --release"
77

88
[ai]
99
binding = "AI"

examples/axum/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ release = false
1010
crate-type = ["cdylib"]
1111

1212
[dependencies]
13-
worker = { version = "0.7", features = ['http', 'axum'] }
14-
worker-macros = { version = "0.7", features = ['http'] }
13+
worker = { version = "0.8", features = ['http', 'axum'] }
14+
worker-macros = { version = "0.8", features = ['http'] }
1515
axum = { version = "0.8", default-features = false, features = ['json'] }
1616
axum-macros = "0.5.0"
1717
tower-service = "0.3.3"

examples/axum/wrangler.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name = "axum-on-workers"
22
main = "build/index.js"
33

44
[build]
5-
command = "cargo install \"worker-build@^0.7\" && worker-build --release"
5+
command = "cargo install \"worker-build@^0.8\" && worker-build --release"

examples/custom-req/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ release = false
1010
crate-type = ["cdylib"]
1111

1212
[dependencies]
13-
worker = "0.7"
13+
worker = "0.8"
1414
tracing = "0.1"
1515
tracing-web = "0.1"
1616
tracing-subscriber = { version = "0.3", features = ['time', 'json'] }

examples/custom-req/wrangler.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name = "custom-req-workers"
22
main = "build/index.js"
33

44
[build]
5-
command = "cargo install \"worker-build@^0.7\" && worker-build --release"
5+
command = "cargo install \"worker-build@^0.8\" && worker-build --release"

examples/digest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ release = false
1010
crate-type = ["cdylib"]
1111

1212
[dependencies]
13-
worker = "0.7"
13+
worker = "0.8"
1414
hex = "0.4"

examples/digest/wrangler.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name = "digest-stream-on-workers"
22
main = "build/index.js"
33

44
[build]
5-
command = "cargo install \"worker-build@^0.7\" && worker-build --release"
5+
command = "cargo install \"worker-build@^0.8\" && worker-build --release"

0 commit comments

Comments
 (0)