-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issues with Request.clone in http types #440
Changes from 5 commits
fb27810
d862599
e7caadc
a655664
a480f94
709caa0
e958265
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,11 @@ use std::{ | |
use router_service::unsync::Router; | ||
use serde::{Deserialize, Serialize}; | ||
use tower::Service; | ||
use worker::{body::Body, http::{Response, HttpClone, RequestRedirect}, *}; | ||
use worker::{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ran cargo fmt |
||
body::Body, | ||
http::{HttpClone, RequestRedirect, Response}, | ||
*, | ||
}; | ||
|
||
mod alarm; | ||
mod counter; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,10 @@ serde = { version = "1.0.164", features = ["derive"] } | |
serde_json = "1.0.96" | ||
tokio = { version = "1.28", default-features = false } | ||
url = "2.4.0" | ||
wasm-bindgen = "=0.2.86" | ||
wasm-bindgen = {workspace=true} | ||
wasm-bindgen-futures = "0.4.36" | ||
serde-wasm-bindgen = "0.5.0" | ||
wasm-streams = "0.3.0" | ||
wasm-streams = "0.4.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This had to be bumped due to incompatibility in ReadableStream types in the prior version (now re-exports web_sys types). |
||
worker-kv = "0.6.0" | ||
worker-macros = { path = "../worker-macros", version = "0.0.9" } | ||
worker-sys = { path = "../worker-sys", version = "0.0.9" } | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will be easier to set this at the workspace level.