Skip to content

Commit

Permalink
Merge branch 'master' into batch-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw committed Mar 27, 2023
2 parents 568c2c0 + eadfdd8 commit 786ff37
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "web3"
version = "0.19.0"
version = "0.19.1"
description = "Ethereum JSON-RPC client."
homepage = "https://github.com/tomusdrw/rust-web3"
repository = "https://github.com/tomusdrw/rust-web3"
Expand All @@ -19,7 +19,7 @@ ethereum-types = "0.13.0"
futures = "0.3.5"
futures-timer = "3.0.2"
hex = "0.4"
idna = "0.2"
idna = "0.3"
jsonrpc-core = "18.0.0"
log = "0.4.6"
parking_lot = "0.12.0"
Expand All @@ -29,11 +29,11 @@ serde_json = "1.0.39"
tiny-keccak = { version = "2.0.1", features = ["keccak"] }
pin-project = "1.0"
# Optional deps
secp256k1 = { version = "0.21", features = ["recovery"], optional = true }
secp256k1 = { version = "0.27", features = ["recovery"], optional = true }
once_cell = { version = "1.8.0", optional = true }

## HTTP
base64 = { version = "0.13", optional = true }
base64 = { version = "0.21", optional = true }
bytes = { version = "1.0", optional = true }
reqwest = { version = "0.11", optional = true, default-features = false, features = ["json"] }
headers = { version = "0.3", optional = true }
Expand All @@ -58,7 +58,7 @@ wasm-bindgen-futures = { version = "0.4.18", optional = true }

[dev-dependencies]
# For examples
env_logger = "0.9"
env_logger = "0.10"
hex-literal = "0.3"
wasm-bindgen-test = "0.3.19"

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Rust implementation of Web3.js library.

Documentation: [crates.io][docs-rs-url]

## Status

Note this package is **barely maintained** and I am looking for an active maintainer (see #664).
If you are starting a new project, I'd recommend choosing https://github.com/gakonst/ethers-rs instead.

## Usage

First, add this to your `Cargo.toml`:
Expand Down
2 changes: 1 addition & 1 deletion src/signing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ mod feature_gated {
pub trait Key {
/// Sign given message and include chain-id replay protection.
///
/// When a chain ID is provided, the `Signature`'s V-value will have chain relay
/// When a chain ID is provided, the `Signature`'s V-value will have chain replay
/// protection added (as per EIP-155). Otherwise, the V-value will be in
/// 'Electrum' notation.
fn sign(&self, message: &[u8], chain_id: Option<u64>) -> Result<Signature, SigningError>;
Expand Down

0 comments on commit 786ff37

Please sign in to comment.