From c387f8f3e8254693358804b5adbc7076dd9744fb Mon Sep 17 00:00:00 2001 From: 0xFantomMenace <93462858+0xFantomMenace@users.noreply.github.com> Date: Mon, 28 Sep 2026 22:00:02 +0000 Subject: [PATCH] Raise the minimum Rust version to 1.85; neutral ignore rules - rust-version 1.85: a fresh dependency resolution includes crates published with edition 2024, which Cargo reads from 1.85 on. Verified with a lockfile generated by Cargo 1.85 (build and tests pass) and by Cargo 1.84 (fails). README requirements and CHANGELOG updated. - .gitignore: one rule for every hidden local directory except .github, instead of naming individual tools. - Package contents check: the planted stray directory is .scratch. --- .github/workflows/package-contents.yml | 2 +- .gitignore | 7 ++++--- CHANGELOG.md | 3 +++ Cargo.toml | 6 +++--- README.md | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/package-contents.yml b/.github/workflows/package-contents.yml index 128d054..0525aec 100644 --- a/.github/workflows/package-contents.yml +++ b/.github/workflows/package-contents.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - name: Plant untracked files that must not be packaged run: | - mkdir -p .claude/worktrees/probe && echo stray > .claude/worktrees/probe/stray.rs + mkdir -p .scratch/probe && echo stray > .scratch/probe/stray.rs echo stray > examples/stray.rs echo stray > src/stray.txt - name: The crate contains only tracked files and cargo metadata diff --git a/.gitignore b/.gitignore index 70cf739..1802d8f 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ coverage/ .DS_Store Thumbs.db -# Agent working directories. Never source, never packaged. -.claude/ -.codex/ +# Local tool directories: every hidden directory except .github. Not source, +# never packaged. +.*/ +!.github/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cb12ea..5be9992 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,9 @@ The format is loosely based on [Keep a Changelog](https://keepachangelog.com). - `subscribe()` rejects `rh_lighter_candles` before sending, since it is replay-only. - Install snippets and rustdoc examples reference `1.12`. +- Minimum supported Rust version is 1.85 (was 1.75). A fresh dependency + resolution now includes crates published with edition 2024, which Cargo + reads from 1.85 on. - `OrderFlowParams::interval` and `Hip4OrderFlowParams::interval` document the buckets the API serves: `"1m"` (the default), `"5m"`, `"15m"` and `"1h"`. diff --git a/Cargo.toml b/Cargo.toml index 70db45c..381a3bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "oxarchive" version = "1.12.0" edition = "2021" -rust-version = "1.75" +rust-version = "1.85" description = "Rust SDK for async 0xArchive market data clients" license = "MIT" repository = "https://github.com/0xArchiveIO/sdk-rust" @@ -35,8 +35,8 @@ thiserror = "2" chrono = { version = "0.4", features = ["serde"] } tokio = { version = "1", features = ["rt", "macros"] } -# Cargo.lock is intentionally untracked; keep fresh resolution within rust-version = "1.75". -# These compatibility bounds stop transitive MSRV/edition-2024 widenings. +# Cargo.lock is intentionally untracked; keep fresh resolution within rust-version = "1.85". +# These compatibility bounds stop transitive MSRV widenings. url = ">=2.5.0, <2.5.3" urlencoding = "2" # reqwest's current encoding_rs release raises its MSRV to Rust 1.88. diff --git a/README.md b/README.md index ae97543..0c8eb46 100644 --- a/README.md +++ b/README.md @@ -1520,7 +1520,7 @@ For large-scale data exports (route-specific order books, fill-level trade histo ## Requirements -- Rust 1.75+ +- Rust 1.85+ - tokio runtime ## License