docs: add MSRV (#1712)

This commit is contained in:
DaniPopes 2022-09-18 17:45:45 +02:00 committed by GitHub
parent e034a8f979
commit 3926749213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 90 additions and 50 deletions

1
.clippy.toml Normal file
View File

@ -0,0 +1 @@
msrv = "1.62"

View File

@ -1,16 +1,15 @@
[package]
name = "ethers"
version = "0.17.0"
edition = "2021"
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
edition = "2021"
readme = "README.md"
documentation = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
homepage = "https://docs.rs/ethers"
description = """
Complete Ethereum library and wallet implementation in Rust.
"""
description = "Complete Ethereum library and wallet implementation in Rust."
[workspace]
members = [
@ -22,7 +21,7 @@ members = [
"ethers-middleware",
"ethers-etherscan",
"ethers-solc",
"examples/ethers-wasm",
"examples/ethers-wasm"
]
default-members = [
@ -33,7 +32,7 @@ default-members = [
"ethers-core",
"ethers-middleware",
"ethers-etherscan",
"ethers-solc",
"ethers-solc"
]
[package.metadata.docs.rs]
@ -55,10 +54,7 @@ celo = [
"legacy"
]
legacy = [
"ethers-core/legacy",
"ethers-contract/legacy"
]
legacy = ["ethers-core/legacy", "ethers-contract/legacy"]
# individual features per sub-crate
## core
@ -66,8 +62,18 @@ eip712 = ["ethers-contract/eip712", "ethers-core/eip712"]
## providers
ws = ["ethers-providers/ws"]
ipc = ["ethers-providers/ipc"]
rustls = ["ethers-providers/rustls", "ethers-etherscan/rustls", "ethers-contract/rustls", "ethers-solc/rustls"]
openssl = ["ethers-providers/openssl", "ethers-etherscan/openssl", "ethers-contract/openssl", "ethers-solc/openssl"]
rustls = [
"ethers-providers/rustls",
"ethers-etherscan/rustls",
"ethers-contract/rustls",
"ethers-solc/rustls"
]
openssl = [
"ethers-providers/openssl",
"ethers-etherscan/openssl",
"ethers-contract/openssl",
"ethers-solc/openssl"
]
dev-rpc = ["ethers-providers/dev-rpc"]
## signers
ledger = ["ethers-signers/ledger"]
@ -93,11 +99,19 @@ ethers-solc = { version = "^0.17.0", default-features = false, path = "./ethers-
ethers-etherscan = { version = "^0.17.0", default-features = false, path = "./ethers-etherscan" }
[dev-dependencies]
ethers-contract = { version = "^0.17.0", default-features = false, path = "./ethers-contract", features = ["abigen", "eip712"] }
ethers-providers = { version = "^0.17.0", default-features = false, path = "./ethers-providers", features = ["ws"] }
ethers-contract = { version = "^0.17.0", default-features = false, path = "./ethers-contract", features = [
"abigen",
"eip712"
] }
ethers-providers = { version = "^0.17.0", default-features = false, path = "./ethers-providers", features = [
"ws"
] }
[target.'cfg(target_family = "unix")'.dev-dependencies]
ethers-providers = { version = "^0.17.0", default-features = false, path = "./ethers-providers", features = ["ws", "ipc"] }
ethers-providers = { version = "^0.17.0", default-features = false, path = "./ethers-providers", features = [
"ws",
"ipc"
] }
eyre = "0.6"
rand = "0.8.5"
serde = { version = "1.0.124", features = ["derive"] }
@ -106,13 +120,11 @@ tokio = { version = "1.18", features = ["macros", "rt-multi-thread"] }
hex = "0.4.3"
bytes = "1.2.1"
# profile for the wasm example
[profile.release.package.ethers-wasm]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
[[example]]
name = "abigen"
path = "examples/abigen.rs"

View File

@ -2,8 +2,9 @@
name = "ethers-addressbook"
version = "0.17.0"
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
description = "Common Ethereum name to address mappings"
homepage = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"

View File

@ -1,9 +1,10 @@
[package]
name = "ethers-contract"
license = "MIT OR Apache-2.0"
version = "0.17.0"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
description = "Smart contract bindings for the ethers-rs crate"
homepage = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
@ -12,7 +13,7 @@ keywords = ["ethereum", "web3", "celo", "ethers"]
[dependencies]
ethers-providers = { version = "^0.17.0", path = "../ethers-providers", default-features = false }
ethers-core = { version = "^0.17.0", path = "../ethers-core", default-features = false }
ethers-contract-abigen = { version = "^0.17.0", path = "ethers-contract-abigen", default-features = false, optional = true }
ethers-contract-abigen = { version = "^0.17.0", path = "ethers-contract-abigen", default-features = false, optional = true }
ethers-contract-derive = { version = "^0.17.0", path = "ethers-contract-derive", optional = true }
ethers-derive-eip712 = { version = "^0.17.0", path = "../ethers-core/ethers-derive-eip712", optional = true }
@ -20,18 +21,22 @@ serde = { version = "1.0.124", default-features = false }
serde_json = { version = "1.0.64", default-features = false }
thiserror = { version = "1.0", default-features = false }
once_cell = { version = "1.14.0" }
pin-project = {version = "1.0.11", default-features = false }
pin-project = { version = "1.0.11", default-features = false }
futures-util = { version = "^0.3" }
hex = { version = "0.4.3", default-features = false, features = ["std"] }
[dev-dependencies]
ethers-middleware = { version = "^0.17.0", path = "../ethers-middleware" }
ethers-providers = { version = "^0.17.0", path = "../ethers-providers", default-features = false, features = ["ws"] }
ethers-providers = { version = "^0.17.0", path = "../ethers-providers", default-features = false, features = [
"ws"
] }
ethers-signers = { version = "^0.17.0", path = "../ethers-signers" }
ethers-contract-abigen = { version = "^0.17.0", path = "ethers-contract-abigen" }
ethers-contract-derive = { version = "^0.17.0", path = "ethers-contract-derive" }
ethers-core = { version = "^0.17.0", path = "../ethers-core", default-features = false, features = ["eip712"]}
ethers-derive-eip712 = { version = "^0.17.0", path = "../ethers-core/ethers-derive-eip712"}
ethers-core = { version = "^0.17.0", path = "../ethers-core", default-features = false, features = [
"eip712"
] }
ethers-derive-eip712 = { version = "^0.17.0", path = "../ethers-core/ethers-derive-eip712" }
ethers-solc = { version = "^0.17.0", path = "../ethers-solc", default-features = false }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]

View File

@ -2,6 +2,7 @@
name = "ethers-core"
license = "MIT OR Apache-2.0"
version = "0.17.0"
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
description = "Core structures for the ethers-rs crate"

View File

@ -1,7 +1,11 @@
[package]
name = "ethers-etherscan"
version = "0.17.0"
authors = ["Matthias Seitz <matthias.seitz@outlook.de>", "Georgios Konstantopoulos <me@gakonst.com>"]
rust-version = "1.62"
authors = [
"Matthias Seitz <matthias.seitz@outlook.de>",
"Georgios Konstantopoulos <me@gakonst.com>"
]
license = "MIT OR Apache-2.0"
edition = "2018"
readme = "../README.md"

View File

@ -1,9 +1,10 @@
[package]
name = "ethers-middleware"
license = "MIT OR Apache-2.0"
version = "0.17.0"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
description = "Middleware implementations for the ethers-rs crate"
homepage = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
@ -34,7 +35,7 @@ reqwest = { version = "0.11.11", default-features = false, features = ["json", "
url = { version = "2.3.1", default-features = false }
serde_json = { version = "1.0.64", default-features = false }
instant = {version = "0.1.12", features = ["now"] }
instant = { version = "0.1.12", features = ["now"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.18" }
@ -42,7 +43,10 @@ tokio = { version = "1.18" }
[dev-dependencies]
hex = { version = "0.4.3", default-features = false, features = ["std"] }
rand = { version = "0.8.5", default-features = false }
ethers-providers = { version = "^0.17.0", path = "../ethers-providers", default-features = false, features = ["ws", "rustls"] }
ethers-providers = { version = "^0.17.0", path = "../ethers-providers", default-features = false, features = [
"ws",
"rustls"
] }
once_cell = "1.14.0"
ethers-solc = { version = "^0.17.0", path = "../ethers-solc" }
serial_test = "0.9.0"

View File

@ -1,9 +1,10 @@
[package]
name = "ethers-providers"
license = "MIT OR Apache-2.0"
version = "0.17.0"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
description = "Provider implementations for the ethers-rs crate"
homepage = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
@ -38,21 +39,22 @@ pin-project = { version = "1.0.11", default-features = false }
tracing = { version = "0.1.36", default-features = false }
tracing-futures = { version = "0.2.5", default-features = false, features = ["std-future"] }
bytes = { version = "1.2.1", default-features = false, optional = true }
bytes = { version = "1.2.1", default-features = false, optional = true }
once_cell = "1.14.0"
hashers = "1.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# tokio
tokio = { version = "1.18", features = ["time"] }
tokio-tungstenite = { version = "0.17.2", default-features = false, features = ["connect"], optional = true }
tokio-tungstenite = { version = "0.17.2", default-features = false, features = [
"connect"
], optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
ws_stream_wasm = "0.7"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["console"] }
web-sys = { version = "0.3", features = ["console"] }
wasm-timer = "0.2"
# this is currently necessary for `wasm-timer::Delay` to work
parking_lot = { version = "0.11", features = ["wasm-bindgen"] }

View File

@ -1,9 +1,10 @@
[package]
name = "ethers-signers"
license = "MIT OR Apache-2.0"
version = "0.17.0"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
description = "Signer implementations for the ethers-rs crate"
homepage = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
@ -14,7 +15,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
ethers-core = { version = "^0.17.0", path = "../ethers-core", features = ["eip712"]}
ethers-core = { version = "^0.17.0", path = "../ethers-core", features = ["eip712"] }
thiserror = { version = "1.0.35", default-features = false }
coins-bip32 = "0.7.0"
coins-bip39 = "0.7.0"
@ -27,8 +28,10 @@ rand = { version = "0.8.5", default-features = false }
yubihsm = { version = "0.41.0", features = ["secp256k1", "http", "usb"], optional = true }
futures-util = { version = "^0.3", optional = true }
futures-executor = { version = "^0.3", optional = true }
semver = { version = "1.0.14", optional = true }
trezor-client = { version = "0.0.6", optional = true, default-features = false, features = ["f_ethereum"] }
semver = { version = "1.0.14", optional = true }
trezor-client = { version = "0.0.6", optional = true, default-features = false, features = [
"f_ethereum"
] }
# aws
rusoto_core = { version = "0.48.0", optional = true }
@ -41,7 +44,10 @@ eth-keystore = { version = "0.5.0" }
home = { version = "0.5.3", optional = true }
[dev-dependencies]
ethers-contract = { version = "^0.17.0", path = "../ethers-contract", features = ["eip712", "abigen"]}
ethers-contract = { version = "^0.17.0", path = "../ethers-contract", features = [
"eip712",
"abigen"
] }
ethers-derive-eip712 = { version = "^0.17.0", path = "../ethers-core/ethers-derive-eip712" }
serde_json = { version = "1.0.64" }
tracing-subscriber = "0.3.15"

View File

@ -1,16 +1,18 @@
[package]
name = "ethers-solc"
version = "0.17.0"
authors = ["Matthias Seitz <matthias.seitz@outlook.de>", "Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.62"
authors = [
"Matthias Seitz <matthias.seitz@outlook.de>",
"Georgios Konstantopoulos <me@gakonst.com>"
]
license = "MIT OR Apache-2.0"
readme = "../README.md"
documentation = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
homepage = "https://docs.rs/ethers"
description = """
Utilites for working with solc
"""
description = "Utilites for working with solc"
keywords = ["ethereum", "web3", "solc", "solidity", "ethers"]
[dependencies]
@ -43,8 +45,10 @@ cfg-if = "1.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
home = "0.5.3"
svm = { package = "svm-rs", version = "0.2.16", default-features = false, optional = true, features = ["blocking"] }
svm-builds = { package = "svm-rs-builds", version = "0.1.8", optional = true}
svm = { package = "svm-rs", version = "0.2.16", default-features = false, optional = true, features = [
"blocking"
] }
svm-builds = { package = "svm-rs-builds", version = "0.1.8", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: this enables wasm compatibility for getrandom indirectly
@ -53,7 +57,7 @@ getrandom = { version = "0.2", features = ["js"] }
[dev-dependencies]
criterion = { version = "0.3", features = ["async_tokio"] }
env_logger = "*"
tracing-subscriber = {version = "0.3", default-features = false, features = ["env-filter", "fmt"]}
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
rand = "0.8.5"
pretty_assertions = "1.3.0"
tempfile = "3.3.0"