fix: dev deps
This commit is contained in:
parent
49c7b24fc8
commit
017db8ba11
13
Cargo.toml
13
Cargo.toml
|
@ -107,26 +107,21 @@ ethers-contract = { version = "^1.0.0", default-features = false, path = "./ethe
|
|||
"abigen",
|
||||
"eip712",
|
||||
] }
|
||||
ethers-providers = { version = "^1.0.0", default-features = false, path = "./ethers-providers", features = [
|
||||
"ws",
|
||||
] }
|
||||
tempfile = "3.3.0"
|
||||
|
||||
[target.'cfg(target_family = "unix")'.dev-dependencies]
|
||||
ethers-providers = { version = "^1.0.0", default-features = false, path = "./ethers-providers", features = [
|
||||
"ws",
|
||||
"ipc",
|
||||
] }
|
||||
|
||||
bytes = "1.4.0"
|
||||
eyre = "0.6"
|
||||
hex = "0.4.3"
|
||||
rand = "0.8.5"
|
||||
serde = { version = "1.0.124", features = ["derive"] }
|
||||
serde_json = "1.0.64"
|
||||
tempfile = "3.3.0"
|
||||
tokio = { version = "1.18", features = ["macros", "rt-multi-thread"] }
|
||||
hex = "0.4.3"
|
||||
bytes = "1.4.0"
|
||||
|
||||
# profile for the wasm example
|
||||
[profile.release.package.ethers-wasm]
|
||||
# Tell `rustc` to optimize for small code size.
|
||||
opt-level = "s"
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//! Instantiate `Geth` with Clique enabled.
|
||||
|
||||
use ethers::{
|
||||
core::{rand::thread_rng, utils::Geth},
|
||||
signers::LocalWallet,
|
||||
|
@ -5,7 +7,6 @@ use ethers::{
|
|||
use eyre::Result;
|
||||
|
||||
#[tokio::main]
|
||||
/// Shows how to instantiate a Geth with Clique enabled.
|
||||
async fn main() -> Result<()> {
|
||||
// Generate a random clique signer and set it on Geth.
|
||||
let data_dir = tempfile::tempdir().expect("should be able to create temp geth datadir");
|
||||
|
|
Loading…
Reference in New Issue