Files
hyperfine/Cargo.toml
T

85 lines
2.0 KiB
TOML
Raw Normal View History

2018-01-13 16:50:02 +01:00
[package]
authors = ["David Peter <mail@david-peter.de>"]
2018-01-13 20:42:58 +01:00
categories = ["command-line-utilities"]
description = "A command-line benchmarking tool"
homepage = "https://github.com/sharkdp/hyperfine"
license = "MIT OR Apache-2.0"
2018-01-13 20:42:58 +01:00
name = "hyperfine"
readme = "README.md"
repository = "https://github.com/sharkdp/hyperfine"
2026-10-05 14:55:32 +02:00
version = "1.21.0"
2019-05-07 11:55:38 +02:00
edition = "2018"
2020-05-21 22:37:10 +10:00
build = "build.rs"
2026-10-02 11:05:02 +02:00
rust-version = "1.97.0"
2018-01-13 16:50:02 +01:00
2022-08-08 16:37:39 +02:00
[features]
# Use the nightly feature windows_process_extensions_main_thread_handle
windows_process_extensions_main_thread_handle = []
2018-01-13 16:50:02 +01:00
[dependencies]
2026-10-02 11:05:02 +02:00
colored = "3.1"
# Newer versions regress ETA estimates: https://github.com/console-rs/indicatif/issues/580
2023-10-05 09:41:07 +02:00
indicatif = "=0.17.4"
csv = "1.4"
2019-09-01 14:48:17 +02:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2026-10-02 11:05:02 +02:00
rust_decimal = "1.43"
rand = "0.10"
shell-words = "1.1"
2024-11-10 22:37:04 +01:00
thiserror = "2.0"
2022-02-06 17:44:28 +01:00
anyhow = "1.0"
uom = { version = "0.36.0", default-features = false, features = ["std", "si", "f64"] }
humantime = "2"
platform-info = "2.2"
2018-01-13 16:50:02 +01:00
[target.'cfg(not(windows))'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
2026-10-02 11:05:02 +02:00
windows-sys = { version = "0.61", features = [
2023-04-17 22:12:48 +02:00
"Win32_Foundation",
"Win32_Security",
"Win32_System_JobObjects",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
] }
2022-09-06 22:43:51 +02:00
[target.'cfg(all(windows, not(windows_process_extensions_main_thread_handle)))'.dependencies]
2026-10-02 11:05:02 +02:00
once_cell = "1.21"
2018-02-03 16:23:41 -05:00
2022-05-14 13:21:41 -04:00
[target.'cfg(target_os="linux")'.dependencies]
2026-10-02 11:05:02 +02:00
nix = { version = "0.31", features = ["zerocopy"] }
2022-05-14 13:21:41 -04:00
2018-01-13 16:50:02 +01:00
[dependencies.clap]
2023-03-15 10:05:57 +01:00
version = "4"
2018-01-13 16:50:02 +01:00
default-features = false
2024-11-10 22:37:04 +01:00
features = [
"suggestions",
"color",
"wrap_help",
"cargo",
"help",
"usage",
"error-context",
]
2018-01-20 12:55:16 +01:00
[dev-dependencies]
2021-07-01 02:02:36 +00:00
approx = "0.5"
2026-10-02 11:05:02 +02:00
assert_cmd = "2.2"
insta = { version = "1.48", features = ["yaml", "filters"] }
insta-cmd = "0.7"
2025-09-03 18:35:57 +00:00
predicates = "3.1"
2026-10-02 11:05:02 +02:00
tempfile = "3.27"
2024-12-29 12:46:37 +01:00
[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3
2020-05-21 22:37:10 +10:00
[build-dependencies]
2026-10-02 11:05:02 +02:00
clap = "4.6"
clap_complete = "4.6"
2020-05-21 22:37:10 +10:00
[profile.release]
lto = true
2023-03-25 22:16:25 +01:00
strip = true
codegen-units = 1