Closed Anton-4 closed 2 years ago
It sounds like you are trying to use the 0.3 release that is available on crates.io. The areas example is part of the upcoming 0.4 release, and currently only runs if you specify the crate as:
mmap-rs = { git = "https://github.com/StephanvanSchaik/mmap-rs" }
Unfortunately, there are a few things that are left to do for me before I am publishing 0.4, but I will try to have a look at that this week.
Oh right, that makes sense, thanks for the tip! No need to rush :)
Trying to use the imports shown in the areas example:
Shows errors for all imports:
Error
is privatemmap_rs::MemoryMaps
,mmap_rs::Protection
,mmap_rs::ShareMode