# Async reqwest - set User Agent


```
cargo add reqwest -F json
cargo add tokio -F full
```

## Cargo.toml

{% embed include file="src/examples/reqwest/async-reqwest-set-user-agent/Cargo.toml" %}

## The code

{% embed include file="src/examples/reqwest/async-reqwest-set-user-agent/src/main.rs" %}

