It'll just coerce closures as long as they're not capturing any vars so I've never had an issue with
It'll just coerce closures as long as they're not capturing any vars so I've never had an issue with it personally
npx wrangler generate <NEW_PROJECT_NAME> worker-rustnpx wrangler@3.0.0 generate cf worker-rust
remote: Repository not found.
npm init cloudflare@1 my-project worker-rustinit commands unfortunatelyworker to use a 0.2 version for wasm-bindgen so we can use wasm-bindgen-futures ?

Not Found response (instead of 522), I think that indicates the issue is not with the worker platform itself, and it seems the issue is either I'm not understanding something correctly or maybe a problem with the rust routing/pattern stuff? Does anyone have any suggestions? Thank you.Request using a RequestInit object/initfetch_with_strRequest::new_with_init("http://stub.com/init", ...)npx wrangler generate <NEW_PROJECT_NAME> worker-rustnpx wrangler@3.0.0 generate cf worker-rustremote: Repository not found.npm init cloudflare@1 my-project worker-rust0.2wasm-bindgenwasm-bindgen-futuresNot FoundRequestInit/initfetch_with_strRequest::new_with_init("http://stub.com/init", ...)# the following are all sent to https://api.example.com/*
curl https://api.example.com/ # OK
curl https://api.example.com # OK
curl --data-binary @email.txt https://api.example.com/ # JSON of a parsed email
curl --data-binary @email.txt https://api.example.com/text/ # JSON of a parsed email
# But when I try to use https://api.example.com/v1/email/parse/*
curl https://api.example.com/v1/email/parse/ # Not Found
curl https://api.example.com/v1/email/parse # Not Found
curl --data-binary @email.txt https://api.example.com/v1/email/parse # Not Found
curl --data-binary @email.txt https://api.example.com/v1/email/parse/text/ # Not Found .post_async("/" [...]
.post_async("/text/" [...]
.get_async("/" [...]let json = serde_json::to_string(&room_init)?;
let js_str = JsValue::from_str(&json);
let mut init = RequestInit::new();
init.with_method(Method::Put);
init.with_body(Some(js_str));
let req = Request::new_with_init("/init", &init)?;
room.fetch_with_request(req).await?;