Skip to content

Commit ad6eb90

Browse files
committed
fix: Update MSRV to 1.85.0 (Edition 2024 requires 1.85+)
1 parent a30b0ea commit ad6eb90

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.githooks/pre-commit

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ echo " 📚 [4/5] Building docs..."
2323
RUSTDOCFLAGS="-Dwarnings" cargo doc --no-deps --all-features --quiet
2424

2525
# MSRV check (requires rustup)
26-
echo " 🔧 [5/5] Checking MSRV (1.82.0)..."
26+
echo " 🔧 [5/5] Checking MSRV (1.85.0)..."
2727
if command -v rustup >/dev/null 2>&1; then
28-
if rustup run 1.82.0 cargo check --all-features --quiet 2>/dev/null; then
29-
echo " MSRV 1.82.0 ✓"
28+
if rustup run 1.85.0 cargo check --all-features --quiet 2>/dev/null; then
29+
echo " MSRV 1.85.0 ✓"
3030
else
31-
echo " ⚠️ MSRV 1.82.0 not installed, skipping"
31+
echo " ⚠️ MSRV 1.85.0 not installed, skipping"
3232
fi
3333
else
3434
echo " ⚠️ rustup not found, skipping MSRV check"

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
RUSTDOCFLAGS: -Dwarnings
6363

6464
msrv:
65-
name: MSRV (1.82.0)
65+
name: MSRV (1.85.0)
6666
runs-on: ubuntu-latest
6767
steps:
6868
- uses: actions/checkout@v4
69-
- uses: dtolnay/rust-toolchain@1.82.0
69+
- uses: dtolnay/rust-toolchain@1.85.0
7070
- uses: Swatinem/rust-cache@v2
7171
- run: cargo check --all-features

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "tdata-rs"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.82.0"
5+
rust-version = "1.85.0"
66
description = "Pure Rust parser for Telegram Desktop's tdata storage format. Decrypts local storage and extracts auth keys without Qt/C++ dependencies."
77
authors = ["Stranmor"]
88
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)