chore: update all rust editions to 2021 (#1979)

This commit is contained in:
DaniPopes 2022-12-30 13:48:29 +01:00 committed by GitHub
parent f94e6f549f
commit d272318483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 12 deletions

View File

@ -1,11 +1,12 @@
[package]
name = "ethers-contract-abigen"
version = "1.0.2"
edition = "2021"
rust-version = "1.64"
authors = [
"Nicholas Rodrigues Lordello <nlordell@gmail.com>",
"Georgios Konstantopoulos <me@gakonst.com>",
]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Code generation for type-safe bindings to Ethereum smart contracts"
homepage = "https://docs.rs/ethers"

View File

@ -1,11 +1,12 @@
[package]
name = "ethers-contract-derive"
version = "1.0.2"
edition = "2021"
rust-version = "1.64"
authors = [
"Nicholas Rodrigues Lordello <nlordell@gmail.com>",
"Georgios Konstantopoulos <me@gakonst.com>",
]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Proc macro for type-safe bindings generation to Ethereum and Celo smart contracts"
homepage = "https://docs.rs/ethers"

View File

@ -1,10 +1,10 @@
[package]
name = "ethers-core"
license = "MIT OR Apache-2.0"
version = "1.0.2"
edition = "2021"
rust-version = "1.64"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Core structures for the ethers-rs crate"
homepage = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"

View File

@ -1,7 +1,8 @@
[package]
name = "ethers-derive-eip712"
version = "1.0.2"
edition = "2018"
edition = "2021"
rust-version = "1.64"
description = "Custom derive macro for EIP-712 typed data"
license = "MIT OR Apache-2.0"
@ -11,7 +12,10 @@ proc-macro = true
[dependencies]
quote = "1.0.9"
syn = "1.0.77"
ethers-core = { version = "^1.0.0", path = "../", default-features = false, features = ["eip712", "macros"] }
ethers-core = { version = "^1.0.0", path = "../", default-features = false, features = [
"eip712",
"macros",
] }
hex = "0.4.3"
serde_json = "1.0.68"

View File

@ -1,13 +1,13 @@
[package]
name = "ethers-etherscan"
version = "1.0.2"
edition = "2021"
rust-version = "1.64"
authors = [
"Matthias Seitz <matthias.seitz@outlook.de>",
"Georgios Konstantopoulos <me@gakonst.com>",
]
license = "MIT OR Apache-2.0"
edition = "2018"
readme = "../README.md"
documentation = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"

View File

@ -1,7 +1,7 @@
[package]
name = "ethers-middleware"
version = "1.0.2"
edition = "2018"
edition = "2021"
rust-version = "1.64"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"

View File

@ -1,7 +1,7 @@
[package]
name = "ethers-providers"
version = "1.0.2"
edition = "2018"
edition = "2021"
rust-version = "1.64"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"

View File

@ -1,7 +1,7 @@
[package]
name = "ethers-signers"
version = "1.0.2"
edition = "2018"
edition = "2021"
rust-version = "1.64"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"

View File

@ -1,7 +1,7 @@
[package]
name = "ethers-solc"
version = "1.0.2"
edition = "2018"
edition = "2021"
rust-version = "1.64"
authors = [
"Matthias Seitz <matthias.seitz@outlook.de>",

View File

@ -1,7 +1,7 @@
[package]
name = "ethers-wasm"
version = "0.1.0"
edition = "2018"
edition = "2021"
rust-version = "1.64"
authors = ["Matthias Seitz <matthias.seitz@outlook.de>"]
license = "MIT OR Apache-2.0"