Skip to content

Commit

Permalink
README: add serde imports (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiskevinwang committed May 12, 2024
1 parent 5b06a8e commit 8e24a87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Parameterize routes and access the parameter values from within a handler. Each
`Request`, and a `RouteContext`. The `RouteContext` has shared data, route params, `Env` bindings, and more.

```rust
use serde::{Deserialize, Serialize};
use worker::*;

#[event(fetch)]
Expand Down

0 comments on commit 8e24a87

Please sign in to comment.