Skip to content

rust-ibm_db v1.0.8 — Rust 2024 Edition Support & macOS Apple Silicon

Latest

Choose a tag to compare

@AWADHAMBIKA AWADHAMBIKA released this 01 Jun 08:36

Release v1.0.8

Highlights

  • Rust 2024 Edition Support — Full compatibility with Rust edition 2024
  • macOS Apple Silicon (ARM) Support — Native CLI driver download for M1/M2/M3/M4 Macs
  • Thread Safety Improvements — Replaced unsafe mutable statics with RwLock

New Features

  • Added macOS ARM64 (Apple Silicon) CLI driver download support in the setup utility
  • Automatic architecture detection for ARM-based Macs

Bug Fixes & Improvements

  • Fixed edition = "2026" (non-existent) to edition = "2024"
  • Replaced static mut globals (OS_ENCODING, DB_ENCODING) with thread-safe RwLock wrappers
  • Wrapped env::set_var() calls in unsafe {} blocks per Rust 2024 requirements
  • Converted if let ... else patterns to match for Rust 2024 edition compliance
  • Added inner unsafe {} blocks in unsafe fn bodies (Rust 2024 no longer treats these as implicitly unsafe)
  • Removed unused Read import from setup.rs
  • Added proper // SAFETY: documentation comments

Performance & Deployment (February 2026)

  • Improved driver performance optimizations based on customer inputs
  • Corrected linker logic for cross-platform builds
  • Streamlined deployment workflow
  • Added test coverage improvements
  • Documentation updates and README overhaul with step-by-step guides

Documentation

  • Updated README with macOS ARM/Apple Silicon support information
  • Updated dependency version example to 1.0.8
  • Fixed homepage link in crate metadata
  • Added Cargo.lock to .gitignore

Contributors

  • @ahilden — Rust 2024 edition migration, thread safety fixes, macOS ARM support (PR #16)
  • @AWADHAMBIKA — Performance optimizations, documentation, release management

Full Changelog: v1.0.6...v1.0.8