# 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 = "2018" name = "perf-event2" version = "0.7.4" authors = [ "Sean Lynch ", "Jim Blandy ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust interface to Linux performance monitoring" documentation = "https://docs.rs/perf-event2/" readme = "README.md" keywords = [ "linux", "perf", ] categories = [ "development-tools::profiling", "hardware-support", "os::linux-apis", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Phantomical/perf-event.git" resolver = "2" [lib] name = "perf_event" path = "src/lib.rs" [[example]] name = "println-cpi-raw" path = "examples/println-cpi-raw.rs" [[example]] name = "insns-for-pid" path = "examples/insns-for-pid.rs" [[example]] name = "cpufreq" path = "examples/cpufreq.rs" [[example]] name = "println-cpi" path = "examples/println-cpi.rs" [[example]] name = "println" path = "examples/println.rs" [[example]] name = "group" path = "examples/group.rs" [[example]] name = "big-group" path = "examples/big-group.rs" [[example]] name = "power" path = "examples/power.rs" [[example]] name = "kprobe" path = "examples/kprobe.rs" [[test]] name = "sampling-tests" path = "tests/sampling-tests.rs" [[test]] name = "breakpoint" path = "tests/breakpoint.rs" [dependencies.bitflags] version = "2.1" [dependencies.c-enum] version = "0.2.0" [dependencies.libc] version = "0.2" [dependencies.memmap2] version = "0.9" [dependencies.perf-event-data] version = "0.1.1" [dependencies.perf-event-open-sys2] version = "5.0.4" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.nix] version = "0.29" features = [ "process", "feature", ] [features] hooks = []