Files
hyperfine/Cargo.toml
T

81 lines
1.7 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"
2024-11-11 22:39:30 +01:00
version = "1.19.0"
2019-05-07 11:55:38 +02:00
edition = "2018"
2020-05-21 22:37:10 +10:00
build = "build.rs"
2025-09-03 20:29:00 +02:00
rust-version = "1.88.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]
2024-04-01 02:10:12 +00:00
colored = "2.1"
2023-10-05 09:41:07 +02:00
indicatif = "=0.17.4"
2019-01-31 03:14:31 +00:00
statistical = "1.0"
2024-11-10 22:37:04 +01:00
csv = "1.3"
2019-09-01 14:48:17 +02:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2024-11-10 22:37:04 +01:00
rust_decimal = "1.36"
2021-01-01 07:07:59 +00:00
rand = "0.8"
2021-10-04 22:34:19 +09:00
shell-words = "1.0"
2024-11-10 22:37:04 +01:00
thiserror = "2.0"
2022-02-06 17:44:28 +01:00
anyhow = "1.0"
2018-01-13 16:50:02 +01:00
[target.'cfg(not(windows))'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
2024-11-10 22:37:04 +01:00
windows-sys = { version = "0.59", 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]
2024-07-01 11:18:37 +00:00
once_cell = "1.19"
2018-02-03 16:23:41 -05:00
2022-05-14 13:21:41 -04:00
[target.'cfg(target_os="linux")'.dependencies]
2024-11-10 22:37:04 +01:00
nix = { version = "0.29", 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"
2021-08-24 21:37:43 +02:00
assert_cmd = "2.0"
2024-12-29 12:46:37 +01:00
insta = { version = "1.41.1", features = ["yaml"] }
2023-04-01 02:58:03 +00:00
predicates = "3.0"
2024-11-10 22:37:04 +01:00
tempfile = "3.14"
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]
2025-09-03 18:35:54 +00:00
clap = "4.5.47"
2023-05-01 02:56:58 +00:00
clap_complete = "4.2.1"
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