diff --git a/crates/compilers/Cargo.toml b/crates/compilers/Cargo.toml index 5da761c1..d5a2d9b7 100644 --- a/crates/compilers/Cargo.toml +++ b/crates/compilers/Cargo.toml @@ -35,7 +35,7 @@ tokio = { workspace = true, optional = true } auto_impl = "1" winnow = "0.6" dyn-clone = "1" -derivative = "2.2" +derive_more = { version = "1", features = ["debug"] } home = "0.5" dirs = "5.0" itertools = "0.13" diff --git a/crates/compilers/src/lib.rs b/crates/compilers/src/lib.rs index 0d50f39d..58f543fa 100644 --- a/crates/compilers/src/lib.rs +++ b/crates/compilers/src/lib.rs @@ -48,7 +48,6 @@ pub use foundry_compilers_core::{error, utils}; use cache::CompilerCache; use compile::output::contracts::VersionedContracts; use compilers::multi::MultiCompiler; -use derivative::Derivative; use foundry_compilers_artifacts::{ output_selection::OutputSelection, solc::{ @@ -67,8 +66,7 @@ use std::{ }; /// Represents a project workspace and handles `solc` compiling of all contracts in that workspace. -#[derive(Clone, Derivative)] -#[derivative(Debug)] +#[derive(Clone, derive_more::Debug)] pub struct Project< C: Compiler = MultiCompiler, T: ArtifactOutput = ConfigurableArtifacts, @@ -110,7 +108,7 @@ pub struct Project< /// This is a noop on other platforms pub slash_paths: bool, /// Optional sparse output filter used to optimize compilation. - #[derivative(Debug = "ignore")] + #[debug(skip)] pub sparse_output: Option>, }