[package] name = "proc-maps" version = "0.4.0" authors = ["Julia Evans ", "Ben Frederickson ", "Adam Jensen "] description = "Helper crate for getting virtual memory maps from processes" license = "MIT" homepage = "https://github.com/rbspy/proc-maps" repository = "https://github.com/rbspy/proc-maps" [dependencies] libc = "0.2.54" [target.'cfg(target_os="macos")'.dependencies] anyhow = "1.0.40" mach2 = "0.4.0" libproc = "0.14.2" [target.'cfg(windows)'.dependencies] winapi = {version = "0.3", features = ["tlhelp32", "processthreadsapi", "handleapi", "impl-default", "dbghelp", "memoryapi", "sysinfoapi"]} [target.'cfg(target_os="freebsd")'.build-dependencies] bindgen = { version = "0.70.1", optional = true } [features] default = ["generate-bindings"] generate-bindings = ["bindgen"]