Skip to content

Commit

Permalink
Modify 'README.md'
Browse files Browse the repository at this point in the history
  • Loading branch information
dxx committed Jun 5, 2022
1 parent 9c2be23 commit b8c5127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tokio = { version = "1", features = ["full"] }
Add `feignhttp` in your `Cargo.toml` and use default feature:

```toml
feignhttp = { version = "0.3" }
feignhttp = { version = "0.4" }
```

Then add the following code:
Expand All @@ -63,7 +63,7 @@ It will send get request to `https://api.github.com` and receive a plain text bo
Using non-default HTTP backend:

```toml
feignhttp = { version = "0.3", default-features = false, features = ["isahc-client"] }
feignhttp = { version = "0.4", default-features = false, features = ["isahc-client"] }
```

The `default-features = false` option disable default reqwest.
Expand Down

0 comments on commit b8c5127

Please sign in to comment.