Skip to content

Commit

Permalink
chore: remove derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Dec 9, 2024
1 parent 41ba744 commit 3222a50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/compilers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 2 additions & 4 deletions crates/compilers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand All @@ -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<CompilerContract = C::CompilerContract> = ConfigurableArtifacts,
Expand Down Expand Up @@ -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<Box<dyn FileFilter>>,
}

Expand Down

0 comments on commit 3222a50

Please sign in to comment.