Skip to content
Myr

Update dependencies

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 308bf5c · Browse files · 6 files+308 added−315 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+308 added−315 removed

  • other:+308 added−315 removed

6 files+308 added−315 removed

deleted:src/app.rs-263 removed
1use std::ffi::OsString;23use clap::{crate_version, App, AppSettings, Arg, ArgMatches};45pub fn get_cli_arguments<'a, I, T>(args: I) -> ArgMatches6where7 I: IntoIterator<Item = T>,8 T: Into<OsString> + Clone + 'a,9{10 let app = build_app();11 app.get_matches_from(args)12}1314/// Build the clap app for parsing command line arguments15fn build_app() -> App<'static> {16 App::new("hyperfine")17 .version(crate_version!())18 .setting(AppSettings::DeriveDisplayOrder)19 .setting(AppSettings::NextLineHelp)20 .setting(AppSettings::HidePossibleValues)21 .max_term_width(90)22 .about("A command-line benchmarking tool.")23 .arg(24 Arg::new("command")25 .help("Command to benchmark. This can be the name of an executable or a shell \26 command like \"sleep 0.5 && echo test\". If multiple commands are given, \27 hyperfine will show a comparison of the respective runtimes.")28 .required(true)29 .multiple_occurrences(true)30 .forbid_empty_values(true),31 )32 .arg(33 Arg::new("warmup")34 .long("warmup")35 .short('w')36 .takes_value(true)37 .value_name("NUM")38 .help(39 "Perform NUM warmup runs before the actual benchmark. This can be used \40 to fill (disk) caches for I/O-heavy programs.",41 ),42 )43 .arg(44 Arg::new("min-runs")45 .long("min-runs")46 .short('m')47 .takes_value(true)48 .value_name("NUM")49 .help("Perform at least NUM runs for each command (default: 10)."),50 )51 .arg(52 Arg::new("max-runs")53 .long("max-runs")54 .short('M')55 .takes_value(true)56 .value_name("NUM")57 .help("Perform at most NUM runs for each command. By default, there is no limit."),58 )59 .arg(60 Arg::new("runs")61 .long("runs")62 .conflicts_with_all(&["max-runs", "min-runs"])63 .short('r')64 .takes_value(true)65 .value_name("NUM")66 .help("Perform exactly NUM runs for each command. If this option is not specified, \67 hyperfine automatically determines the number of runs."),68 )69 .arg(70 Arg::new("setup")71 .long("setup")72 .short('s')73 .takes_value(true)74 .number_of_values(1)75 .value_name("CMD")76 .help(77 "Execute CMD before each set of timing runs. This is useful for \78 compiling your software with the provided parameters, or to do any \79 other work that should happen once before a series of benchmark runs, \80 not every time as would happen with the --prepare option."81 ),82 )83 .arg(84 Arg::new("prepare")85 .long("prepare")86 .short('p')87 .takes_value(true)88 .multiple_occurrences(true)89 .number_of_values(1)90 .value_name("CMD")91 .help(92 "Execute CMD before each timing run. This is useful for \93 clearing disk caches, for example.\nThe --prepare option can \94 be specified once for all commands or multiple times, once for \95 each command. In the latter case, each preparation command will \96 be run prior to the corresponding benchmark command.",97 ),98 )99 .arg(100 Arg::new("cleanup")101 .long("cleanup")102 .short('c')103 .takes_value(true)104 .value_name("CMD")105 .help(106 "Execute CMD after the completion of all benchmarking \107 runs for each individual command to be benchmarked. \108 This is useful if the commands to be benchmarked produce \109 artifacts that need to be cleaned up."110 ),111 )112 .arg(113 Arg::new("parameter-scan")114 .long("parameter-scan")115 .short('P')116 .takes_value(true)117 .allow_hyphen_values(true)118 .value_names(&["VAR", "MIN", "MAX"])119 .help(120 "Perform benchmark runs for each value in the range MIN..MAX. Replaces the \121 string '{VAR}' in each command by the current parameter value.\n\n \122 Example: hyperfine -P threads 1 8 'make -j {threads}'\n\n\123 This performs benchmarks for 'make -j 1', 'make -j 2', …, 'make -j 8'.\n\n\124 To have the value increase following different patterns, use shell arithmetics.\n\n \125 Example: hyperfine -P size 0 3 'sleep $((2**{size}))'\n\n\126 This performs benchmarks with power of 2 increases: 'sleep 1', 'sleep 2', 'sleep 4', …\n\127 The exact syntax may vary depending on your shell and OS."128 ),129 )130 .arg(131 Arg::new("parameter-step-size")132 .long("parameter-step-size")133 .short('D')134 .takes_value(true)135 .value_names(&["DELTA"])136 .requires("parameter-scan")137 .help(138 "This argument requires --parameter-scan to be specified as well. \139 Traverse the range MIN..MAX in steps of DELTA.\n\n \140 Example: hyperfine -P delay 0.3 0.7 -D 0.2 'sleep {delay}'\n\n\141 This performs benchmarks for 'sleep 0.3', 'sleep 0.5' and 'sleep 0.7'.",142 ),143 )144 .arg(145 Arg::new("parameter-list")146 .long("parameter-list")147 .short('L')148 .takes_value(true)149 .multiple_occurrences(true)150 .allow_hyphen_values(true)151 .value_names(&["VAR", "VALUES"])152 .conflicts_with_all(&["parameter-scan", "parameter-step-size"])153 .help(154 "Perform benchmark runs for each value in the comma-separated list VALUES. \155 Replaces the string '{VAR}' in each command by the current parameter value\156 .\n\nExample: hyperfine -L compiler gcc,clang '{compiler} -O2 main.cpp'\n\n\157 This performs benchmarks for 'gcc -O2 main.cpp' and 'clang -O2 main.cpp'.\n\n\158 The option can be specified multiple times to run benchmarks for all \159 possible parameter combinations.\n"160 ),161 )162 .arg(163 Arg::new("style")164 .long("style")165 .takes_value(true)166 .value_name("TYPE")167 .possible_values(&["auto", "basic", "full", "nocolor", "color", "none"])168 .help(169 "Set output style type (default: auto). Set this to 'basic' to disable output \170 coloring and interactive elements. Set it to 'full' to enable all effects \171 even if no interactive terminal was detected. Set this to 'nocolor' to \172 keep the interactive output without any colors. Set this to 'color' to keep \173 the colors without any interactive output. Set this to 'none' to disable all \174 the output of the tool.",175 ),176 )177 .arg(178 Arg::new("shell")179 .long("shell")180 .short('S')181 .takes_value(true)182 .value_name("SHELL")183 .overrides_with("shell")184 .help("Set the shell to use for executing benchmarked commands."),185 )186 .arg(187 Arg::new("ignore-failure")188 .long("ignore-failure")189 .short('i')190 .help("Ignore non-zero exit codes of the benchmarked programs."),191 )192 .arg(193 Arg::new("time-unit")194 .long("time-unit")195 .short('u')196 .takes_value(true)197 .value_name("UNIT")198 .possible_values(&["millisecond", "second"])199 .help("Set the time unit to be used. Possible values: millisecond, second."),200 )201 .arg(202 Arg::new("export-asciidoc")203 .long("export-asciidoc")204 .takes_value(true)205 .value_name("FILE")206 .help("Export the timing summary statistics as an AsciiDoc table to the given FILE."),207 )208 .arg(209 Arg::new("export-csv")210 .long("export-csv")211 .takes_value(true)212 .value_name("FILE")213 .help("Export the timing summary statistics as CSV to the given FILE. If you need \214 the timing results for each individual run, use the JSON export format."),215 )216 .arg(217 Arg::new("export-json")218 .long("export-json")219 .takes_value(true)220 .value_name("FILE")221 .help("Export the timing summary statistics and timings of individual runs as JSON to the given FILE."),222 )223 .arg(224 Arg::new("export-markdown")225 .long("export-markdown")226 .takes_value(true)227 .value_name("FILE")228 .help("Export the timing summary statistics as a Markdown table to the given FILE."),229 )230 .arg(231 Arg::new("show-output")232 .long("show-output")233 .conflicts_with("style")234 .help(235 "Print the stdout and stderr of the benchmark instead of suppressing it. \236 This will increase the time it takes for benchmarks to run, \237 so it should only be used for debugging purposes or \238 when trying to benchmark output speed.",239 ),240 )241 .arg(242 Arg::new("command-name")243 .long("command-name")244 .short('n')245 .takes_value(true)246 .multiple_occurrences(true)247 .number_of_values(1)248 .value_name("NAME")249 .help("Give a meaningful name to a command. This can be specified multiple times \250 if several commands are benchmarked."),251 )252 .arg(253 Arg::new("debug-mode")254 .long("debug-mode")255 .hide(true)256 .help("Enable debug mode which does not actually run commands, but returns fake times when the command is 'sleep <time>'")257 )258}259260#[test]261fn verify_app() {262 build_app().debug_assert();263}
added:src/cli.rs+263 added
1use std::ffi::OsString;23use clap::{crate_version, AppSettings, Arg, ArgMatches, Command};45pub fn get_cli_arguments<'a, I, T>(args: I) -> ArgMatches6where7 I: IntoIterator<Item = T>,8 T: Into<OsString> + Clone + 'a,9{10 let command = build_command();11 command.get_matches_from(args)12}1314/// Build the clap command for parsing command line arguments15fn build_command() -> Command<'static> {16 Command::new("hyperfine")17 .version(crate_version!())18 .setting(AppSettings::DeriveDisplayOrder)19 .next_line_help(true)20 .hide_possible_values(true)21 .max_term_width(90)22 .about("A command-line benchmarking tool.")23 .arg(24 Arg::new("command")25 .help("Command to benchmark. This can be the name of an executable or a shell \26 command like \"sleep 0.5 && echo test\". If multiple commands are given, \27 hyperfine will show a comparison of the respective runtimes.")28 .required(true)29 .multiple_occurrences(true)30 .forbid_empty_values(true),31 )32 .arg(33 Arg::new("warmup")34 .long("warmup")35 .short('w')36 .takes_value(true)37 .value_name("NUM")38 .help(39 "Perform NUM warmup runs before the actual benchmark. This can be used \40 to fill (disk) caches for I/O-heavy programs.",41 ),42 )43 .arg(44 Arg::new("min-runs")45 .long("min-runs")46 .short('m')47 .takes_value(true)48 .value_name("NUM")49 .help("Perform at least NUM runs for each command (default: 10)."),50 )51 .arg(52 Arg::new("max-runs")53 .long("max-runs")54 .short('M')55 .takes_value(true)56 .value_name("NUM")57 .help("Perform at most NUM runs for each command. By default, there is no limit."),58 )59 .arg(60 Arg::new("runs")61 .long("runs")62 .conflicts_with_all(&["max-runs", "min-runs"])63 .short('r')64 .takes_value(true)65 .value_name("NUM")66 .help("Perform exactly NUM runs for each command. If this option is not specified, \67 hyperfine automatically determines the number of runs."),68 )69 .arg(70 Arg::new("setup")71 .long("setup")72 .short('s')73 .takes_value(true)74 .number_of_values(1)75 .value_name("CMD")76 .help(77 "Execute CMD before each set of timing runs. This is useful for \78 compiling your software with the provided parameters, or to do any \79 other work that should happen once before a series of benchmark runs, \80 not every time as would happen with the --prepare option."81 ),82 )83 .arg(84 Arg::new("prepare")85 .long("prepare")86 .short('p')87 .takes_value(true)88 .multiple_occurrences(true)89 .number_of_values(1)90 .value_name("CMD")91 .help(92 "Execute CMD before each timing run. This is useful for \93 clearing disk caches, for example.\nThe --prepare option can \94 be specified once for all commands or multiple times, once for \95 each command. In the latter case, each preparation command will \96 be run prior to the corresponding benchmark command.",97 ),98 )99 .arg(100 Arg::new("cleanup")101 .long("cleanup")102 .short('c')103 .takes_value(true)104 .value_name("CMD")105 .help(106 "Execute CMD after the completion of all benchmarking \107 runs for each individual command to be benchmarked. \108 This is useful if the commands to be benchmarked produce \109 artifacts that need to be cleaned up."110 ),111 )112 .arg(113 Arg::new("parameter-scan")114 .long("parameter-scan")115 .short('P')116 .takes_value(true)117 .allow_hyphen_values(true)118 .value_names(&["VAR", "MIN", "MAX"])119 .help(120 "Perform benchmark runs for each value in the range MIN..MAX. Replaces the \121 string '{VAR}' in each command by the current parameter value.\n\n \122 Example: hyperfine -P threads 1 8 'make -j {threads}'\n\n\123 This performs benchmarks for 'make -j 1', 'make -j 2', …, 'make -j 8'.\n\n\124 To have the value increase following different patterns, use shell arithmetics.\n\n \125 Example: hyperfine -P size 0 3 'sleep $((2**{size}))'\n\n\126 This performs benchmarks with power of 2 increases: 'sleep 1', 'sleep 2', 'sleep 4', …\n\127 The exact syntax may vary depending on your shell and OS."128 ),129 )130 .arg(131 Arg::new("parameter-step-size")132 .long("parameter-step-size")133 .short('D')134 .takes_value(true)135 .value_names(&["DELTA"])136 .requires("parameter-scan")137 .help(138 "This argument requires --parameter-scan to be specified as well. \139 Traverse the range MIN..MAX in steps of DELTA.\n\n \140 Example: hyperfine -P delay 0.3 0.7 -D 0.2 'sleep {delay}'\n\n\141 This performs benchmarks for 'sleep 0.3', 'sleep 0.5' and 'sleep 0.7'.",142 ),143 )144 .arg(145 Arg::new("parameter-list")146 .long("parameter-list")147 .short('L')148 .takes_value(true)149 .multiple_occurrences(true)150 .allow_hyphen_values(true)151 .value_names(&["VAR", "VALUES"])152 .conflicts_with_all(&["parameter-scan", "parameter-step-size"])153 .help(154 "Perform benchmark runs for each value in the comma-separated list VALUES. \155 Replaces the string '{VAR}' in each command by the current parameter value\156 .\n\nExample: hyperfine -L compiler gcc,clang '{compiler} -O2 main.cpp'\n\n\157 This performs benchmarks for 'gcc -O2 main.cpp' and 'clang -O2 main.cpp'.\n\n\158 The option can be specified multiple times to run benchmarks for all \159 possible parameter combinations.\n"160 ),161 )162 .arg(163 Arg::new("style")164 .long("style")165 .takes_value(true)166 .value_name("TYPE")167 .possible_values(&["auto", "basic", "full", "nocolor", "color", "none"])168 .help(169 "Set output style type (default: auto). Set this to 'basic' to disable output \170 coloring and interactive elements. Set it to 'full' to enable all effects \171 even if no interactive terminal was detected. Set this to 'nocolor' to \172 keep the interactive output without any colors. Set this to 'color' to keep \173 the colors without any interactive output. Set this to 'none' to disable all \174 the output of the tool.",175 ),176 )177 .arg(178 Arg::new("shell")179 .long("shell")180 .short('S')181 .takes_value(true)182 .value_name("SHELL")183 .overrides_with("shell")184 .help("Set the shell to use for executing benchmarked commands."),185 )186 .arg(187 Arg::new("ignore-failure")188 .long("ignore-failure")189 .short('i')190 .help("Ignore non-zero exit codes of the benchmarked programs."),191 )192 .arg(193 Arg::new("time-unit")194 .long("time-unit")195 .short('u')196 .takes_value(true)197 .value_name("UNIT")198 .possible_values(&["millisecond", "second"])199 .help("Set the time unit to be used. Possible values: millisecond, second."),200 )201 .arg(202 Arg::new("export-asciidoc")203 .long("export-asciidoc")204 .takes_value(true)205 .value_name("FILE")206 .help("Export the timing summary statistics as an AsciiDoc table to the given FILE."),207 )208 .arg(209 Arg::new("export-csv")210 .long("export-csv")211 .takes_value(true)212 .value_name("FILE")213 .help("Export the timing summary statistics as CSV to the given FILE. If you need \214 the timing results for each individual run, use the JSON export format."),215 )216 .arg(217 Arg::new("export-json")218 .long("export-json")219 .takes_value(true)220 .value_name("FILE")221 .help("Export the timing summary statistics and timings of individual runs as JSON to the given FILE."),222 )223 .arg(224 Arg::new("export-markdown")225 .long("export-markdown")226 .takes_value(true)227 .value_name("FILE")228 .help("Export the timing summary statistics as a Markdown table to the given FILE."),229 )230 .arg(231 Arg::new("show-output")232 .long("show-output")233 .conflicts_with("style")234 .help(235 "Print the stdout and stderr of the benchmark instead of suppressing it. \236 This will increase the time it takes for benchmarks to run, \237 so it should only be used for debugging purposes or \238 when trying to benchmark output speed.",239 ),240 )241 .arg(242 Arg::new("command-name")243 .long("command-name")244 .short('n')245 .takes_value(true)246 .multiple_occurrences(true)247 .number_of_values(1)248 .value_name("NAME")249 .help("Give a meaningful name to a command. This can be specified multiple times \250 if several commands are benchmarked."),251 )252 .arg(253 Arg::new("debug-mode")254 .long("debug-mode")255 .hide(true)256 .help("Enable debug mode which does not actually run commands, but returns fake times when the command is 'sleep <time>'")257 )258}259260#[test]261fn verify_app() {262 build_command().debug_assert();263}
modified:src/command.rs+3 added-3 removed
349 unmodified lines
350}351352#[test]353fn test_build_commands_cross_product() {354 use crate::app::get_cli_arguments;354 use crate::cli::get_cli_arguments;355356 let matches = get_cli_arguments(vec![357 "hyperfine",358 "-L",
29 unmodified lines
388}389390#[test]391fn test_build_parameter_list_commands() {392 use crate::app::get_cli_arguments;392 use crate::cli::get_cli_arguments;393394 let matches = get_cli_arguments(vec![395 "hyperfine",396 "echo {foo}",
12 unmodified lines
409}410411#[test]412fn test_build_parameter_scan_commands() {413 use crate::app::get_cli_arguments;413 use crate::cli::get_cli_arguments;414 let matches = get_cli_arguments(vec![415 "hyperfine",416 "echo {val}",417 "--parameter-scan",
105 unmodified lines
modified:src/main.rs+2 added-2 removed
1use std::env;23use app::get_cli_arguments;3use benchmark::scheduler::Scheduler;4use cli::get_cli_arguments;5use command::Commands;6use export::ExportManager;7use options::Options;89use anyhow::Result;10use colored::*;1112pub mod app;12pub mod benchmark;13pub mod cli;14pub mod command;15pub mod error;16pub mod export;17pub mod options;
34 unmodified lines
modified:build.rs+3 added-3 removed
1use std::fs;23use clap_complete::{generate_to, Shell};45include!("src/app.rs");5include!("src/cli.rs");67fn main() {8 let var = std::env::var_os("SHELL_COMPLETIONS_DIR").or_else(|| std::env::var_os("OUT_DIR"));9 let outdir = match var {
1 unmodified line
11 Some(outdir) => outdir,12 };13 fs::create_dir_all(&outdir).unwrap();1415 let mut app = build_app();15 let mut command = build_command();16 for shell in [17 Shell::Bash,18 Shell::Fish,19 Shell::Zsh,20 Shell::PowerShell,21 Shell::Elvish,22 ] {23 generate_to(shell, &mut app, "hyperfine", &outdir).unwrap();23 generate_to(shell, &mut command, "hyperfine", &outdir).unwrap();24 }25}
modified:Cargo.lock+37 added-44 removed
11 unmodified lines
12]1314[[package]]15name = "anyhow"16version = "1.0.53"16version = "1.0.55"17source = "registry+https://github.com/rust-lang/crates.io-index"18checksum = "94a45b455c14666b85fc40a019e8ab9eb75e3a124e05494f5397122bc9eb06e0"18checksum = "159bb86af3a200e19a068f4224eae4c8bb2d0fa054c7e5d1cacd5cef95e684cd"1920[[package]]21name = "approx"22version = "0.5.1"
35 unmodified lines
58]5960[[package]]61name = "autocfg"62version = "0.1.7"62version = "0.1.8"63source = "registry+https://github.com/rust-lang/crates.io-index"64checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"64checksum = "0dde43e75fd43e8a1bf86103336bc699aa8d17ad1be60c76c0bdfd4828e19b78"65dependencies = [66 "autocfg 1.1.0",67]6869[[package]]70name = "autocfg"68version = "1.0.1"71version = "1.1.0"72source = "registry+https://github.com/rust-lang/crates.io-index"70checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"73checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"7475[[package]]76name = "bitflags"77version = "1.3.2"
19 unmodified lines
97checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"9899[[package]]100name = "clap"98version = "3.0.14"101version = "3.1.1"102source = "registry+https://github.com/rust-lang/crates.io-index"100checksum = "b63edc3f163b3c71ec8aa23f9bd6070f77edbf3d1d198b164afa90ff00e4ec62"103checksum = "6d76c22c9b9b215eeb8d016ad3a90417bd13cb24cf8142756e6472445876cab7"104dependencies = [105 "atty",106 "bitflags",107 "indexmap",
6 unmodified lines
114]115116[[package]]117name = "clap_complete"115version = "3.0.5"118version = "3.1.0"119source = "registry+https://github.com/rust-lang/crates.io-index"117checksum = "be4dabb7e2f006497e1da045feaa512acf0686f76b68d94925da2d9422dcb521"120checksum = "23eec4dd324308f49d8bf86a2732078c34d57955fec1e1d865554fc37c15d420"121dependencies = [122 "clap",123]124
101 unmodified lines
226checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"227228[[package]]229name = "getrandom"227version = "0.2.4"230version = "0.2.5"231source = "registry+https://github.com/rust-lang/crates.io-index"229checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c"232checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77"233dependencies = [234 "cfg-if",235 "libc",236 "wasi",
28 unmodified lines
265 "csv",266 "indicatif",267 "libc",268 "predicates",266 "rand 0.8.4",269 "rand 0.8.5",270 "rust_decimal",271 "serde",272 "serde_json",273 "shell-words",
8 unmodified lines
282version = "1.8.0"283source = "registry+https://github.com/rust-lang/crates.io-index"284checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223"285dependencies = [283 "autocfg 1.0.1",286 "autocfg 1.1.0",287 "hashbrown",288]289290[[package]]
45 unmodified lines
336checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"337338[[package]]339name = "libc"337version = "0.2.117"340version = "0.2.119"341source = "registry+https://github.com/rust-lang/crates.io-index"339checksum = "e74d72e0f9b65b5b4ca49a346af3976df0f9c61d550727f349ecd559f251a26c"342checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4"343344[[package]]345name = "memchr"346version = "2.4.1"
25 unmodified lines
372version = "0.2.6"373source = "registry+https://github.com/rust-lang/crates.io-index"374checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"375dependencies = [373 "autocfg 1.0.1",376 "autocfg 1.1.0",377 "num-integer",378 "num-traits",379]380
2 unmodified lines
383version = "0.2.4"384source = "registry+https://github.com/rust-lang/crates.io-index"385checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"386dependencies = [384 "autocfg 1.0.1",387 "autocfg 1.1.0",388 "num-traits",389]390391[[package]]
1 unmodified line
393version = "0.1.44"394source = "registry+https://github.com/rust-lang/crates.io-index"395checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"396dependencies = [394 "autocfg 1.0.1",397 "autocfg 1.1.0",398 "num-traits",399]400401[[package]]
1 unmodified line
403version = "0.1.42"404source = "registry+https://github.com/rust-lang/crates.io-index"405checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59"406dependencies = [404 "autocfg 1.0.1",407 "autocfg 1.1.0",408 "num-integer",409 "num-traits",410]411
2 unmodified lines
414version = "0.2.4"415source = "registry+https://github.com/rust-lang/crates.io-index"416checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"417dependencies = [415 "autocfg 1.0.1",418 "autocfg 1.1.0",419 "num-bigint",420 "num-integer",421 "num-traits",422]
3 unmodified lines
426version = "0.2.14"427source = "registry+https://github.com/rust-lang/crates.io-index"428checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"429dependencies = [427 "autocfg 1.0.1",430 "autocfg 1.1.0",431]432433[[package]]434name = "number_prefix"
75 unmodified lines
510version = "0.6.5"511source = "registry+https://github.com/rust-lang/crates.io-index"512checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"513dependencies = [511 "autocfg 0.1.7",514 "autocfg 0.1.8",515 "libc",516 "rand_chacha 0.1.1",517 "rand_core 0.4.2",515 "rand_hc 0.1.0",518 "rand_hc",519 "rand_isaac",520 "rand_jitter",521 "rand_os",522 "rand_pcg",
2 unmodified lines
525]526527[[package]]528name = "rand"526version = "0.8.4"529version = "0.8.5"530source = "registry+https://github.com/rust-lang/crates.io-index"528checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"531checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"532dependencies = [533 "libc",534 "rand_chacha 0.3.1",535 "rand_core 0.6.3",533 "rand_hc 0.3.1",536]537538[[package]]539name = "rand_chacha"540version = "0.1.1"541source = "registry+https://github.com/rust-lang/crates.io-index"542checksum = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"543dependencies = [542 "autocfg 0.1.7",544 "autocfg 0.1.8",545 "rand_core 0.3.1",546]547548[[package]]
39 unmodified lines
588 "rand_core 0.3.1",589]590591[[package]]590name = "rand_hc"591version = "0.3.1"592source = "registry+https://github.com/rust-lang/crates.io-index"593checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"594dependencies = [595 "rand_core 0.6.3",596]597598[[package]]592name = "rand_isaac"593version = "0.1.1"594source = "registry+https://github.com/rust-lang/crates.io-index"595checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
31 unmodified lines
627version = "0.1.2"628source = "registry+https://github.com/rust-lang/crates.io-index"629checksum = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"630dependencies = [638 "autocfg 0.1.7",631 "autocfg 0.1.8",632 "rand_core 0.4.2",633]634635[[package]]
56 unmodified lines
692]693694[[package]]695name = "rust_decimal"703version = "1.21.0"696version = "1.22.0"697source = "registry+https://github.com/rust-lang/crates.io-index"705checksum = "4214023b1223d02a4aad9f0bb9828317634a56530870a2eaf7200a99c0c10f68"698checksum = "d37baa70cf8662d2ba1c1868c5983dda16ef32b105cce41fb5c47e72936a90b3"699dependencies = [700 "arrayvec",701 "num-traits",702 "serde",
26 unmodified lines
729]730731[[package]]732name = "serde_json"740version = "1.0.78"733version = "1.0.79"734source = "registry+https://github.com/rust-lang/crates.io-index"742checksum = "d23c1ba4cf0efd44be32017709280b32d1cea5c3f1275c3b6d9e8bc54f758085"735checksum = "8e8d9fa5c3b304765ce1fd9c4c8a3de2c8db365a5b91be52f186efc675681d95"736dependencies = [737 "itoa 1.0.1",738 "ryu",739 "serde",740]741742[[package]]743name = "shell-words"751version = "1.0.0"744version = "1.1.0"745source = "registry+https://github.com/rust-lang/crates.io-index"753checksum = "b6fa3938c99da4914afedd13bf3d79bcb6c277d1b2c398d23257a304d9e1b074"746checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"747748[[package]]749name = "statistical"750version = "1.0.0"
143 unmodified lines