/ thirdparty / hyperfine / Cargo.toml
Cargo.toml
 1  [package]
 2  authors = ["David Peter <mail@david-peter.de>"]
 3  categories = ["command-line-utilities"]
 4  description = "A command-line benchmarking tool"
 5  homepage = "https://github.com/sharkdp/hyperfine"
 6  license = "MIT OR Apache-2.0"
 7  name = "hyperfine"
 8  readme = "README.md"
 9  repository = "https://github.com/sharkdp/hyperfine"
10  version = "1.20.0"
11  edition = "2018"
12  build = "build.rs"
13  rust-version = "1.88.0"
14  
15  [features]
16  # Use the nightly feature windows_process_extensions_main_thread_handle
17  windows_process_extensions_main_thread_handle = []
18  
19  [dependencies]
20  colored = "2.1"
21  indicatif = "=0.17.4"
22  statistical = "1.0"
23  csv = "1.3"
24  serde = { version = "1.0", features = ["derive"] }
25  serde_json = "1.0"
26  rust_decimal = "1.36"
27  rand = "0.8"
28  shell-words = "1.0"
29  thiserror = "2.0"
30  anyhow = "1.0"
31  
32  [target.'cfg(not(windows))'.dependencies]
33  libc = "0.2"
34  
35  [target.'cfg(windows)'.dependencies]
36  windows-sys = { version = "0.59", features = [
37      "Win32_Foundation",
38      "Win32_Security",
39      "Win32_System_JobObjects",
40      "Win32_System_LibraryLoader",
41      "Win32_System_Threading",
42  ] }
43  
44  [target.'cfg(all(windows, not(windows_process_extensions_main_thread_handle)))'.dependencies]
45  once_cell = "1.19"
46  
47  [target.'cfg(target_os="linux")'.dependencies]
48  nix = { version = "0.29", features = ["zerocopy"] }
49  
50  [dependencies.clap]
51  version = "4"
52  default-features = false
53  features = [
54      "suggestions",
55      "color",
56      "wrap_help",
57      "cargo",
58      "help",
59      "usage",
60      "error-context",
61  ]
62  
63  [dev-dependencies]
64  approx = "0.5"
65  assert_cmd = "2.0"
66  insta = { version = "1.41.1", features = ["yaml"] }
67  predicates = "3.1"
68  tempfile = "3.23"
69  
70  [profile.dev.package]
71  insta.opt-level = 3
72  similar.opt-level = 3
73  
74  [build-dependencies]
75  clap = "4.5.48"
76  clap_complete = "4.2.1"
77  
78  [profile.release]
79  lto = true
80  strip = true
81  codegen-units = 1