Skip to content

Commit

Permalink
Remove some unused deps (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Oct 7, 2022
1 parent ddfc06c commit 7968c41
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ num-bigint = "0.4"
tokio = { version = "1", features = ["full"] }
warp = "0.3"
clap_complete = "3.2.3"
prettyplease = "0.1.18"
rand = "0.8.5"
syn = { version = "1.0.99", features = ["parsing"] }
wasmparser = "0.90.0"
sha2 = "0.10.6"
csv = "1.1.6"
Expand Down
4 changes: 2 additions & 2 deletions src/gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub enum Error {
#[error("generate rust from file: {0}")]
GenerateRustFromFile(rust::GenerateFromFileError),
#[error("format rust error: {0}")]
FormatRust(syn::Error),
FormatRust(String),
#[error("generate json from file: {0}")]
GenerateJsonFromFile(json::GenerateFromFileError),
}
Expand All @@ -53,7 +53,7 @@ impl Cmd {
}
Err(e) => {
println!("{}", code);
Err(Error::FormatRust(e))
Err(Error::FormatRust(e.to_string()))
}
}
}
Expand Down

0 comments on commit 7968c41

Please sign in to comment.