Skip to content

Commit fd7bf46

Browse files
committed
fix readme panic hook reference
1 parent 9806fe7 commit fd7bf46

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ use worker::*;
182182

183183
#[event(fetch, respond_with_errors)]
184184
pub async fn main(req: Request, env: Env, _ctx: worker::Context) -> Result<Response> {
185-
utils::set_panic_hook();
186-
187185
let router = Router::new();
188186

189187
router
@@ -553,8 +551,7 @@ So give it a try, leave some feedback, and star the repo to encourage us to dedi
553551
resources to this kind of project.
554552

555553
If this is interesting to you and you want to help out, we’d be happy to get outside contributors
556-
started. We know there are improvements to be made such as compatibility with popular Rust HTTP
557-
ecosystem types (we have an example conversion for [Headers](https://github.com/cloudflare/workers-rs/blob/3d5876a1aca0a649209152d1ffd52dae7bccda87/libworker/src/headers.rs#L131-L167) if you want to make one), implementing additional Web APIs, utility crates,
554+
started. We know there are improvements to be made such as implementing additional APIs, utility crates,
558555
and more. In fact, we’re always on the lookout for great engineers, and hiring for many open roles -
559556
please [take a look](https://www.cloudflare.com/careers/).
560557

@@ -576,18 +573,6 @@ please [take a look](https://www.cloudflare.com/careers/).
576573
your code depends on, or strip as much from the `.wasm` binary as possible. Here are some extra
577574
steps you can try: https://rustwasm.github.io/book/reference/code-size.html#optimizing-builds-for-code-size
578575

579-
### ⚠️ Caveats
580-
581-
1. Upgrading worker package to version `0.0.18` and higher
582-
583-
- While upgrading your worker to version `0.0.18` an error "error[E0432]: unresolved import `crate::sys::IoSourceState`" can appear.
584-
In this case, upgrade `package.edition` to `edition = "2021"` in `wrangler.toml`
585-
586-
```toml
587-
[package]
588-
edition = "2021"
589-
```
590-
591576
# Releasing
592577

593578
1. [Trigger](https://github.com/cloudflare/workers-rs/actions/workflows/create-release-pr.yml) a workflow to create a release PR.

0 commit comments

Comments
 (0)