mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 05:47:58 +00:00
Prune some duplicate dependencies (#4219)
* Prune some duplicate dependencies * Remove ed25519-dalek 0.9.1 * Remove hex 0.3.2 * Remove parity-wasm 0.40.3 * Remove pwasm-utils 0.11.0 * Remove wasmi-validation 0.2.0 * Remove quickcheck 0.8.5 * Remove tempdir (Replace tempdir with tempfile) Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Remove useless tempdir_with_prefix Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Remove derive_more 0.15 Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
committed by
Bastian Köcher
parent
a782021ee8
commit
4a21f9bbfd
@@ -969,7 +969,6 @@ fn kill_color(s: &str) -> String {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use tempdir::TempDir;
|
||||
use network::config::identity::ed25519;
|
||||
|
||||
#[test]
|
||||
@@ -1018,7 +1017,7 @@ mod tests {
|
||||
fn secret_file(net_config_dir: Option<String>) -> error::Result<()> {
|
||||
NodeKeyType::variants().into_iter().try_for_each(|t| {
|
||||
let node_key_type = NodeKeyType::from_str(t).unwrap();
|
||||
let tmp = TempDir::new("alice")?;
|
||||
let tmp = tempfile::Builder::new().prefix("alice").tempdir()?;
|
||||
let file = tmp.path().join(format!("{}_mysecret", t)).to_path_buf();
|
||||
let params = NodeKeyParams {
|
||||
node_key_type,
|
||||
|
||||
Reference in New Issue
Block a user