All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.5.3 - 2022-02-10
Mmap::advise
andMmapMut::advise
. @nyurik
0.5.2 - 2022-01-10
flush
,flush_async
,flush_range
andflush_async_range
toMmapRaw
matching the corresponding methods onMmapMut
. @cberner
0.5.1 - 2022-01-09
- Explicitly call
fstat64
on Linux, emscripten and l4re targets. @adamreichold
0.5.0 - 2021-09-19
MmapOptions
accepts any type that supportsRawHandle
/RawFd
returning now. This allows usingmemmap2
not only with Rust std types, but also with async-std one. @adamreichold- (unix) Memoize page size to avoid repeatedly calling into sysconf machinery. @adamreichold
- (win) Use
std::os::windows::io::AsRawHandle
directly, without relying onstd::fs::File
. @adamreichold - Do not panic when failing to release resources in Drop impls. @adamreichold
0.4.0 - 2021-09-16
- Optional
StableDeref
support. @SimonSapin
- Mapping of zero-sized files is no longer an error. @SimonSapin
- MSRV changed from 1.31 to 1.36
0.3.1 - 2021-08-15
- Integer overflow during file length calculation on 32bit targets.
- Stub implementation. @Mrmaxmeier
0.3.0 - 2021-06-10
MmapOptions
allows mapping using Unix descriptors and not onlystd::fs::File
now. @mripard
0.2.3 - 2021-05-24
- Allow compilation on unsupported platforms.
The code will panic on access just like in
std
. @jcaesar
0.2.2 - 2021-04-03
MmapOptions::populate
. @adamreichold
- Fix alignment computation for
flush_async
to matchflush
. @adamreichold
0.2.1 - 2021-02-08
MmapOptions::map_raw
andMmapRaw
. @diwic
0.2.0 - 2020-12-19
- MSRV is 1.31 now (edition 2018).
- Make anonymous memory maps private by default on unix. @CensoredUsername
- Add
map_copy_read_only
. @zseri
- Fork memmap-rs.
- Use
LICENSE-APACHE
instead ofREADME.md
for some tests since it's immutable.
winapi
dependency. memmap-rs/pull/89