Skip to content

Commit

Permalink
readme upgrade to 0.18.0 (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
99Kies committed Jun 2, 2023
1 parent 2752ded commit 004b545
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ First, add this to your `Cargo.toml`:

```toml
[dependencies]
web3 = "0.17.0"
web3 = "0.18.0"
```

## Example
Expand Down Expand Up @@ -109,15 +109,15 @@ web3.api::<CustomNamespace>().custom_method().wait().unwrap()
Currently, Windows does not support IPC, which is enabled in the library by default.
To compile, you need to disable the IPC feature:
```
web3 = { version = "0.17.0", default-features = false, features = ["http"] }
web3 = { version = "0.18.0", default-features = false, features = ["http"] }
```

# Avoiding OpenSSL dependency

On Linux, `native-tls` is implemented using OpenSSL. To avoid that dependency
for HTTPS use the corresponding feature.
```
web3 = { version = "0.17.0", default-features = false, features = ["http-rustls-tls"] }
web3 = { version = "0.18.0", default-features = false, features = ["http-rustls-tls"] }
```

# Cargo Features
Expand Down

0 comments on commit 004b545

Please sign in to comment.