From 63bd8bad8b04352e3afac91644fb8f5d0cf98981 Mon Sep 17 00:00:00 2001 From: Alex Bocharov Date: Fri, 29 Sep 2023 17:39:01 -0500 Subject: [PATCH] Release `v1.0.2`. Release notes: * Add repr(C) attribute for State type (hartzheim@cloudflare.com) * Added `check_bytes` parameter for `Synchronizer::read` to allow checking whether mapped memory can be used with type `T`. * Added `Synchronizer::version` method, returning current `InstanceVersion`, useful for detecting whether synchronized `entity` has changed * Added non-UTF8 paths support with `OsStr` to resolve #4. * Added Windows support via conditional compilation for file mode to resolve #3. --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ad17233..573259e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -215,7 +215,7 @@ dependencies = [ [[package]] name = "mmap-sync" -version = "1.0.1" +version = "1.0.2" dependencies = [ "bytecheck", "memmap2", diff --git a/Cargo.toml b/Cargo.toml index 59c5ad8..c8fccf5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mmap-sync" -version = "1.0.1" +version = "1.0.2" edition = "2021" authors = ["Alex Bocharov "] description = "A Rust package allowing sharing of data between processes in a wait-free and zero-copy fashion from mapped memory."