Skip to content

Commit

Permalink
Merge pull request #157 from Chia-Network/20241113-derivative
Browse files Browse the repository at this point in the history
Remove derivative as it became unmaintained
  • Loading branch information
prozacchiwawa authored Nov 13, 2024
2 parents e1f30fe + 52ed2f7 commit 530c5d2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 32 deletions.
23 changes: 0 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ bytestream = "0.4.1"
num-traits = "0.2.14"
lazy_static = "1.4.0"
unicode-segmentation = "1.8.0"
derivative = "2.2.0"
encoding8 = "0.3.2"
num = "0.4.3"
indoc = "1.0"
Expand Down
8 changes: 3 additions & 5 deletions src/classic/platform/argparse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,9 @@ impl IntConversion {
}
}

#[derive(Derivative, Clone)]
#[derivative(Debug)]
#[derive(Clone)]
pub struct Argument {
action: TArgOptionAction,
#[derivative(Debug = "ignore")]
typeofarg: Rc<dyn ArgumentValueConv>,
default: Option<ArgumentValue>,
help: String,
Expand Down Expand Up @@ -124,7 +122,7 @@ impl Default for Argument {
}
}

#[derive(Debug, Clone)]
#[derive(Clone)]
pub struct Arg {
names: Vec<String>,
options: Argument,
Expand All @@ -141,7 +139,7 @@ pub struct TArgumentParserProps {
pub prog: String,
}

#[derive(Debug, Clone)]
#[derive(Clone)]
pub struct ArgumentParser {
prog: String,
// desc: String,
Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#[macro_use]
extern crate lazy_static;

#[macro_use]
extern crate derivative;

#[macro_use]
extern crate indoc;

Expand Down

0 comments on commit 530c5d2

Please sign in to comment.