Cargo.toml
This file
Path
Cargo.toml
89 lines · 2.2 KiB · TOML
Last changed by
hyperfine 2.0David Peterbefore adoptionb33755f
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990[package]authors = ["David Peter <mail@david-peter.de>"]categories = ["command-line-utilities"]description = "A command-line benchmarking tool"homepage = "https://github.com/sharkdp/hyperfine"license = "MIT OR Apache-2.0"name = "hyperfine"readme = "README.md"repository = "https://github.com/sharkdp/hyperfine"version = "2.0.0"edition = "2018"build = "build.rs"rust-version = "1.97.0"
[features]# Use the nightly feature windows_process_extensions_main_thread_handlewindows_process_extensions_main_thread_handle = []
[dependencies]colored = "3.1"# Newer versions regress ETA estimates: https://github.com/console-rs/indicatif/issues/580indicatif = "=0.17.4"csv = "1.4"serde = { version = "1.0", features = ["derive"] }serde_json = "1.0"rust_decimal = "1.43"rand = "0.10"shell-words = "1.1"terminal_size = "0.4"thiserror = "2.0"anyhow = "1.0"uom = { version = "0.36.0", default-features = false, features = ["std", "si", "f64"] }humantime = "2"platform-info = "2.2"
[target.'cfg(not(windows))'.dependencies]libc = "0.2"
[target.'cfg(windows)'.dependencies]windows-sys = { version = "0.61", features = [ "Win32_Foundation", "Win32_Security", "Win32_System_JobObjects", "Win32_System_LibraryLoader", "Win32_System_Threading",] }
[target.'cfg(all(windows, not(windows_process_extensions_main_thread_handle)))'.dependencies]once_cell = "1.21"
[target.'cfg(target_os="linux")'.dependencies]nix = { version = "0.31", features = ["zerocopy"] }
[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 = "6"
[dependencies.clap]version = "4"default-features = falsefeatures = [ "suggestions", "color", "wrap_help", "cargo", "help", "usage", "error-context",]
[dev-dependencies]approx = "0.5"assert_cmd = "2.2"insta = { version = "1.48", features = ["yaml", "filters"] }insta-cmd = "0.7"predicates = "3.1"tempfile = "3.27"
[profile.dev.package]insta.opt-level = 3similar.opt-level = 3
[build-dependencies]clap = "4.6"clap_complete = "4.6"
[profile.release]lto = truestrip = truecodegen-units = 1