Prepare 0.14.1 release (#483)

* build: Bump dependencies

* docs: Update changelog

* feat: Update ubuntu runners

* feat: Bump msrv

* fix: Clippy lint
This commit is contained in:
Sergio Gasquez Arcos 2025-03-04 16:02:42 +01:00 committed by GitHub
parent 73f972cfba
commit 7a0d827db1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 322 additions and 385 deletions

View File

@ -19,7 +19,7 @@ env:
jobs: jobs:
audit: audit:
name: Security audit name: Security audit
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@ -18,12 +18,12 @@ jobs:
job: job:
- os: macos-latest - os: macos-latest
target: x86_64-apple-darwin target: x86_64-apple-darwin
- os: ubuntu-20.04 - os: ubuntu-22.04
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
- os: windows-latest - os: windows-latest
target: x86_64-pc-windows-msvc target: x86_64-pc-windows-msvc
binary-postfix: ".exe" binary-postfix: ".exe"
- os: ubuntu-20.04 - os: ubuntu-22.04
target: aarch64-unknown-linux-gnu target: aarch64-unknown-linux-gnu
- os: macos-latest - os: macos-latest
target: aarch64-apple-darwin target: aarch64-apple-darwin
@ -70,7 +70,7 @@ jobs:
publish-cratesio: publish-cratesio:
name: Publishing to Crates.io name: Publishing to Crates.io
needs: publish-release needs: publish-release
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@ -31,7 +31,7 @@ jobs:
job: job:
- os: macos-latest - os: macos-latest
os-name: macos os-name: macos
- os: ubuntu-20.04 - os: ubuntu-22.04
os-name: linux os-name: linux
- os: windows-latest - os: windows-latest
os-name: windows os-name: windows
@ -62,7 +62,7 @@ jobs:
run: cargo ${{ matrix.action.command }} ${{ matrix.action.args }} run: cargo ${{ matrix.action.command }} ${{ matrix.action.args }}
msrv: msrv:
name: MSRV check name: MSRV check
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
steps: steps:
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -74,7 +74,7 @@ jobs:
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: 1.74.1 toolchain: 1.81.0
- name: Enable caching - name: Enable caching
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
- name: Cargo check - name: Cargo check

View File

@ -8,16 +8,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added ### Added
- Add support for LLVM esp-19.1.2_20250225 (#477, #479)
### Fixed ### Fixed
- Return an error if GET request fails (#471)
- Fix RISC-V install fail (#480)
### Changed ### Changed
### Removed ### Removed
## [0.14.1] - 2025-03-04
### Added
- Add support for LLVM esp-19.1.2_20250225 (#477, #479)
### Fixed
- Return an error if GET request fails (#471)
- Fix RISC-V installation error (#480)
## [0.14.0] - 2024-12-17 ## [0.14.0] - 2024-12-17
### Added ### Added
@ -156,7 +163,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.0] - 2022-10-07 ## [0.1.0] - 2022-10-07
[Unreleased]: https://github.com/esp-rs/espup/compare/v0.14.0...HEAD [Unreleased]: https://github.com/esp-rs/espup/compare/v0.14.1...HEAD
[0.14.1]: https://github.com/esp-rs/espup/compare/v0.14.0...v0.14.1
[0.14.0]: https://github.com/esp-rs/espup/compare/v0.13.0...v0.14.0 [0.14.0]: https://github.com/esp-rs/espup/compare/v0.13.0...v0.14.0
[0.13.0]: https://github.com/esp-rs/espup/compare/v0.12.2...v0.13.0 [0.13.0]: https://github.com/esp-rs/espup/compare/v0.12.2...v0.13.0
[0.12.2]: https://github.com/esp-rs/espup/compare/v0.12.1...v0.12.2 [0.12.2]: https://github.com/esp-rs/espup/compare/v0.12.1...v0.12.2

611
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[package] [package]
name = "espup" name = "espup"
version = "0.14.0" version = "0.14.1"
authors = ["Sergio Gasquez Arcos <sergio.gasquez@gmail.com>"] authors = ["Sergio Gasquez Arcos <sergio.gasquez@gmail.com>"]
edition = "2021" edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@ -11,42 +11,42 @@ Tool for installing and maintaining Espressif Rust ecosystem.
""" """
keywords = ["cli", "embedded", "esp", "esp-rs", "xtensa"] keywords = ["cli", "embedded", "esp", "esp-rs", "xtensa"]
categories = ["command-line-utilities", "development-tools", "embedded"] categories = ["command-line-utilities", "development-tools", "embedded"]
rust-version = "1.74.1" rust-version = "1.81.0"
[dependencies] [dependencies]
async-trait = "0.1.83" async-trait = "0.1.87"
bytes = "1.9.0" bytes = "1.10.0"
clap = { version = "4.5.23", features = ["derive", "env"] } clap = { version = "4.5.31", features = ["derive", "env"] }
clap_complete = "4.5.38" clap_complete = "4.5.46"
directories = "5.0.1" directories = "6.0.0"
env_logger = "0.11.5" env_logger = "0.11.6"
flate2 = "1.0.35" flate2 = "1.1.0"
guess_host_triple = "0.1.4" guess_host_triple = "0.1.4"
indicatif = "0.17.9" indicatif = "0.17.11"
indicatif-log-bridge = "0.2.3" indicatif-log-bridge = "0.2.3"
lazy_static = "1.5.0" lazy_static = "1.5.0"
log = "0.4.22" log = "0.4.26"
miette = { version = "7.4.0", features = ["fancy"] } miette = { version = "7.5.0", features = ["fancy"] }
regex = "1.11.1" regex = "1.11.1"
reqwest = { version = "0.12.9", features = ["blocking", "socks", "stream"] } reqwest = { version = "0.12.12", features = ["blocking", "socks", "stream"] }
retry = "2.0.0" retry = "2.0.0"
serde_json = "1.0.133" serde_json = "1.0.140"
strum = { version = "0.26.3", features = ["derive"] } strum = { version = "0.27.1", features = ["derive"] }
tar = "0.4.43" tar = "0.4.44"
tempfile = "3.14.0" tempfile = "3.17.1"
thiserror = "2.0.7" thiserror = "2.0.12"
tokio = { version = "1.42.0", features = ["full"] } tokio = { version = "1.43.0", features = ["full"] }
tokio-retry = "0.3.0" tokio-retry = "0.3.0"
tokio-stream = "0.1.17" tokio-stream = "0.1.17"
update-informer = "1.1.0" update-informer = "1.2.0"
xz2 = "0.1.7" xz2 = "0.1.7"
zip = "2.2.1" zip = "2.2.3"
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
openssl = { version = "0.10.70", features = ["vendored"] } openssl = { version = "0.10.71", features = ["vendored"] }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winreg = "0.52.0" winreg = "0.55.0"
winapi = { version = "0.3.9", features = ["winuser"] } winapi = { version = "0.3.9", features = ["winuser"] }
[dev-dependencies] [dev-dependencies]
@ -58,5 +58,5 @@ pkg-fmt = "zip"
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }" pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }"
[profile.release] [profile.release]
lto = "thin" lto = "thin"
strip = true strip = true

View File

@ -1,7 +1,7 @@
# espup # espup
[![Crates.io](https://img.shields.io/crates/v/espup.svg)](https://crates.io/crates/espup) [![Crates.io](https://img.shields.io/crates/v/espup.svg)](https://crates.io/crates/espup)
![MSRV](https://img.shields.io/badge/MSRV-1.74.1-blue?labelColor=1C2C2E&logo=Rust&style=flat-square) ![MSRV](https://img.shields.io/badge/MSRV-1.81.0-blue?labelColor=1C2C2E&logo=Rust&style=flat-square)
[![Continuous Integration](https://github.com/esp-rs/espup/actions/workflows/ci.yaml/badge.svg)](https://github.com/esp-rs/espup/actions/workflows/ci.yaml) [![Continuous Integration](https://github.com/esp-rs/espup/actions/workflows/ci.yaml/badge.svg)](https://github.com/esp-rs/espup/actions/workflows/ci.yaml)
[![Security audit](https://github.com/esp-rs/espup/actions/workflows/audit.yaml/badge.svg)](https://github.com/esp-rs/espup/actions/workflows/audit.yaml) [![Security audit](https://github.com/esp-rs/espup/actions/workflows/audit.yaml/badge.svg)](https://github.com/esp-rs/espup/actions/workflows/audit.yaml)
[![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&color=BEC5C9&labelColor=1C2C2E&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org) [![Matrix](https://img.shields.io/matrix/esp-rs:matrix.org?label=join%20matrix&color=BEC5C9&labelColor=1C2C2E&logo=matrix&style=flat-square)](https://matrix.to/#/#esp-rs:matrix.org)

View File

@ -40,7 +40,7 @@ pub fn set_env_variable(key: &str, value: &str) -> Result<(), Error> {
HWND_BROADCAST, HWND_BROADCAST,
WM_SETTINGCHANGE, WM_SETTINGCHANGE,
0 as WPARAM, 0 as WPARAM,
"Environment\0".as_ptr() as LPARAM, c"Environment".as_ptr() as LPARAM,
SMTO_ABORTIFHUNG, SMTO_ABORTIFHUNG,
5000, 5000,
ptr::null_mut(), ptr::null_mut(),