forked from StephanvanSchaik/mmap-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (33 loc) · 1013 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "mmap-rs"
version = "0.5.0"
edition = "2021"
authors = ["Stephan van Schaik <[email protected]>"]
license = "Apache-2.0 OR MIT"
description = "A cross-platform and safe Rust API to create and manage memory mappings in the virtual address space of the calling process."
homepage = "https://codentium.com"
repository = "https://github.com/StephanvanSchaik/mmap-rs"
keywords = ["mmap", "memory", "mapping", "VirtualAlloc"]
[dependencies]
bitflags = "1"
combine = "4"
libc = "0.2"
thiserror = "1"
[target.'cfg(unix)'.dependencies]
nix = "0.26"
sysctl = "0.5"
[target.'cfg(windows)'.dependencies]
widestring = "1"
[target.'cfg(windows)'.dependencies.windows]
version = "0.44"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Diagnostics_Debug",
"Win32_System_Memory",
"Win32_System_ProcessStatus",
"Win32_System_SystemInformation",
"Win32_System_Threading",
]
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
mach2 = "0.4"