All notable changes will be documented in this file.
- Added
fetchandunfetchmethods toVfsfor memory-mapped I/O support (xFetch/xUnfetch), bumping the VFS to iVersion 3 (thanks @russellromney)
- Added shared memory hooks to Vfs (thanks @bkoropoff)
- Improved safety of file handle initialization and destruction using
ptr::write/ptr::read(thanks @bkoropoff)
- BREAKING:
Vfs::sector_sizeandVfs::device_characteristicsnow take a&mut Self::Handleparameter and returnVfsResult<i32>instead ofi32.
- BREAKING:
Vfs::lock,Vfs::unlock, andVfs::check_reserved_lockno longer have default implementations and must be implemented by everyVfs.
Added check_reserved_lock to Vfs. This method allows you to inform SQLite if any threads or processes currently hold a lock on the specified file. It is recommended to implement this method if you also implement the lock and unlock methods.
- BREAKING: remove register_logger method from Vfs
- return SqliteLogger instance from register_dynamic/register_static
- expose SqliteApi in public API
- relax min SQLite version to 3.43.0
- dependency bump
register_dynamicandregister_staticnow require the VFS name to be passed in as a CString.
PragmaErrnow requires an explicit error code and external construction.
- updating dependencies
- bug: support cross-compilation to arm
- Initial release