hyperfine 2.0.0-alpha.1

A command-line benchmarking tool
# 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"
rust-version = "1.97.0"
name = "hyperfine"
version = "2.0.0-alpha.1"
authors = ["David Peter <mail@david-peter.de>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command-line benchmarking tool"
homepage = "https://github.com/sharkdp/hyperfine"
readme = "README.md"
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sharkdp/hyperfine"

[features]
windows_process_extensions_main_thread_handle = []

[[bin]]
name = "hyperfine"
path = "src/main.rs"

[[test]]
name = "common"
path = "tests/common.rs"

[[test]]
name = "execution_order_tests"
path = "tests/execution_order_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4"
features = [
    "suggestions",
    "color",
    "wrap_help",
    "cargo",
    "help",
    "usage",
    "error-context",
]
default-features = false

[dependencies.colored]
version = "3.1"

[dependencies.csv]
version = "1.4"

[dependencies.humantime]
version = "2"

[dependencies.indicatif]
version = "=0.17.4"

[dependencies.platform-info]
version = "2.2"

[dependencies.rand]
version = "0.10"

[dependencies.rust_decimal]
version = "1.43"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.shell-words]
version = "1.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.uom]
version = "0.36.0"
features = [
    "std",
    "si",
    "f64",
]
default-features = false

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.assert_cmd]
version = "2.2"

[dev-dependencies.insta]
version = "1.48"
features = [
    "yaml",
    "filters",
]

[dev-dependencies.insta-cmd]
version = "0.7"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.tempfile]
version = "3.27"

[build-dependencies.clap]
version = "4.6"

[build-dependencies.clap_complete]
version = "4.6"

[target.'cfg(all(target_os = "linux", target_pointer_width = "64", any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "riscv64", target_arch = "powerpc64", target_arch = "loongarch64")))'.dependencies.perf-event-open-sys]
version = "6"

[target."cfg(all(windows, not(windows_process_extensions_main_thread_handle)))".dependencies.once_cell]
version = "1.21"

[target."cfg(not(windows))".dependencies.libc]
version = "0.2"

[target.'cfg(target_os="linux")'.dependencies.nix]
version = "0.31"
features = ["zerocopy"]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_System_JobObjects",
    "Win32_System_LibraryLoader",
    "Win32_System_Threading",
]

[profile.dev.package.insta]
opt-level = 3

[profile.dev.package.similar]
opt-level = 3

[profile.release]
lto = true
codegen-units = 1
strip = true