Skip to content

v0.54.1

Latest

Choose a tag to compare

@zaidoon1 zaidoon1 released this 18 Nov 08:59
· 11 commits to master since this release
59acdab

This patch release fixes two problems in how rust-librocksdb-sys builds RocksDB. There are no API changes, and the bundled RocksDB stays at 11.12.0. rust-librocksdb-sys moves to 0.49.1+11.12.0.

rust-librocksdb-sys now requires libz-sys 1.1.31 for RUSTSEC-2026-0418. Older libz-sys versions print the whole build environment, secrets included, to build script output under target/ when built with cc 1.6 or later on a Unix host. rust-rocksdb always links zlib statically, which skips the leaking probe, so only direct users of rust-librocksdb-sys that enable zlib without static were exposed. If an exposed build ran with secrets in its environment, clear any cached target/ directories and rotate the secrets. (#313, @zaidoon1)

-fno-builtin-memcmp is now passed only to GCC, as upstream RocksDB does on Linux. 0.52.0 started passing it on every non-MSVC target, and under Clang it kept the lto feature with -Clinker-plugin-lto from inlining any C API function into its Rust caller. In a fat-LTO aarch64 release build of a service on this crate, direct calls into the C API drop from 331 to 141, and the iterator and PinnableSlice accessors are now inlined. (#324, @zaidoon1)

Full notes are in CHANGELOG.md.

Full Changelog: v0.54.0...v0.54.1