1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![feature(nonnull_slice_from_raw_parts)]
#![feature(allocator_api)]
#![feature(default_free_fn)]
#![feature(layout_for_ptr)]
#![feature(slice_ptr_get)]
#![feature(try_blocks)]
#![feature(slice_ptr_len)]
#![feature(io_error_other)]
pub use alloc_mem::AllocMem;
pub use file_mapped_mem::FileMappedMem;
pub use global_mem::GlobalMem;
pub use mem_traits::{RawMem, DEFAULT_PAGE_SIZE};
pub use temp_file_mem::TempFileMem;
mod alloc_mem;
mod base;
mod file_mapped_mem;
mod global_mem;
mod internal;
mod mem_traits;
mod temp_file_mem;
pub(crate) use base::Base;