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
Provenance
- Commit
f2f1dd9- Tree
79f8d3d- Author
David Peter <mail@david-peter.de>- Committer
David Peter <mail@david-peter.de>- Parent
308bf5c
6 files changed+308 added−315 removed
deleted:src/app.rs-263 removed
1-use std::ffi::OsString;2-3-use clap::{crate_version, App, AppSettings, Arg, ArgMatches};4-5-pub fn get_cli_arguments<'a, I, T>(args: I) -> ArgMatches6-where7- I: IntoIterator<Item = T>,8- T: Into<OsString> + Clone + 'a,9-{10- let app = build_app();11- app.get_matches_from(args)12-}13-14-/// Build the clap app for parsing command line arguments15-fn 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-}259-260-#[test]261-fn verify_app() {262- build_app().debug_assert();263-}added:src/cli.rs+263 added
1+use std::ffi::OsString;2+3+use clap::{crate_version, AppSettings, Arg, ArgMatches, Command};4+5+pub fn get_cli_arguments<'a, I, T>(args: I) -> ArgMatches6+where7+ I: IntoIterator<Item = T>,8+ T: Into<OsString> + Clone + 'a,9+{10+ let command = build_command();11+ command.get_matches_from(args)12+}13+14+/// Build the clap command for parsing command line arguments15+fn 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+}259+260+#[test]261+fn verify_app() {262+ build_command().debug_assert();263+}modified:src/command.rs+3 added-3 removed
349 unmodified lines350 }351 352 #[test]353 fn test_build_commands_cross_product() {354- use crate::app::get_cli_arguments;354+ use crate::cli::get_cli_arguments;355 356 let matches = get_cli_arguments(vec![357 "hyperfine",358 "-L",29 unmodified lines388 }389 390 #[test]391 fn test_build_parameter_list_commands() {392- use crate::app::get_cli_arguments;392+ use crate::cli::get_cli_arguments;393 394 let matches = get_cli_arguments(vec![395 "hyperfine",396 "echo {foo}",12 unmodified lines409 }410 411 #[test]412 fn 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 linesmodified:src/main.rs+2 added-2 removed
1 use std::env;2 3-use app::get_cli_arguments;3 use benchmark::scheduler::Scheduler;4+use cli::get_cli_arguments;5 use command::Commands;6 use export::ExportManager;7 use options::Options;8 9 use anyhow::Result;10 use colored::*;11 12-pub mod app;12 pub mod benchmark;13+pub mod cli;14 pub mod command;15 pub mod error;16 pub mod export;17 pub mod options;34 unmodified linesmodified:build.rs+3 added-3 removed
1 use std::fs;2 3 use clap_complete::{generate_to, Shell};4 5-include!("src/app.rs");5+include!("src/cli.rs");6 7 fn 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 line11 Some(outdir) => outdir,12 };13 fs::create_dir_all(&outdir).unwrap();14 15- 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 lines12 ]13 14 [[package]]15 name = "anyhow"16-version = "1.0.53"16+version = "1.0.55"17 source = "registry+https://github.com/rust-lang/crates.io-index"18-checksum = "94a45b455c14666b85fc40a019e8ab9eb75e3a124e05494f5397122bc9eb06e0"18+checksum = "159bb86af3a200e19a068f4224eae4c8bb2d0fa054c7e5d1cacd5cef95e684cd"19 20 [[package]]21 name = "approx"22 version = "0.5.1"35 unmodified lines58 ]59 60 [[package]]61 name = "autocfg"62-version = "0.1.7"62+version = "0.1.8"63 source = "registry+https://github.com/rust-lang/crates.io-index"64-checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"64+checksum = "0dde43e75fd43e8a1bf86103336bc699aa8d17ad1be60c76c0bdfd4828e19b78"65+dependencies = [66+ "autocfg 1.1.0",67+]68 69 [[package]]70 name = "autocfg"68-version = "1.0.1"71+version = "1.1.0"72 source = "registry+https://github.com/rust-lang/crates.io-index"70-checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"73+checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"74 75 [[package]]76 name = "bitflags"77 version = "1.3.2"19 unmodified lines97 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"98 99 [[package]]100 name = "clap"98-version = "3.0.14"101+version = "3.1.1"102 source = "registry+https://github.com/rust-lang/crates.io-index"100-checksum = "b63edc3f163b3c71ec8aa23f9bd6070f77edbf3d1d198b164afa90ff00e4ec62"103+checksum = "6d76c22c9b9b215eeb8d016ad3a90417bd13cb24cf8142756e6472445876cab7"104 dependencies = [105 "atty",106 "bitflags",107 "indexmap",6 unmodified lines114 ]115 116 [[package]]117 name = "clap_complete"115-version = "3.0.5"118+version = "3.1.0"119 source = "registry+https://github.com/rust-lang/crates.io-index"117-checksum = "be4dabb7e2f006497e1da045feaa512acf0686f76b68d94925da2d9422dcb521"120+checksum = "23eec4dd324308f49d8bf86a2732078c34d57955fec1e1d865554fc37c15d420"121 dependencies = [122 "clap",123 ]124 101 unmodified lines226 checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"227 228 [[package]]229 name = "getrandom"227-version = "0.2.4"230+version = "0.2.5"231 source = "registry+https://github.com/rust-lang/crates.io-index"229-checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c"232+checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77"233 dependencies = [234 "cfg-if",235 "libc",236 "wasi",28 unmodified lines265 "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 lines282 version = "1.8.0"283 source = "registry+https://github.com/rust-lang/crates.io-index"284 checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223"285 dependencies = [283- "autocfg 1.0.1",286+ "autocfg 1.1.0",287 "hashbrown",288 ]289 290 [[package]]45 unmodified lines336 checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"337 338 [[package]]339 name = "libc"337-version = "0.2.117"340+version = "0.2.119"341 source = "registry+https://github.com/rust-lang/crates.io-index"339-checksum = "e74d72e0f9b65b5b4ca49a346af3976df0f9c61d550727f349ecd559f251a26c"342+checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4"343 344 [[package]]345 name = "memchr"346 version = "2.4.1"25 unmodified lines372 version = "0.2.6"373 source = "registry+https://github.com/rust-lang/crates.io-index"374 checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"375 dependencies = [373- "autocfg 1.0.1",376+ "autocfg 1.1.0",377 "num-integer",378 "num-traits",379 ]380 2 unmodified lines383 version = "0.2.4"384 source = "registry+https://github.com/rust-lang/crates.io-index"385 checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"386 dependencies = [384- "autocfg 1.0.1",387+ "autocfg 1.1.0",388 "num-traits",389 ]390 391 [[package]]1 unmodified line393 version = "0.1.44"394 source = "registry+https://github.com/rust-lang/crates.io-index"395 checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"396 dependencies = [394- "autocfg 1.0.1",397+ "autocfg 1.1.0",398 "num-traits",399 ]400 401 [[package]]1 unmodified line403 version = "0.1.42"404 source = "registry+https://github.com/rust-lang/crates.io-index"405 checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59"406 dependencies = [404- "autocfg 1.0.1",407+ "autocfg 1.1.0",408 "num-integer",409 "num-traits",410 ]411 2 unmodified lines414 version = "0.2.4"415 source = "registry+https://github.com/rust-lang/crates.io-index"416 checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"417 dependencies = [415- "autocfg 1.0.1",418+ "autocfg 1.1.0",419 "num-bigint",420 "num-integer",421 "num-traits",422 ]3 unmodified lines426 version = "0.2.14"427 source = "registry+https://github.com/rust-lang/crates.io-index"428 checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"429 dependencies = [427- "autocfg 1.0.1",430+ "autocfg 1.1.0",431 ]432 433 [[package]]434 name = "number_prefix"75 unmodified lines510 version = "0.6.5"511 source = "registry+https://github.com/rust-lang/crates.io-index"512 checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"513 dependencies = [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 lines525 ]526 527 [[package]]528 name = "rand"526-version = "0.8.4"529+version = "0.8.5"530 source = "registry+https://github.com/rust-lang/crates.io-index"528-checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"531+checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"532 dependencies = [533 "libc",534 "rand_chacha 0.3.1",535 "rand_core 0.6.3",533- "rand_hc 0.3.1",536 ]537 538 [[package]]539 name = "rand_chacha"540 version = "0.1.1"541 source = "registry+https://github.com/rust-lang/crates.io-index"542 checksum = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"543 dependencies = [542- "autocfg 0.1.7",544+ "autocfg 0.1.8",545 "rand_core 0.3.1",546 ]547 548 [[package]]39 unmodified lines588 "rand_core 0.3.1",589 ]590 591 [[package]]590-name = "rand_hc"591-version = "0.3.1"592-source = "registry+https://github.com/rust-lang/crates.io-index"593-checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"594-dependencies = [595- "rand_core 0.6.3",596-]597-598-[[package]]592 name = "rand_isaac"593 version = "0.1.1"594 source = "registry+https://github.com/rust-lang/crates.io-index"595 checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"31 unmodified lines627 version = "0.1.2"628 source = "registry+https://github.com/rust-lang/crates.io-index"629 checksum = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"630 dependencies = [638- "autocfg 0.1.7",631+ "autocfg 0.1.8",632 "rand_core 0.4.2",633 ]634 635 [[package]]56 unmodified lines692 ]693 694 [[package]]695 name = "rust_decimal"703-version = "1.21.0"696+version = "1.22.0"697 source = "registry+https://github.com/rust-lang/crates.io-index"705-checksum = "4214023b1223d02a4aad9f0bb9828317634a56530870a2eaf7200a99c0c10f68"698+checksum = "d37baa70cf8662d2ba1c1868c5983dda16ef32b105cce41fb5c47e72936a90b3"699 dependencies = [700 "arrayvec",701 "num-traits",702 "serde",26 unmodified lines729 ]730 731 [[package]]732 name = "serde_json"740-version = "1.0.78"733+version = "1.0.79"734 source = "registry+https://github.com/rust-lang/crates.io-index"742-checksum = "d23c1ba4cf0efd44be32017709280b32d1cea5c3f1275c3b6d9e8bc54f758085"735+checksum = "8e8d9fa5c3b304765ce1fd9c4c8a3de2c8db365a5b91be52f186efc675681d95"736 dependencies = [737 "itoa 1.0.1",738 "ryu",739 "serde",740 ]741 742 [[package]]743 name = "shell-words"751-version = "1.0.0"744+version = "1.1.0"745 source = "registry+https://github.com/rust-lang/crates.io-index"753-checksum = "b6fa3938c99da4914afedd13bf3d79bcb6c277d1b2c398d23257a304d9e1b074"746+checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"747 748 [[package]]749 name = "statistical"750 version = "1.0.0"143 unmodified lines