diff --git a/example/Cargo.lock b/example/Cargo.lock index e57d4c4..468ed2d 100644 --- a/example/Cargo.lock +++ b/example/Cargo.lock @@ -68,7 +68,7 @@ dependencies = [ "axum", "axum-wasm-macros", "futures", - "worker", + "worker 0.4.2", ] [[package]] @@ -797,7 +797,7 @@ dependencies = [ "tower-service", "url", "wasm-bindgen-futures", - "worker", + "worker 0.5.0", ] [[package]] @@ -983,8 +983,39 @@ dependencies = [ "wasm-streams", "web-sys", "worker-kv", - "worker-macros", - "worker-sys", + "worker-macros 0.4.2", + "worker-sys 0.4.2", +] + +[[package]] +name = "worker" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "727789ca7eff9733efbea9d0e97779edc1cf1926e98aee7d7d8afe32805458aa" +dependencies = [ + "async-trait", + "bytes", + "chrono", + "futures-channel", + "futures-util", + "http", + "http-body", + "js-sys", + "matchit", + "pin-project", + "serde", + "serde-wasm-bindgen 0.6.5", + "serde_json", + "serde_urlencoded", + "tokio", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", + "worker-kv", + "worker-macros 0.5.0", + "worker-sys 0.5.0", ] [[package]] @@ -1015,7 +1046,23 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "wasm-bindgen-macro-support", - "worker-sys", + "worker-sys 0.4.2", +] + +[[package]] +name = "worker-macros" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d625c24570ba9207a2617476013335f28a95cbe513e59bb814ffba092a18058" +dependencies = [ + "async-trait", + "proc-macro2", + "quote", + "syn 2.0.55", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-bindgen-macro-support", + "worker-sys 0.5.0", ] [[package]] @@ -1030,6 +1077,18 @@ dependencies = [ "web-sys", ] +[[package]] +name = "worker-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34563340d41016b4381257c5a16b0d2bc590dbe00500ecfbebcaa16f5f85ce90" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "write16" version = "1.0.0" diff --git a/example/Cargo.toml b/example/Cargo.toml index 4813099..efe0c9b 100644 --- a/example/Cargo.toml +++ b/example/Cargo.toml @@ -19,7 +19,7 @@ serde_json = "1.0.133" tower-service = "0.3.3" url = "2.5.4" wasm-bindgen-futures = "0.4.43" -worker = "^0.4.2" +worker = "^0.5.0" # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires