Update deps and adapt code (#893)

* build: Update deps and adapt code

* docs: Update changelog

* feat: Review comments
This commit is contained in:
Sergio Gasquez Arcos 2025-06-19 13:25:46 +02:00 committed by GitHub
parent 2c56b23fdf
commit d532c03eb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 818 additions and 523 deletions

View File

@ -54,6 +54,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `detect_chip` has moved to the `Connection` struct (#882)
- `Flasher::into_serial` has been replaced by `Flasher::into_connection` (#882)
- Automatically migrate `espflash@3` configuration files to the new format (#883)
- Update dependencies to their latest versions (#893)
### Fixed

1276
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -21,11 +21,11 @@ bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "zip"
[dependencies]
cargo_metadata = "0.19.1"
clap = { version = "4.5.24", features = ["derive", "wrap_help"] }
cargo_metadata = "0.20.0"
clap = { version = "4.5.40", features = ["derive", "wrap_help"] }
espflash = { version = "4.0.0-dev", path = "../espflash" }
log = "0.4.22"
miette = { version = "7.4.0", features = ["fancy"] }
serde = { version = "1.0.217", features = ["derive"] }
thiserror = "2.0.10"
toml = "0.8.19"
log = "0.4.27"
miette = { version = "7.6.0", features = ["fancy"] }
serde = { version = "1.0.219", features = ["derive"] }
thiserror = "2.0.12"
toml = "0.8.23"

View File

@ -545,7 +545,7 @@ fn build(
continue;
};
if package.name != "esp-idf-sys" {
if package.name.as_str() != "esp-idf-sys" {
continue;
}

View File

@ -36,7 +36,10 @@ impl PackageMetadata {
metadata
.packages
.iter()
.find(|package| Some(package.name.clone()) == *package_name)
.find(|package| match package_name {
Some(name) => package.name.as_str() == *name,
None => false,
})
.cloned()
};

View File

@ -27,36 +27,36 @@ required-features = ["cli", "serialport"]
[dependencies]
addr2line = { version = "=0.22.0", optional = true }
base64 = "0.22.1"
bitflags = "2.9.0"
bytemuck = { version = "1.21.0", features = ["derive"] }
clap = { version = "4.5.24", features = ["derive", "env", "wrap_help"], optional = true }
clap_complete = { version = "4.5.41", optional = true }
comfy-table = { version = "7.1.3", optional = true }
bitflags = "2.9.1"
bytemuck = { version = "1.23.1", features = ["derive"] }
clap = { version = "4.5.40", features = ["derive", "env", "wrap_help"], optional = true }
clap_complete = { version = "4.5.54", optional = true }
comfy-table = { version = "7.1.4", optional = true }
crossterm = { version = "0.28.1", optional = true }
ctrlc = { version = "3.4.5", optional = true }
defmt-decoder = { version = "=0.4.0", features = ["unstable"], optional = true }
ctrlc = { version = "3.4.7", optional = true }
defmt-decoder = { version = "1.0.0", features = ["unstable"], optional = true }
dialoguer = { version = "0.11.0", optional = true }
directories = { version = "5.0.1", optional = true }
env_logger = { version = "0.11.6", optional = true }
directories = { version = "6.0.0", optional = true }
env_logger = { version = "0.11.8", optional = true }
esp-idf-part = "0.6.0"
flate2 = "1.0.35"
indicatif = { version = "0.17.9", optional = true }
log = "0.4.22"
flate2 = "1.1.2"
indicatif = { version = "0.17.11", optional = true }
log = "0.4.27"
md-5 = "0.10.6"
miette = "7.4.0"
object = "0.36.7"
miette = "7.6.0"
object = "0.37.1"
regex = { version = "1.11.1", optional = true }
serde = { version = "1.0.217", features = ["derive"] }
serialport = { version = "4.7.0", default-features = false, optional = true }
sha2 = "0.10.8"
serde = { version = "1.0.219", features = ["derive"] }
serialport = { version = "4.7.2", default-features = false, optional = true }
sha2 = "0.10.9"
slip-codec = { version = "0.4.0", optional = true }
strum = { version = "0.26.3", features = ["derive"] }
thiserror = "2.0.10"
toml = { version = "0.8.19", optional = true }
strum = { version = "0.27.1", features = ["derive"] }
thiserror = "2.0.12"
toml = { version = "0.8.23", optional = true }
update-informer = { version = "1.2.0", optional = true }
[target.'cfg(unix)'.dependencies]
libc = "0.2.169"
libc = "0.2.174"
[features]
default = ["cli"]