Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,17 @@ Run dev server:
## Development

This project includes a way to build code examples to ensure that they can compile eg:

```
\```rust name="push" mode="inline"
let task = Email {
recipient: "main@example.com".to_string(),
message: "Welcome to our new service".to_string()
};
storage.push(task).await?;
\```
```


```
\```rust fileName="main.rs" mode="compile"
use apalis::prelude::*;

Expand All @@ -45,7 +46,7 @@ async fn main() -> Result<(), BoxDynError> {
// [!code inline:push]
}
\```

```
This would generate:


Expand Down
Loading