diff --git a/cargo-espflash/Cargo.toml b/cargo-espflash/Cargo.toml index 08bc2f2e..8eda9ac4 100644 --- a/cargo-espflash/Cargo.toml +++ b/cargo-espflash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-espflash" -version = "1.1.0" +version = "1.2.0" authors = [ "Robin Appelman ", "Jesse Braham ", @@ -27,8 +27,7 @@ categories = [ [dependencies] cargo_metadata = "0.14" cargo_toml = "0.10" -clap = "3.0.0-rc.1" -clap_derive = "3.0.0-rc.1" +clap = { version = "3.0.0-rc.1", features = ["derive"] } crossterm = "0.22" espflash = { version = "1", path = "../espflash" } miette = { version = "3", features = ["fancy"] } diff --git a/cargo-espflash/src/main.rs b/cargo-espflash/src/main.rs index 9a1424f9..526abf5d 100644 --- a/cargo-espflash/src/main.rs +++ b/cargo-espflash/src/main.rs @@ -6,8 +6,7 @@ use std::{ }; use cargo_metadata::Message; -use clap::{AppSettings, Parser as _}; -use clap_derive::Parser; +use clap::{AppSettings, Parser}; use espflash::{ cli::{clap::*, connect, monitor::monitor}, Chip, Config, FirmwareImage, ImageFormatId, PartitionTable, diff --git a/espflash/Cargo.toml b/espflash/Cargo.toml index d51fbc36..287560d6 100644 --- a/espflash/Cargo.toml +++ b/espflash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "espflash" -version = "1.1.0" +version = "1.2.0" authors = ["Robin Appelman "] edition = "2018" rust-version = "1.56" @@ -22,7 +22,7 @@ indicatif = "0.16" md5 = "0.7" clap = { version = "3.0.0-rc.1", features = ["derive"] } serialport = "4" -sha2 = "0.9" +sha2 = "0.10" slip-codec = "0.3" thiserror = "1" xmas-elf = "0.8"