hyperfine/Cargo.toml

69 lines
1.6 KiB
TOML
Raw Normal View History

2018-01-13 18:50:02 +03:00
[package]
2018-01-13 22:42:58 +03:00
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"
2018-01-13 18:50:02 +03:00
name = "hyperfine"
2018-01-13 22:42:58 +03:00
readme = "README.md"
repository = "https://github.com/sharkdp/hyperfine"
2023-10-05 10:48:09 +03:00
version = "1.18.0"
2019-05-07 12:55:38 +03:00
edition = "2018"
2020-05-21 15:37:10 +03:00
build = "build.rs"
2023-10-05 10:55:17 +03:00
rust-version = "1.70.0"
2018-01-13 18:50:02 +03:00
2022-08-08 17:37:39 +03:00
[features]
# Use the nightly feature windows_process_extensions_main_thread_handle
windows_process_extensions_main_thread_handle = []
2018-01-13 18:50:02 +03:00
[dependencies]
colored = "2.1"
2023-10-05 10:41:07 +03:00
indicatif = "=0.17.4"
statistical = "1.0"
2021-08-24 22:42:28 +03:00
csv = "1.1"
2019-09-01 15:48:17 +03:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rust_decimal = "1.35"
rand = "0.8"
shell-words = "1.0"
2022-02-06 13:59:21 +03:00
thiserror = "1.0"
2022-02-06 19:44:28 +03:00
anyhow = "1.0"
2018-01-13 18:50:02 +03:00
[target.'cfg(not(windows))'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
2023-04-20 22:48:44 +03:00
windows-sys = { version = "0.48", features = [
2023-04-17 23:12:48 +03:00
"Win32_Foundation",
"Win32_Security",
"Win32_System_JobObjects",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
] }
2022-09-06 23:43:51 +03:00
[target.'cfg(all(windows, not(windows_process_extensions_main_thread_handle)))'.dependencies]
once_cell = "1.19"
2018-02-04 00:23:41 +03:00
[target.'cfg(target_os="linux")'.dependencies]
nix = { version = "0.27.1", features = ["zerocopy"] }
2018-01-13 18:50:02 +03:00
[dependencies.clap]
2023-03-15 12:05:57 +03:00
version = "4"
2018-01-13 18:50:02 +03:00
default-features = false
2022-10-28 10:50:35 +03:00
features = ["suggestions", "color", "wrap_help", "cargo", "help", "usage", "error-context"]
2018-01-20 14:55:16 +03:00
[dev-dependencies]
approx = "0.5"
2021-08-24 22:37:43 +03:00
assert_cmd = "2.0"
predicates = "3.0"
tempfile = "3.9"
2020-05-21 15:37:10 +03:00
[build-dependencies]
clap = "4.4.12"
clap_complete = "4.2.1"
2020-05-21 15:37:10 +03:00
[profile.release]
lto = true
2023-03-26 00:16:25 +03:00
strip = true
codegen-units = 1