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

View File

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

View File

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

View File

@ -1,7 +1,8 @@
[package] [package]
name = "ethers-derive-eip712" name = "ethers-derive-eip712"
version = "1.0.2" version = "1.0.2"
edition = "2018" edition = "2021"
rust-version = "1.64"
description = "Custom derive macro for EIP-712 typed data" description = "Custom derive macro for EIP-712 typed data"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@ -11,7 +12,10 @@ proc-macro = true
[dependencies] [dependencies]
quote = "1.0.9" quote = "1.0.9"
syn = "1.0.77" 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" hex = "0.4.3"
serde_json = "1.0.68" serde_json = "1.0.68"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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