proc-maps 0.5.0

Helper crate for getting virtual memory maps from processes
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "proc-maps"
version = "0.5.0"
authors = [
    "Julia Evans <julia@jvns.ca>",
    "Ben Frederickson <github@benfrederickson.com>",
    "Adam Jensen <adam@acj.sh>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helper crate for getting virtual memory maps from processes"
homepage = "https://github.com/rbspy/proc-maps"
readme = "README.md"
license = "MIT"
repository = "https://github.com/rbspy/proc-maps"

[features]
default = ["generate-bindings"]
generate-bindings = ["bindgen"]

[lib]
name = "proc_maps"
path = "src/lib.rs"

[[bin]]
name = "test"
path = "src/bin/test.rs"

[[example]]
name = "print_maps"
path = "examples/print_maps.rs"

[dependencies.libc]
version = "0.2.186"

[target.'cfg(target_os="freebsd")'.build-dependencies.bindgen]
version = "0.72.1"
optional = true

[target.'cfg(target_os="macos")'.dependencies.anyhow]
version = "1.0.103"

[target.'cfg(target_os="macos")'.dependencies.libproc]
version = "0.14.11"

[target.'cfg(target_os="macos")'.dependencies.mach2]
version = "0.6.0"

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "tlhelp32",
    "processthreadsapi",
    "handleapi",
    "impl-default",
    "dbghelp",
    "memoryapi",
    "sysinfoapi",
]