diff --git a/Cargo.lock b/Cargo.lock index 32459740cf..d905111ac3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -765,16 +765,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ctor" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f34ba9a9bcb8645379e9de8cb3ecfcf4d1c85ba66d90deb3259206fa5aa193b" -dependencies = [ - "quote", - "syn 2.0.23", -] - [[package]] name = "ctr" version = "0.9.2" @@ -2905,7 +2895,7 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755" dependencies = [ - "ctor 0.1.26", + "ctor", "diff", "output_vt100", "yansi", @@ -3960,7 +3950,6 @@ dependencies = [ "anyhow", "bus-mapping", "clap", - "ctor 0.2.4", "env_logger", "eth-types", "ethers-core", @@ -4663,7 +4652,7 @@ dependencies = [ "array-init", "bus-mapping", "cli-table", - "ctor 0.1.26", + "ctor", "ecc", "ecdsa 0.1.0", "env_logger", diff --git a/testool/Cargo.toml b/testool/Cargo.toml index 0eba95127a..ee8e6b0f7b 100644 --- a/testool/Cargo.toml +++ b/testool/Cargo.toml @@ -34,7 +34,6 @@ rand_chacha = "0.3" rand = "0.8" halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2023_04_20" } urlencoding = "2.1.2" -ctor = "0.2.4" [features] diff --git a/testool/src/utils.rs b/testool/src/utils.rs index 9907220996..35a4d312ba 100644 --- a/testool/src/utils.rs +++ b/testool/src/utils.rs @@ -213,10 +213,3 @@ mod test { .expect("can parse network")); } } - -#[cfg(test)] -#[ctor::ctor] -fn init_env_logger() { - // Enable RUST_LOG during tests - env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("error")).init(); -}