# 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 = "2024"
rust-version = "1.85.0"
name = "micromeasure"
version = "0.2.0"
authors = ["Ryan Daum <ryan.daum@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Microbenchmark harness for tiny operations and PMU-aware measurement"
homepage = "https://github.com/rdaum/micromeasure"
documentation = "https://docs.rs/micromeasure"
readme = "README.md"
keywords = [
    "benchmark",
    "microbenchmark",
    "perf",
    "pmu",
    "linux",
]
categories = [
    "development-tools::profiling",
    "development-tools::testing",
]
license = "Apache-2.0"
repository = "https://github.com/rdaum/micromeasure"

[lib]
name = "micromeasure"
path = "src/lib.rs"
doctest = false

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

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

[dependencies.libc]
version = "0.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.unicode-width]
version = "0.2"

[target.'cfg(all(target_os = "linux"))'.dependencies.perf-event2]
version = "0.7"
