From e5804a5afd418e1e09d00aeec8cf77231d1afdf5 Mon Sep 17 00:00:00 2001 From: sagie gur ari Date: Mon, 8 Aug 2022 07:24:59 +0000 Subject: [PATCH] release --- .buildnumber | 2 +- Cargo.lock | 330 +++++-------- Cargo.toml | 2 +- README.md | 52 +- docs/api/ayu.css | 2 +- docs/api/cargo_make/all.html | 10 +- docs/api/cargo_make/fn.get_name.html | 11 +- docs/api/cargo_make/fn.main.html | 11 +- docs/api/cargo_make/index.html | 14 +- docs/api/cargo_make/sidebar-items.js | 2 +- docs/api/cli/all.html | 10 +- docs/api/cli/fn.run_cli.html | 13 +- docs/api/cli/index.html | 19 +- docs/api/cli/sidebar-items.js | 2 +- docs/api/cli/types/enum.CrateDependency.html | 41 +- .../cli/types/enum.DependencyIdentifier.html | 55 +-- docs/api/cli/types/enum.DeprecationInfo.html | 45 +- docs/api/cli/types/enum.EnvFile.html | 41 +- docs/api/cli/types/enum.EnvValue.html | 41 +- docs/api/cli/types/enum.Extend.html | 41 +- docs/api/cli/types/enum.InstallCrate.html | 45 +- docs/api/cli/types/enum.RunTaskInfo.html | 41 +- docs/api/cli/types/enum.RunTaskName.html | 45 +- docs/api/cli/types/enum.ScriptValue.html | 41 +- docs/api/cli/types/enum.TaskWatchOptions.html | 45 +- .../cli/types/enum.ToolchainSpecifier.html | 59 +-- docs/api/cli/types/enum.UnstableFeature.html | 55 +-- docs/api/cli/types/fn.get_platform_name.html | 13 +- docs/api/cli/types/index.html | 22 +- docs/api/cli/types/sidebar-items.js | 2 +- docs/api/cli/types/struct.Cache.html | 45 +- docs/api/cli/types/struct.CliArgs.html | 39 +- docs/api/cli/types/struct.CommandSpec.html | 31 +- docs/api/cli/types/struct.Config.html | 43 +- docs/api/cli/types/struct.ConfigSection.html | 51 +- .../cli/types/struct.CrateDependencyInfo.html | 41 +- docs/api/cli/types/struct.CrateInfo.html | 45 +- docs/api/cli/types/struct.EnvFileInfo.html | 43 +- docs/api/cli/types/struct.EnvInfo.html | 37 +- .../cli/types/struct.EnvValueConditioned.html | 41 +- docs/api/cli/types/struct.EnvValueDecode.html | 41 +- .../cli/types/struct.EnvValuePathGlob.html | 41 +- docs/api/cli/types/struct.EnvValueScript.html | 41 +- docs/api/cli/types/struct.EnvValueUnset.html | 41 +- docs/api/cli/types/struct.ExecutionPlan.html | 31 +- docs/api/cli/types/struct.ExtendOptions.html | 41 +- docs/api/cli/types/struct.ExternalConfig.html | 45 +- .../api/cli/types/struct.FileScriptValue.html | 41 +- docs/api/cli/types/struct.FlowInfo.html | 37 +- docs/api/cli/types/struct.FlowState.html | 45 +- docs/api/cli/types/struct.GlobalConfig.html | 45 +- .../types/struct.InstallCargoPluginInfo.html | 47 +- .../cli/types/struct.InstallCrateInfo.html | 47 +- .../struct.InstallRustupComponentInfo.html | 45 +- docs/api/cli/types/struct.ModifyConfig.html | 45 +- docs/api/cli/types/struct.PackageInfo.html | 45 +- .../types/struct.PlatformOverrideTask.html | 43 +- docs/api/cli/types/struct.RunTaskDetails.html | 41 +- .../cli/types/struct.RunTaskRoutingInfo.html | 41 +- .../types/struct.RustVersionCondition.html | 41 +- docs/api/cli/types/struct.ScriptSections.html | 41 +- docs/api/cli/types/struct.Step.html | 39 +- docs/api/cli/types/struct.Task.html | 61 +-- docs/api/cli/types/struct.TaskCondition.html | 41 +- docs/api/cli/types/struct.TaskIdentifier.html | 55 +-- docs/api/cli/types/struct.TestArg.html | 467 +++++++++--------- .../struct.ToolchainBoundedSpecifier.html | 51 +- docs/api/cli/types/struct.WatchOptions.html | 45 +- docs/api/cli/types/struct.Workspace.html | 45 +- docs/api/dark.css | 2 +- .../implementors/core/convert/trait.From.js | 2 +- .../serde/de/trait.Deserialize.js | 2 +- .../implementors/serde/ser/trait.Serialize.js | 2 +- docs/api/light.css | 2 +- docs/api/main.js | 8 +- docs/api/makers/all.html | 10 +- docs/api/makers/fn.get_name.html | 11 +- docs/api/makers/fn.main.html | 11 +- docs/api/makers/index.html | 14 +- docs/api/makers/sidebar-items.js | 2 +- docs/api/rustdoc.css | 2 +- docs/api/search-index.js | 6 +- docs/api/search.js | 2 +- docs/api/settings.css | 2 +- docs/api/settings.html | 10 +- docs/api/settings.js | 2 +- docs/api/source-files.js | 9 +- docs/api/source-script.js | 2 +- docs/api/src/cargo_make/main.rs.html | 12 +- docs/api/src/cli/cache.rs.html | 12 +- docs/api/src/cli/cli.rs.html | 12 +- .../src/cli/cli_commands/diff_steps.rs.html | 12 +- .../src/cli/cli_commands/list_steps.rs.html | 12 +- docs/api/src/cli/cli_commands/mod.rs.html | 12 +- .../src/cli/cli_commands/print_steps.rs.html | 12 +- docs/api/src/cli/cli_parser.rs.html | 12 +- docs/api/src/cli/command.rs.html | 12 +- docs/api/src/cli/condition.rs.html | 12 +- docs/api/src/cli/config.rs.html | 12 +- .../src/cli/descriptor/cargo_alias.rs.html | 12 +- .../descriptor_deserializer.rs.html | 12 +- .../src/cli/descriptor/makefiles/mod.rs.html | 12 +- docs/api/src/cli/descriptor/mod.rs.html | 12 +- .../api/src/cli/environment/crateinfo.rs.html | 12 +- docs/api/src/cli/environment/mod.rs.html | 12 +- docs/api/src/cli/execution_plan.rs.html | 12 +- .../api/src/cli/functions/decode_func.rs.html | 12 +- docs/api/src/cli/functions/getat_func.rs.html | 12 +- docs/api/src/cli/functions/mod.rs.html | 12 +- .../cli/functions/remove_empty_func.rs.html | 12 +- docs/api/src/cli/functions/split_func.rs.html | 12 +- docs/api/src/cli/functions/trim_func.rs.html | 12 +- .../installer/cargo_plugin_installer.rs.html | 18 +- .../src/cli/installer/crate_installer.rs.html | 14 +- .../cli/installer/crate_version_check.rs.html | 12 +- docs/api/src/cli/installer/mod.rs.html | 18 +- .../rustup_component_installer.rs.html | 12 +- docs/api/src/cli/io.rs.html | 12 +- docs/api/src/cli/legacy.rs.html | 12 +- docs/api/src/cli/logger.rs.html | 12 +- docs/api/src/cli/mod.rs.html | 16 +- docs/api/src/cli/plugin/descriptor.rs.html | 12 +- docs/api/src/cli/plugin/mod.rs.html | 12 +- docs/api/src/cli/plugin/runner.rs.html | 12 +- .../cm_plugin_check_task_condition.rs.html | 12 +- .../sdk/cm_plugin_force_plugin_clear.rs.html | 12 +- .../sdk/cm_plugin_force_plugin_set.rs.html | 12 +- .../sdk/cm_plugin_run_custom_task.rs.html | 148 ++++++ .../cli/plugin/sdk/cm_plugin_run_task.rs.html | 12 +- docs/api/src/cli/plugin/sdk/mod.rs.html | 24 +- docs/api/src/cli/plugin/types.rs.html | 12 +- docs/api/src/cli/profile.rs.html | 12 +- docs/api/src/cli/proxy_task.rs.html | 12 +- docs/api/src/cli/recursion_level.rs.html | 12 +- docs/api/src/cli/runner.rs.html | 12 +- .../cli/scriptengine/duck_script/mod.rs.html | 12 +- .../duck_script/sdk/cm_run_task.rs.html | 12 +- .../scriptengine/duck_script/sdk/mod.rs.html | 12 +- .../cli/scriptengine/generic_script.rs.html | 12 +- docs/api/src/cli/scriptengine/mod.rs.html | 12 +- .../src/cli/scriptengine/os_script.rs.html | 12 +- .../api/src/cli/scriptengine/rsscript.rs.html | 18 +- .../src/cli/scriptengine/script_utils.rs.html | 12 +- .../cli/scriptengine/shebang_script.rs.html | 12 +- .../cli/scriptengine/shell_to_batch.rs.html | 12 +- docs/api/src/cli/storage.rs.html | 12 +- docs/api/src/cli/time_summary.rs.html | 12 +- docs/api/src/cli/toolchain.rs.html | 12 +- docs/api/src/cli/types.rs.html | 80 ++- docs/api/src/cli/version.rs.html | 12 +- docs/api/src/makers/makers.rs.html | 12 +- docs/api/storage.js | 2 +- 152 files changed, 1704 insertions(+), 2612 deletions(-) create mode 100644 docs/api/src/cli/plugin/sdk/cm_plugin_run_custom_task.rs.html diff --git a/.buildnumber b/.buildnumber index 7371afb0..f71beab7 100644 --- a/.buildnumber +++ b/.buildnumber @@ -1 +1 @@ -236 \ No newline at end of file +237 \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index a5ff613c..bf36ea22 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,22 +8,13 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "aho-corasick" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca972c2ea5f742bfce5687b9aef75506a764f61d37f8f649047846a9686ddb66" -dependencies = [ - "memchr 0.1.11", -] - [[package]] name = "aho-corasick" version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" dependencies = [ - "memchr 2.5.0", + "memchr", ] [[package]] @@ -32,14 +23,14 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] name = "attohttpc" -version = "0.19.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "262c3f7f5d61249d8c00e5546e2685cd15ebeeb1bc0f3cc5449350a1cb07319e" +checksum = "6ca359af0239b00307656f0d6520fab5997a068cdfcfdb424e5466a3ea7958c5" dependencies = [ "flate2", "http", @@ -61,7 +52,7 @@ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ "hermit-abi", "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -97,7 +88,7 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" dependencies = [ - "memchr 2.5.0", + "memchr", ] [[package]] @@ -108,9 +99,9 @@ checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" [[package]] name = "bytes" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0b3de4a0c5e67e16066a0715723abd91edc2f9001d09c46e1dca929351e130e" +checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" [[package]] name = "camino" @@ -136,7 +127,7 @@ dependencies = [ "duckscriptsdk", "envmnt", "fern", - "fsio 0.4.0", + "fsio", "git_info", "glob", "home", @@ -144,7 +135,7 @@ dependencies = [ "indexmap", "lenient_semver", "log", - "regex 1.6.0", + "regex", "run_script", "rust_info", "semver", @@ -192,12 +183,16 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.2.25" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9213f7cd7c27e95c2b57c49f0e69b1ea65b27138da84a170133fd21b07659c00" +checksum = "6127248204b9aba09a362f6c930ef6a78f2c1b2215f8a7b398c06e1083f17af0" dependencies = [ - "num", + "js-sys", + "num-integer", + "num-traits", "time", + "wasm-bindgen", + "winapi", ] [[package]] @@ -222,8 +217,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd" dependencies = [ "atty", - "lazy_static 1.4.0", - "winapi 0.3.9", + "lazy_static", + "winapi", ] [[package]] @@ -262,9 +257,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d82ee10ce34d7bc12c2122495e7593a9c41347ecdd64185af4ecf72cb1a7f83" +checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc" dependencies = [ "cfg-if", "once_cell", @@ -287,7 +282,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b37feaa84e6861e00a1f5e5aa8da3ee56d605c9992d33e082786754828e20865" dependencies = [ "nix", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -318,7 +313,7 @@ checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", "redox_users", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -327,14 +322,14 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25a3658fb573aa6858ec008008d6b33cb05c9eb77fd53b2d77f5f0cc6eb72536" dependencies = [ - "fsio 0.4.0", + "fsio", ] [[package]] name = "duckscriptsdk" -version = "0.8.13" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79dfe93024c88afea614b4fe9d7f2676e58bcd8eb61195b2ed954e4f6b7f3df4" +checksum = "117fd4ca9190f4b6f063f7f94e9764e83a3c606c49ad85a104838c0b5a8ca2ce" dependencies = [ "attohttpc", "base64", @@ -342,8 +337,7 @@ dependencies = [ "colored", "duckscript", "fs_extra", - "fsio 0.3.1", - "ftp", + "fsio", "glob", "heck", "home", @@ -355,6 +349,7 @@ dependencies = [ "semver", "serde_json", "sha2", + "suppaftp", "uname", "walkdir", "which", @@ -443,15 +438,15 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4498d2bc21512b323c159d2c6dff3fe6799ea6cfa6c24b991e76099abcd2a1ca" dependencies = [ - "fsio 0.4.0", + "fsio", "indexmap", ] [[package]] name = "fastrand" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf" +checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" dependencies = [ "instant", ] @@ -512,16 +507,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" -[[package]] -name = "fsio" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de6fce87c901c64837f745e7fffddeca1de8e054b544ba82c419905d40a0e1be" -dependencies = [ - "dunce", - "rand", -] - [[package]] name = "fsio" version = "0.4.0" @@ -532,22 +517,11 @@ dependencies = [ "rand", ] -[[package]] -name = "ftp" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "542951aad0071952c27409e3bd7cb62d1a3ad419c4e7314106bf994e0083ad5d" -dependencies = [ - "chrono", - "lazy_static 0.1.16", - "regex 0.1.80", -] - [[package]] name = "generic-array" -version = "0.14.5" +version = "0.14.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803" +checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" dependencies = [ "typenum", "version_check", @@ -582,11 +556,11 @@ version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a1e17342619edbc21a964c2afbeb6c820c6a2560032872f397bb97ea127bd0a" dependencies = [ - "aho-corasick 0.7.18", + "aho-corasick", "bstr", "fnv", "log", - "regex 1.6.0", + "regex", ] [[package]] @@ -616,7 +590,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2456aef2e6b6a9784192ae780c0f15bc57df0e918585282325e8c8ac27737654" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -649,12 +623,12 @@ checksum = "713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d" dependencies = [ "crossbeam-utils", "globset", - "lazy_static 1.4.0", + "lazy_static", "log", - "memchr 2.5.0", - "regex 1.6.0", + "memchr", + "regex", "same-file", - "thread_local 1.1.4", + "thread_local", "walkdir", "winapi-util", ] @@ -681,9 +655,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d" +checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" [[package]] name = "java-properties" @@ -692,34 +666,41 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1904d8654a1ef51034d02d5a9411b50bf91bea15b0ab644ae179d1325976263" dependencies = [ "encoding", - "lazy_static 1.4.0", - "regex 1.6.0", + "lazy_static", + "regex", ] [[package]] name = "js-sys" -version = "0.3.58" +version = "0.3.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3fac17f7123a73ca62df411b1bf727ccc805daa070338fda671c86dac1bdc27" +checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2" dependencies = [ "wasm-bindgen", ] [[package]] -name = "kernel32-sys" -version = "0.2.2" +name = "lazy-regex" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" +checksum = "b6b12f2eb6ed7d39405c5eb25a034b4c106a9ad87a6d9be3298de6c5f32fd57d" dependencies = [ - "winapi 0.2.8", - "winapi-build", + "lazy-regex-proc_macros", + "once_cell", + "regex", ] [[package]] -name = "lazy_static" -version = "0.1.16" +name = "lazy-regex-proc_macros" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf186d1a8aa5f5bee5fd662bc9c1b949e0259e1bcc379d1f006847b0080c7417" +checksum = "f2496e5264069bc726ccf37eb76b9cd89406ae110d836c3f76729f99c8a23293" +dependencies = [ + "proc-macro2", + "quote", + "regex", + "syn", +] [[package]] name = "lazy_static" @@ -758,9 +739,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.126" +version = "0.2.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" +checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" [[package]] name = "log" @@ -777,15 +758,6 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" -[[package]] -name = "memchr" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b629fb514376c675b98c1421e80b151d3817ac42d7c667717d282761418d20" -dependencies = [ - "libc", -] - [[package]] name = "memchr" version = "2.5.0" @@ -817,7 +789,7 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd7e2f3618557f980e0b17e8856252eee3c97fa12c54dff0ca290fb6266ca4a9" dependencies = [ - "lazy_static 1.4.0", + "lazy_static", "libc", "log", "openssl", @@ -846,17 +818,6 @@ version = "1.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5b8c256fd9471521bcb84c3cdba98921497f1a331cbc15b8030fc63b82050ce" -[[package]] -name = "num" -version = "0.1.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4703ad64153382334aa8db57c637364c322d3372e097840c72000dabdcf6156e" -dependencies = [ - "num-integer", - "num-iter", - "num-traits", -] - [[package]] name = "num-integer" version = "0.1.45" @@ -867,17 +828,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-iter" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.15" @@ -968,18 +918,18 @@ checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "proc-macro2" -version = "1.0.40" +version = "1.0.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7" +checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804" +checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" dependencies = [ "proc-macro2", ] @@ -1016,9 +966,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.13" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42" +checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ "bitflags", ] @@ -1034,36 +984,17 @@ dependencies = [ "thiserror", ] -[[package]] -name = "regex" -version = "0.1.80" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fd4ace6a8cf7860714a2c2280d6c1f7e6a413486c13298bbc86fd3da019402f" -dependencies = [ - "aho-corasick 0.5.3", - "memchr 0.1.11", - "regex-syntax 0.3.9", - "thread_local 0.2.7", - "utf8-ranges", -] - [[package]] name = "regex" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" dependencies = [ - "aho-corasick 0.7.18", - "memchr 2.5.0", - "regex-syntax 0.6.27", + "aho-corasick", + "memchr", + "regex-syntax", ] -[[package]] -name = "regex-syntax" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9ec002c35e86791825ed294b50008eea9ddfc8def4420124fbc6b08db834957" - [[package]] name = "regex-syntax" version = "0.6.27" @@ -1076,7 +1007,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1091,7 +1022,7 @@ dependencies = [ "spin", "untrusted", "web-sys", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1100,7 +1031,7 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fdc55b3a7ad58e02de47eaf7a854c6791c8421da48ff296c152317d3beaf230" dependencies = [ - "fsio 0.4.0", + "fsio", ] [[package]] @@ -1123,9 +1054,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" +checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" [[package]] name = "same-file" @@ -1142,7 +1073,7 @@ version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88d6731146462ea25d9244b2ed5fd1d716d25c52e4d54aa4fb0f3c4e9854dbe2" dependencies = [ - "lazy_static 1.4.0", + "lazy_static", "windows-sys", ] @@ -1245,7 +1176,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14f4ec0e1f6a52fffcb4789ee0070f473f4cf5581ee532b8b2b8a6da901904a9" dependencies = [ - "regex 1.6.0", + "regex", ] [[package]] @@ -1254,11 +1185,23 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" +[[package]] +name = "suppaftp" +version = "4.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374fa36af4a114155280ba725b6487d78ec4ed8e54c69fe80f59805ffed9cd65" +dependencies = [ + "chrono", + "lazy-regex", + "log", + "thiserror", +] + [[package]] name = "syn" -version = "1.0.98" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" +checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" dependencies = [ "proc-macro2", "quote", @@ -1276,48 +1219,29 @@ dependencies = [ "libc", "redox_syscall", "remove_dir_all", - "winapi 0.3.9", + "winapi", ] [[package]] name = "thiserror" -version = "1.0.31" +version = "1.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a" +checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.31" +version = "1.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a" +checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21" dependencies = [ "proc-macro2", "quote", "syn", ] -[[package]] -name = "thread-id" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9539db560102d1cef46b8b78ce737ff0bb64e7e18d35b2a5688f7d097d0ff03" -dependencies = [ - "kernel32-sys", - "libc", -] - -[[package]] -name = "thread_local" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8576dbbfcaef9641452d5cf0df9b0e7eeab7694956dd33bb61515fb8f18cfdd5" -dependencies = [ - "thread-id", -] - [[package]] name = "thread_local" version = "1.1.4" @@ -1335,7 +1259,7 @@ checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" dependencies = [ "libc", "wasi 0.10.0+wasi-snapshot-preview1", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -1385,9 +1309,9 @@ checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" [[package]] name = "unicode-ident" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7" +checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" [[package]] name = "unicode-normalization" @@ -1416,12 +1340,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "utf8-ranges" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ca13c08c41c9c3e04224ed9ff80461d97e121589ff27c753a16cb10830ae0f" - [[package]] name = "vcpkg" version = "0.2.15" @@ -1441,7 +1359,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" dependencies = [ "same-file", - "winapi 0.3.9", + "winapi", "winapi-util", ] @@ -1459,9 +1377,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.81" +version = "0.2.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c53b543413a17a202f4be280a7e5c62a1c69345f5de525ee64f8cfdbc954994" +checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -1469,13 +1387,13 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.81" +version = "0.2.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5491a68ab4500fa6b4d726bd67408630c3dbe9c4fe7bda16d5c82a1fd8c7340a" +checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f" dependencies = [ "bumpalo", - "lazy_static 1.4.0", "log", + "once_cell", "proc-macro2", "quote", "syn", @@ -1484,9 +1402,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.81" +version = "0.2.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c441e177922bc58f1e12c022624b6216378e5febc2f0533e41ba443d505b80aa" +checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1494,9 +1412,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.81" +version = "0.2.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d94ac45fcf608c1f45ef53e748d35660f168490c10b23704c7779ab8f5c3048" +checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da" dependencies = [ "proc-macro2", "quote", @@ -1507,15 +1425,15 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.81" +version = "0.2.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a89911bd99e5f3659ec4acf9c4d93b0a90fe4a2a11f15328472058edc5261be" +checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a" [[package]] name = "web-sys" -version = "0.3.58" +version = "0.3.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fed94beee57daf8dd7d51f2b15dc2bcde92d7a72304cdf662a4371008b71b90" +checksum = "ed055ab27f941423197eb86b2035720b1a3ce40504df082cac2ecc6ed73335a1" dependencies = [ "js-sys", "wasm-bindgen", @@ -1547,7 +1465,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae" dependencies = [ "either", - "lazy_static 1.4.0", + "lazy_static", "libc", ] @@ -1567,12 +1485,6 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee583bdc5ff1cf9db20e9db5bb3ff4c3089a8f6b8b31aff265c9aba85812db86" -[[package]] -name = "winapi" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" - [[package]] name = "winapi" version = "0.3.9" @@ -1583,12 +1495,6 @@ dependencies = [ "winapi-x86_64-pc-windows-gnu", ] -[[package]] -name = "winapi-build" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" - [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" @@ -1601,7 +1507,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 3c403c49..b54231c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ colored = "^2" ctrlc = "^3.2.2" dirs-next = "^2" duckscript = "^0.7.4" -duckscriptsdk = { version = "^0.8.13", default-features = false } +duckscriptsdk = { version = "^0.8.14", default-features = false } envmnt = "^0.10.1" fern = "^0.6" fsio = { version = "^0.4", features = ["temp-path"] } diff --git a/README.md b/README.md index ae9c500b..23e2e10b 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ cargo make --makefile simple-example.toml my-flow The output would look something like this: ```console -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: simple-example.toml [cargo-make] INFO - Task: my-flow [cargo-make] INFO - Setting Up Env. @@ -634,7 +634,7 @@ Invoking cargo-make with additional arguments would result in the following: ```console > cargo make varargs arg1 arg2 arg3 -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -651,7 +651,7 @@ Invoking cargo-make without any additional arguments would result in the followi ```console > cargo make varargs -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -678,7 +678,7 @@ Would output: ```console > cargo make varargs arg1 arg2 arg3 -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -729,7 +729,7 @@ Invoking cargo-make with additional arguments would result in the following: ```console > cargo make cli-args arg1 arg2 arg3 -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: cli-args [cargo-make] INFO - Setting Up Env. @@ -746,7 +746,7 @@ Invoking cargo-make without any additional arguments would result in the followi ```console > cargo make cli-args -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: cli-args [cargo-make] INFO - Setting Up Env. @@ -1008,7 +1008,7 @@ Output: ```console > cargo make --cwd ./examples --makefile ./shebang.toml shebang-sh -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: ./shebang.toml [cargo-make] INFO - Task: shebang-sh [cargo-make] INFO - Profile: development @@ -1035,7 +1035,7 @@ Output: ```console > cargo make --cwd ./examples --makefile ./shebang.toml shebang-python -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: ./shebang.toml [cargo-make] INFO - Task: shebang-python [cargo-make] INFO - Profile: development @@ -1329,7 +1329,7 @@ args = ["3"] We run task **3** the output would be: ```console -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: task_extend.toml [cargo-make] INFO - Task: 3 [cargo-make] INFO - Profile: development @@ -2402,7 +2402,7 @@ cargo make --cwd ./examples --makefile profile.toml --profile production echo Output: ```console -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: profile.toml [cargo-make] INFO - Task: echo [cargo-make] INFO - Profile: production @@ -2522,7 +2522,7 @@ deprecated = true When invoking **legacy** task for example, the output is: ```console -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: deprecated.toml [cargo-make] INFO - Task: legacy [cargo-make] INFO - Profile: development @@ -2563,7 +2563,7 @@ watch = true Below is a sample output of invoking the task: ```console -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: ./examples/watch.toml [cargo-make] INFO - Task: watch-example [cargo-make] INFO - Setting Up Env. @@ -2571,7 +2571,7 @@ Below is a sample output of invoking the task: [cargo-make] INFO - Running Task: watch-example [cargo-make] INFO - Running Task: watch-example-watch [cargo-make] INFO - Execute Command: "cargo" "watch" "-q" "-x" "make --disable-check-for-updates --no-on-error --loglevel=info --makefile=/projects/rust/cargo-make/examples/watch.toml watch-example" -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: /projects/rust/cargo-make/examples/watch.toml [cargo-make] INFO - Task: watch-example [cargo-make] INFO - Setting Up Env. @@ -2641,7 +2641,7 @@ args = ["${MULTIPLE_VALUES}"] ```console > cargo make --cwd ./examples --makefile functions.toml split -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: split [cargo-make] INFO - Profile: development @@ -2653,7 +2653,7 @@ args = ["${MULTIPLE_VALUES}"] [cargo-make] INFO - Build Done in 0 seconds. > cargo make --cwd ./examples --makefile functions.toml no-split -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: no-split [cargo-make] INFO - Profile: development @@ -2688,7 +2688,7 @@ args = ["@@getat(MULTIPLE_VALUES,|,3)"] ```console > cargo make --cwd ./examples --makefile functions.toml getat -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: getat [cargo-make] INFO - Profile: development @@ -2715,7 +2715,7 @@ args = ["1", "@@remove-empty(DOES_NOT_EXIST)", "2"] ```console > cargo make --cwd ./examples --makefile functions.toml remove-empty -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: remove-empty [cargo-make] INFO - Profile: development @@ -2748,7 +2748,7 @@ args = ["@@trim(TRIM_VALUE)"] ```console > cargo make --cwd ./examples --makefile functions.toml remove-empty -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim [cargo-make] INFO - Profile: development @@ -2777,7 +2777,7 @@ args = ["@@trim(TRIM_VALUE,end)"] ```console > cargo make --cwd ./examples --makefile functions.toml trim-start -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim-start [cargo-make] INFO - Profile: development @@ -2789,7 +2789,7 @@ args = ["@@trim(TRIM_VALUE,end)"] [cargo-make] INFO - Build Done in 0 seconds. > cargo make --cwd ./examples --makefile functions.toml trim-end -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim-end [cargo-make] INFO - Profile: development @@ -2827,7 +2827,7 @@ Sample run for a mapping that was found: ```console cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=development decode -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode [cargo-make] INFO - Profile: development @@ -2843,7 +2843,7 @@ Another sample run for a mapping that was not found: ```console cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=unmapped decode -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode [cargo-make] INFO - Profile: development @@ -2868,7 +2868,7 @@ Sample run: ```console cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=unmapped decode-with-default -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode-with-default [cargo-make] INFO - Profile: development @@ -2892,7 +2892,7 @@ Sample run: ```console cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=test decode-with-eval -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode-with-eval [cargo-make] INFO - Profile: development @@ -3264,7 +3264,7 @@ In order to specify the minimal version, use the **min_version** in the config s ```toml [config] -min_version = "0.35.15" +min_version = "0.35.16" ``` @@ -3352,7 +3352,7 @@ Example Usage: ```console cargo make --diff-steps --makefile ./examples/override_core.toml post-build -[cargo-make] INFO - cargo make 0.35.15 +[cargo-make] INFO - cargo make 0.35.16 [cargo-make] INFO - Build File: ./examples/override_core.toml [cargo-make] INFO - Task: post-build [cargo-make] INFO - Setting Up Env. diff --git a/docs/api/ayu.css b/docs/api/ayu.css index a9c9be0d..f98b3417 100644 --- a/docs/api/ayu.css +++ b/docs/api/ayu.css @@ -1 +1 @@ - body,#settings-menu #settings,#settings-menu #settings::before{background-color:#0f1419;color:#c5c5c5;}.setting-line .radio-line input{border-color:#c5c5c5;}.setting-line .radio-line input:checked{box-shadow:inset 0 0 0 3px #0f1419;background-color:#ffb454;}.setting-line .radio-line input:focus{box-shadow:0 0 1px 1px #ffb454;}.setting-line .radio-line input:checked:focus{box-shadow:inset 0 0 0 3px 0f1419,0 0 2px 2px #ffb454;}.setting-line .radio-line input:hover{border-color:#ffb454 !important;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:checked+.slider{background-color:#ffb454;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}h1,h2,h3,h4{color:white;}h1.fqn{border-bottom-color:#5c6773;}h1.fqn a{color:#fff;}h2,h3,h4{border-bottom-color:#5c6773;}h4{border:none;}.in-band{background-color:#0f1419;}.invisible{background:rgba(0,0,0,0);}.docblock code{color:#ffb454;}.code-header{color:#e6e1cf;}.docblock pre>code,pre>code{color:#e6e1cf;}span code{color:#e6e1cf;}.docblock a>code{color:#39AFD7 !important;}.docblock code,.docblock-short code{background-color:#191f26;}pre,.rustdoc.source .example-wrap{color:#e6e1cf;background-color:#191f26;}.sidebar,.mobile-topbar,.sidebar-menu-toggle{background-color:#14191f;}.rust-logo{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);}*{scrollbar-color:#5c6773 #24292f;}.sidebar{scrollbar-color:#5c6773 #24292f;}::-webkit-scrollbar-track{background-color:transparent;}::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar::-webkit-scrollbar-track{background-color:transparent;}.sidebar::-webkit-scrollbar-thumb{background-color:#5c6773;}.sidebar .current,.sidebar a:hover{background-color:transparent;color:#ffb44c;}.source .sidebar{background-color:#14191f;}.sidebar-elems .location{color:#ff7733;}.line-numbers span{color:#5c6773;}.line-numbers .line-highlighted{color:#708090;background-color:rgba(255,236,164,0.06);padding-right:4px;border-right:1px solid #ffb44c;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5,.docblock h6{border-bottom-color:#5c6773;}.docblock table td,.docblock table th{border-color:#5c6773;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#c5c5c5;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#000 !important;background-color:#c6afb3;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.content .item-info::before{color:#ccc;}.content span.foreigntype,.content a.foreigntype{color:#ffa0a5;}.content span.union,.content a.union{color:#ffa0a5;}.content span.constant,.content a.constant,.content span.static,.content a.static{color:#39AFD7;}.content span.primitive,.content a.primitive{color:#ffa0a5;}.content span.traitalias,.content a.traitalias{color:#39AFD7;}.content span.keyword,.content a.keyword{color:#39AFD7;}.content span.externcrate,.content span.mod,.content a.mod{color:#39AFD7;}.content span.struct,.content a.struct{color:#ffa0a5;}.content span.enum,.content a.enum{color:#ffa0a5;}.content span.trait,.content a.trait{color:#39AFD7;}.content span.type,.content a.type{color:#39AFD7;}.content span.type,.content a.type,.block a.current.type{color:#39AFD7;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#39AFD7;}.content span.fn,.content a.fn,.content span.method,.content a.method,.content span.tymethod,.content a.tymethod,.content .fnname{color:#fdd687;}.content span.attr,.content a.attr,.content span.derive,.content a.derive,.content span.macro,.content a.macro{color:#a37acc;}.sidebar a{color:#53b1db;}.sidebar a.current.type{color:#53b1db;}.sidebar a.current.associatedtype{color:#53b1db;}pre.rust .comment{color:#788797;}pre.rust .doccomment{color:#a1ac88;}nav.main .current{border-top-color:#5c6773;border-bottom-color:#5c6773;}nav.main .separator{border:1px solid #5c6773;}a{color:#39AFD7;}a#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,pre.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,.in-band a{color:#c5c5c5;}.sidebar h2 a,.sidebar h3 a{color:white;}.search-results a{color:#0096cf;}body.source .example-wrap pre.rust a{background:#333;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}details.rustdoc-toggle>summary::before,details.undocumented>summary::before{filter:invert(100%);}#crate-search,.search-input{background-color:#141920;border-color:#424c57 !important;}.search-input{color:#ffffff;}.module-item .stab,.import-item .stab{color:#000;}.stab.empty-impl{}.stab.unstable,.stab.deprecated,.stab.portability,.stab.empty-impl{color:#c5c5c5;background:#314559 !important;border-style:none !important;border-radius:4px;padding:3px 6px 3px 6px;}.stab.portability>code{color:#e6e1cf;background:none;}#help>div{background:#14191f;box-shadow:0px 6px 20px 0px black;border:none;border-radius:4px;}#help span.bottom,#help span.top{border-color:#5c6773;}.rightside,.out-of-band{color:grey;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}.line-numbers :target{background-color:transparent;}pre.rust .number,pre.rust .string{color:#b8cc52;}pre.rust .kw,pre.rust .kw-2,pre.rust .prelude-ty,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .op,pre.rust .lifetime{color:#ff7733;}pre.rust .macro,pre.rust .macro-nonterminal{color:#a37acc;}pre.rust .question-mark{color:#ff9011;}pre.rust .self{color:#36a3d9;font-style:italic;}pre.rust .attribute{color:#e6e1cf;}pre.rust .attribute .ident,pre.rust .attribute .op{color:#e6e1cf;}.example-wrap>pre.line-number{color:#5c67736e;border:none;}a.test-arrow{font-size:100%;color:#788797;border-radius:4px;background-color:rgba(57,175,215,0.09);}a.test-arrow:hover{background-color:rgba(57,175,215,0.368);color:#c5c5c5;}.toggle-label,.code-attribute{color:#999;}:target{background:rgba(255,236,164,0.06);border-right:3px solid rgba(255,180,76,0.85);}pre.compile_fail{border-left:2px solid rgba(255,0,0,.4);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.4);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#39AFD7;}.tooltip::after{background-color:#314559;color:#c5c5c5;border:1px solid #5c6773;}.tooltip::before{border-color:transparent #314559 transparent transparent;}.notable-traits-tooltiptext{background-color:#314559;border-color:#5c6773;}.notable-traits-tooltiptext .notable{border-bottom-color:#5c6773;}#titles>button.selected{background-color:#141920 !important;border-bottom:1px solid #ffb44c !important;border-top:none;}#titles>button:not(.selected){background-color:transparent !important;border:none;}#titles>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#titles>button>div.count{color:#888;}.search-input:focus{}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{}.content span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content span.typedef,.content a.typedef,.block a.current.typedef{}.content span.union,.content a.union,.block a.current.union{}pre.rust .lifetime{}.stab.unstable{}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){}.content span.enum,.content a.enum,.block a.current.enum{}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{}.content span.keyword,.content a.keyword,.block a.current.keyword{}pre.rust .comment{}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{}pre.rust .kw{}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{}pre.rust .doccomment{}.stab.deprecated{}.content a.attr,.content a.derive,.content a.macro{}.stab.portability{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}.search-results a:focus span{}a.result-trait:focus{}a.result-traitalias:focus{}a.result-mod:focus,a.result-externcrate:focus{}a.result-mod:focus{}a.result-externcrate:focus{}a.result-enum:focus{}a.result-struct:focus{}a.result-union:focus{}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{}a.result-type:focus{}a.result-associatedtype:focus{}a.result-foreigntype:focus{}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{}a.result-constant:focus,a.result-static:focus{}a.result-primitive:focus{}a.result-keyword:focus{}.sidebar a.current.enum{}.sidebar a.current.struct{}.sidebar a.current.foreigntype{}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{}.sidebar a.current.union{}.sidebar a.current.constant .sidebar a.current.static{}.sidebar a.current.primitive{}.sidebar a.current.externcrate .sidebar a.current.mod{}.sidebar a.current.trait{}.sidebar a.current.traitalias{}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{}.sidebar a.current.keyword{}@media (max-width:700px){.sidebar-menu{background-color:#14191f;border-bottom-color:#5c6773;border-right-color:#5c6773;}.sidebar-elems{background-color:#14191f;border-right-color:#5c6773;}#sidebar-filler{background-color:#14191f;border-bottom-color:#5c6773;}}kbd{color:#c5c5c5;background-color:#314559;border-color:#5c6773;border-bottom-color:#5c6773;box-shadow:inset 0 -1px 0 #5c6773;}#settings-menu>a,#help-button{border-color:#5c6773;background-color:#0f1419;color:#fff;}#settings-menu>a img{filter:invert(100);}#settings-menu #settings,#settings-menu #settings::before{border-color:#5c6773;}#copy-path{color:#fff;}#copy-path>img{filter:invert(70%);}#copy-path:hover>img{filter:invert(100%);}#settings-menu>a:hover,#settings-menu>a:focus,#help-button:hover,#help-button:focus{border-color:#e0e0e0;}#theme-choices{border-color:#5c6773;background-color:#0f1419;}#theme-choices>button:not(:first-child){border-top-color:#5c6773;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:rgba(110,110,110,0.33);}.search-results .result-name span.alias{color:#c5c5c5;}.search-results .result-name span.grey{color:#999;}#sidebar-toggle{background-color:#14191f;}#sidebar-toggle:hover{background-color:rgba(70,70,70,0.33);}#source-sidebar{background-color:#14191f;}#source-sidebar>.title{color:#fff;border-bottom-color:#5c6773;}div.files>a:hover,div.name:hover{background-color:#14191f;color:#ffb44c;}div.files>.selected{background-color:#14191f;color:#ffb44c;}.scraped-example-list .scrape-help{border-color:#aaa;color:#eee;}.scraped-example-list .scrape-help:hover{border-color:white;color:white;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:rgb(91,59,1);}.scraped-example .example-wrap .rust span.highlight.focus{background:rgb(124,75,15);}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(15,20,25,1),rgba(15,20,25,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(15,20,25,1),rgba(15,20,25,0));}.toggle-line-inner{background:#999;}.toggle-line:hover .toggle-line-inner{background:#c5c5c5;} \ No newline at end of file + :root{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}h1,h2,h3,h4{color:white;}h1.fqn a{color:#fff;}h4{border:none;}.in-band{background-color:#0f1419;}.docblock code{color:#ffb454;}.code-header{color:#e6e1cf;}.docblock pre>code,pre>code{color:#e6e1cf;}span code{color:#e6e1cf;}.docblock a>code{color:#39AFD7 !important;}pre,.rustdoc.source .example-wrap{color:#e6e1cf;}.rust-logo{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);}.sidebar .current,.sidebar a:hover{background-color:transparent;color:#ffb44c;}.sidebar-elems .location{color:#ff7733;}.line-numbers span{color:#5c6773;}.line-numbers .line-highlighted{color:#708090;background-color:rgba(255,236,164,0.06);padding-right:4px;border-right:1px solid #ffb44c;}.docblock table td,.docblock table th{border-color:#5c6773;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#000 !important;background-color:#c6afb3;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.content .item-info::before{color:#ccc;}.content span.foreigntype,.content a.foreigntype{color:#ffa0a5;}.content span.union,.content a.union{color:#ffa0a5;}.content span.constant,.content a.constant,.content span.static,.content a.static{color:#39AFD7;}.content span.primitive,.content a.primitive{color:#ffa0a5;}.content span.traitalias,.content a.traitalias{color:#39AFD7;}.content span.keyword,.content a.keyword{color:#39AFD7;}.content span.externcrate,.content span.mod,.content a.mod{color:#39AFD7;}.content span.struct,.content a.struct{color:#ffa0a5;}.content span.enum,.content a.enum{color:#ffa0a5;}.content span.trait,.content a.trait{color:#39AFD7;}.content span.type,.content a.type{color:#39AFD7;}.content span.type,.content a.type,.block a.current.type{color:#39AFD7;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#39AFD7;}.content span.fn,.content a.fn,.content span.method,.content a.method,.content span.tymethod,.content a.tymethod,.content .fnname{color:#fdd687;}.content span.attr,.content a.attr,.content span.derive,.content a.derive,.content span.macro,.content a.macro{color:#a37acc;}.sidebar a{color:#53b1db;}.sidebar a.current.type{color:#53b1db;}.sidebar a.current.associatedtype{color:#53b1db;}pre.rust .comment{color:#788797;}pre.rust .doccomment{color:#a1ac88;}nav.main .current{border-top-color:#5c6773;border-bottom-color:#5c6773;}nav.main .separator{border:1px solid #5c6773;}a{color:#39AFD7;}.sidebar h2 a,.sidebar h3 a{color:white;}.search-results a{color:#0096cf;}body.source .example-wrap pre.rust a{background:#333;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before{color:#999;}details.rustdoc-toggle>summary::before{filter:invert(100%);}#crate-search,.search-input{background-color:#141920;border-color:#424c57;}#crate-search{border-color:#424c57 !important;}.search-input{color:#ffffff;}.module-item .stab,.import-item .stab{color:#000;}.stab.empty-impl{}.stab.must_implement{}.stab.unstable,.stab.deprecated,.stab.portability,.stab.empty-impl,.stab.must_implement{color:#c5c5c5;background:#314559 !important;border-style:none !important;border-radius:4px;padding:3px 6px 3px 6px;}.stab.portability>code{color:#e6e1cf;background:none;}.rightside,.out-of-band{color:grey;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}.line-numbers :target{background-color:transparent;}pre.rust .number,pre.rust .string{color:#b8cc52;}pre.rust .kw,pre.rust .kw-2,pre.rust .prelude-ty,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .op,pre.rust .lifetime{color:#ff7733;}pre.rust .macro,pre.rust .macro-nonterminal{color:#a37acc;}pre.rust .question-mark{color:#ff9011;}pre.rust .self{color:#36a3d9;font-style:italic;}pre.rust .attribute{color:#e6e1cf;}pre.rust .attribute .ident,pre.rust .attribute .op{color:#e6e1cf;}.example-wrap>pre.line-number{color:#5c67736e;border:none;}a.test-arrow{font-size:100%;color:#788797;border-radius:4px;background-color:rgba(57,175,215,0.09);}a.test-arrow:hover{background-color:rgba(57,175,215,0.368);color:#c5c5c5;}.toggle-label,.code-attribute{color:#999;}:target{background:rgba(255,236,164,0.06);border-right:3px solid rgba(255,180,76,0.85);}pre.compile_fail{border-left:2px solid rgba(255,0,0,.4);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.4);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#39AFD7;}.tooltip::after{background-color:#314559;color:#c5c5c5;border:1px solid #5c6773;}.tooltip::before{border-color:transparent #314559 transparent transparent;}.notable-traits-tooltiptext{background-color:#314559;border-color:#5c6773;}.notable-traits-tooltiptext .notable{border-bottom-color:#5c6773;}#titles>button.selected{background-color:#141920 !important;border-bottom:1px solid #ffb44c !important;border-top:none;}#titles>button:not(.selected){background-color:transparent !important;border:none;}#titles>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#titles>button>div.count{color:#888;}.search-input:focus{}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{}.content span.struct,.content a.struct,.block a.current.struct{}#titles>button:hover,#titles>button.selected{}.content span.typedef,.content a.typedef,.block a.current.typedef{}.content span.union,.content a.union,.block a.current.union{}pre.rust .lifetime{}.stab.unstable{}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod){}.content span.enum,.content a.enum,.block a.current.enum{}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{}.content span.keyword,.content a.keyword,.block a.current.keyword{}pre.rust .comment{}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{}pre.rust .kw{}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{}pre.rust .doccomment{}.stab.deprecated{}.content a.attr,.content a.derive,.content a.macro{}.stab.portability{}.content span.primitive,.content a.primitive,.block a.current.primitive{}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{}pre.rust .kw-2,pre.rust .prelude-ty{}.content span.trait,.content a.trait,.block a.current.trait{}.search-results a:focus span{}a.result-trait:focus{}a.result-traitalias:focus{}a.result-mod:focus,a.result-externcrate:focus{}a.result-mod:focus{}a.result-externcrate:focus{}a.result-enum:focus{}a.result-struct:focus{}a.result-union:focus{}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{}a.result-type:focus{}a.result-associatedtype:focus{}a.result-foreigntype:focus{}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{}a.result-constant:focus,a.result-static:focus{}a.result-primitive:focus{}a.result-keyword:focus{}.sidebar a.current.enum{}.sidebar a.current.struct{}.sidebar a.current.foreigntype{}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{}.sidebar a.current.union{}.sidebar a.current.constant .sidebar a.current.static{}.sidebar a.current.primitive{}.sidebar a.current.externcrate .sidebar a.current.mod{}.sidebar a.current.trait{}.sidebar a.current.traitalias{}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{}.sidebar a.current.keyword{}@media (max-width:700px){.sidebar-elems{border-right-color:#5c6773;}}kbd{color:#c5c5c5;background-color:#314559;border-color:#5c6773;border-bottom-color:#5c6773;box-shadow:inset 0 -1px 0 #5c6773;}#settings-menu>a,#help-button>button{border-color:#5c6773;background-color:#0f1419;color:#fff;}#settings-menu>a img{filter:invert(100);}.popover,.popover::before,#help-button span.top,#help-button span.bottom{border-color:#5c6773;}#copy-path{color:#fff;}#copy-path>img{filter:invert(70%);}#copy-path:hover>img{filter:invert(100%);}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#e0e0e0;}#theme-choices{border-color:#5c6773;background-color:#0f1419;}#theme-choices>button:not(:first-child){border-top-color:#5c6773;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:rgba(110,110,110,0.33);}.search-results .result-name span.alias{color:#c5c5c5;}.search-results .result-name span.grey{color:#999;}#source-sidebar>.title{color:#fff;border-bottom-color:#5c6773;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#14191f;color:#ffb44c;}#source-sidebar div.files>a.selected{background-color:#14191f;color:#ffb44c;}.scraped-example-list .scrape-help{border-color:#aaa;color:#eee;}.scraped-example-list .scrape-help:hover{border-color:white;color:white;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:rgb(91,59,1);}.scraped-example .example-wrap .rust span.highlight.focus{background:rgb(124,75,15);}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(15,20,25,1),rgba(15,20,25,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(15,20,25,1),rgba(15,20,25,0));}.toggle-line-inner{background:#999;}.toggle-line:hover .toggle-line-inner{background:#c5c5c5;} \ No newline at end of file diff --git a/docs/api/cargo_make/all.html b/docs/api/cargo_make/all.html index fcd6bfd1..c0b5f299 100644 --- a/docs/api/cargo_make/all.html +++ b/docs/api/cargo_make/all.html @@ -1,9 +1 @@ -List of all items in this crate - -

List of all items

Functions

- \ No newline at end of file +List of all items in this crate

List of all items

Functions

\ No newline at end of file diff --git a/docs/api/cargo_make/fn.get_name.html b/docs/api/cargo_make/fn.get_name.html index c53efc63..96f78163 100644 --- a/docs/api/cargo_make/fn.get_name.html +++ b/docs/api/cargo_make/fn.get_name.html @@ -1,10 +1 @@ -get_name in cargo_make - Rust - -
pub(crate) fn get_name() -> String
- \ No newline at end of file +get_name in cargo_make - Rust
pub(crate) fn get_name() -> String
\ No newline at end of file diff --git a/docs/api/cargo_make/fn.main.html b/docs/api/cargo_make/fn.main.html index 696a7c97..e76eafca 100644 --- a/docs/api/cargo_make/fn.main.html +++ b/docs/api/cargo_make/fn.main.html @@ -1,10 +1 @@ -main in cargo_make - Rust - -
-

Function cargo_make::main

source · []
pub(crate) fn main()
- \ No newline at end of file +main in cargo_make - Rust
pub(crate) fn main()
\ No newline at end of file diff --git a/docs/api/cargo_make/index.html b/docs/api/cargo_make/index.html index 4edca3ab..10b79f9b 100644 --- a/docs/api/cargo_make/index.html +++ b/docs/api/cargo_make/index.html @@ -1,12 +1,4 @@ -cargo_make - Rust - -
Expand description

cargo-make

+cargo_make - Rust
Expand description

cargo-make

Rust task runner and build tool.
The cargo-make task runner enables to define and configure sets of tasks and run them as a flow.
A task is a command or a script to execute.
@@ -23,6 +15,4 @@

Contributing

License

Developed by Sagie Gur-Ari and licensed under the Apache 2 open source license.

-

Functions

-
get_name 🔒
main 🔒
- \ No newline at end of file +

Functions

get_name 🔒
main 🔒
\ No newline at end of file diff --git a/docs/api/cargo_make/sidebar-items.js b/docs/api/cargo_make/sidebar-items.js index 807988d0..935f5d16 100644 --- a/docs/api/cargo_make/sidebar-items.js +++ b/docs/api/cargo_make/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["get_name",""],["main",""]]}); \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":[["get_name",""],["main",""]]}; \ No newline at end of file diff --git a/docs/api/cli/all.html b/docs/api/cli/all.html index 4516741b..34bfc439 100644 --- a/docs/api/cli/all.html +++ b/docs/api/cli/all.html @@ -1,9 +1 @@ -List of all items in this crate - -
- \ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/docs/api/cli/fn.run_cli.html b/docs/api/cli/fn.run_cli.html index 78d06503..4d019082 100644 --- a/docs/api/cli/fn.run_cli.html +++ b/docs/api/cli/fn.run_cli.html @@ -1,11 +1,2 @@ -run_cli in cli - Rust - -
-

Function cli::run_cli

source · []
pub fn run_cli(command_name: String, sub_command: bool)
Expand description

Handles the command line arguments and executes the runner.

-
- \ No newline at end of file +run_cli in cli - Rust

Function cli::run_cli

source · []
pub fn run_cli(command_name: String, sub_command: bool)
Expand description

Handles the command line arguments and executes the runner.

+
\ No newline at end of file diff --git a/docs/api/cli/index.html b/docs/api/cli/index.html index edeb5777..2d8114dc 100644 --- a/docs/api/cli/index.html +++ b/docs/api/cli/index.html @@ -1,12 +1,4 @@ -cli - Rust - -
-

Crate cli

source · []
Expand description

cargo-make

+cli - Rust

Crate cli

source · []
Expand description

cargo-make

Rust task runner and build tool.
The cargo-make task runner enables to define and configure sets of tasks and run them as a flow.
A task is a command or a script to execute.
@@ -23,9 +15,6 @@

Contributing

License

Developed by Sagie Gur-Ari and licensed under the Apache 2 open source license.

-

Modules

-

types

-

Functions

-

Handles the command line arguments and executes the runner.

-
- \ No newline at end of file +

Modules

types

+

Functions

Handles the command line arguments and executes the runner.

+
\ No newline at end of file diff --git a/docs/api/cli/sidebar-items.js b/docs/api/cli/sidebar-items.js index e4cf35dd..b26084dc 100644 --- a/docs/api/cli/sidebar-items.js +++ b/docs/api/cli/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["run_cli","Handles the command line arguments and executes the runner."]],"mod":[["types","types"]]}); \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":[["run_cli","Handles the command line arguments and executes the runner."]],"mod":[["types","types"]]}; \ No newline at end of file diff --git a/docs/api/cli/types/enum.CrateDependency.html b/docs/api/cli/types/enum.CrateDependency.html index 17c193c1..90962e78 100644 --- a/docs/api/cli/types/enum.CrateDependency.html +++ b/docs/api/cli/types/enum.CrateDependency.html @@ -1,36 +1,27 @@ -CrateDependency in cli::types - Rust - -
pub enum CrateDependency {
+CrateDependency in cli::types - Rust
pub enum CrateDependency {
     Version(String),
     Info(CrateDependencyInfo),
 }
Expand description

Holds crate dependency info.

Variants

Version(String)

Holds the dependency version

Info(CrateDependencyInfo)

Hold dependency info

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.DependencyIdentifier.html b/docs/api/cli/types/enum.DependencyIdentifier.html index fcb8c512..e4c293c0 100644 --- a/docs/api/cli/types/enum.DependencyIdentifier.html +++ b/docs/api/cli/types/enum.DependencyIdentifier.html @@ -1,44 +1,35 @@ -DependencyIdentifier in cli::types - Rust - -
pub enum DependencyIdentifier {
+DependencyIdentifier in cli::types - Rust
pub enum DependencyIdentifier {
     Definition(TaskIdentifier),
     Name(String),
 }
Expand description

A dependency, defined either as a string or as a Dependency object

Variants

Definition(TaskIdentifier)

A full dependency definion (potentially in a different file)

Name(String)

A string dependency definition (its name in the current file)

-

Implementations

Get the name of a dependency

-

Adorn the TaskIdentifier with a namespace

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Converts to this type from the input type.

-

Converts this type into the (usually inferred) input type.

-

This method tests for self and other values to be equal, and is used +

Implementations

Get the name of a dependency

+

Adorn the TaskIdentifier with a namespace

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Converts to this type from the input type.

+

Converts this type into the (usually inferred) input type.

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Compare self to key and return true if they are equal.

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.DeprecationInfo.html b/docs/api/cli/types/enum.DeprecationInfo.html index 508dc365..6ff17dc6 100644 --- a/docs/api/cli/types/enum.DeprecationInfo.html +++ b/docs/api/cli/types/enum.DeprecationInfo.html @@ -1,39 +1,30 @@ -DeprecationInfo in cli::types - Rust - -
pub enum DeprecationInfo {
+DeprecationInfo in cli::types - Rust
pub enum DeprecationInfo {
     Boolean(bool),
     Message(String),
 }
Expand description

Holds deprecation info such as true/false/message

Variants

Boolean(bool)

True/False flag (true is deprecated)

Message(String)

Deprecation message

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.EnvFile.html b/docs/api/cli/types/enum.EnvFile.html index d9dad6e1..5d9b99d6 100644 --- a/docs/api/cli/types/enum.EnvFile.html +++ b/docs/api/cli/types/enum.EnvFile.html @@ -1,36 +1,27 @@ -EnvFile in cli::types - Rust - -
pub enum EnvFile {
+EnvFile in cli::types - Rust
pub enum EnvFile {
     Path(String),
     Info(EnvFileInfo),
 }
Expand description

Holds the env file path and attributes

Variants

Path(String)

The file path as string

Info(EnvFileInfo)

Extended info object for env file

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.EnvValue.html b/docs/api/cli/types/enum.EnvValue.html index 1311dada..fc02ceef 100644 --- a/docs/api/cli/types/enum.EnvValue.html +++ b/docs/api/cli/types/enum.EnvValue.html @@ -1,12 +1,4 @@ -EnvValue in cli::types - Rust - -
pub enum EnvValue {
+EnvValue in cli::types - Rust
pub enum EnvValue {
     Value(String),
     Boolean(bool),
     Number(isize),
@@ -28,25 +20,24 @@ 

Enum cli::

Conditional(EnvValueConditioned)

Conditional env value

PathGlob(EnvValuePathGlob)

Path glob

Profile(IndexMap<String, EnvValue>)

Profile env

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.Extend.html b/docs/api/cli/types/enum.Extend.html index ea2183ed..eacd8cb6 100644 --- a/docs/api/cli/types/enum.Extend.html +++ b/docs/api/cli/types/enum.Extend.html @@ -1,12 +1,4 @@ -Extend in cli::types - Rust - -
pub enum Extend {
+Extend in cli::types - Rust
pub enum Extend {
     Path(String),
     Options(ExtendOptions),
     List(Vec<ExtendOptions>),
@@ -14,25 +6,24 @@ 

Enum cli::

Variants

Path(String)

Path to another makefile

Options(ExtendOptions)

Extend options for more fine tune control

List(Vec<ExtendOptions>)

Multiple extends list

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.InstallCrate.html b/docs/api/cli/types/enum.InstallCrate.html index 4f057c84..3cc099ca 100644 --- a/docs/api/cli/types/enum.InstallCrate.html +++ b/docs/api/cli/types/enum.InstallCrate.html @@ -1,12 +1,4 @@ -InstallCrate in cli::types - Rust - -
pub enum InstallCrate {
+InstallCrate in cli::types - Rust
pub enum InstallCrate {
     Enabled(bool),
     Value(String),
     CrateInfo(InstallCrateInfo),
@@ -18,28 +10,27 @@ 

Enum cli::

CrateInfo(InstallCrateInfo)

Install crate params

RustupComponentInfo(InstallRustupComponentInfo)

Install rustup component params

CargoPluginInfo(InstallCargoPluginInfo)

Install cargo plugin info

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.RunTaskInfo.html b/docs/api/cli/types/enum.RunTaskInfo.html index 7051bd78..f04e7a0d 100644 --- a/docs/api/cli/types/enum.RunTaskInfo.html +++ b/docs/api/cli/types/enum.RunTaskInfo.html @@ -1,12 +1,4 @@ -RunTaskInfo in cli::types - Rust - -
pub enum RunTaskInfo {
+RunTaskInfo in cli::types - Rust
pub enum RunTaskInfo {
     Name(String),
     Details(RunTaskDetails),
     Routing(Vec<RunTaskRoutingInfo>),
@@ -14,25 +6,24 @@ 

Enum cli::

Variants

Name(String)

Task name

Details(RunTaskDetails)

Run Task Info

Routing(Vec<RunTaskRoutingInfo>)

Task conditional selector

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.RunTaskName.html b/docs/api/cli/types/enum.RunTaskName.html index 8965da1e..a1398984 100644 --- a/docs/api/cli/types/enum.RunTaskName.html +++ b/docs/api/cli/types/enum.RunTaskName.html @@ -1,39 +1,30 @@ -RunTaskName in cli::types - Rust - -
pub enum RunTaskName {
+RunTaskName in cli::types - Rust
pub enum RunTaskName {
     Single(String),
     Multiple(Vec<String>),
 }
Expand description

Holds the run task name/s

Variants

Single(String)

Single task name

Multiple(Vec<String>)

Multiple task names

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.ScriptValue.html b/docs/api/cli/types/enum.ScriptValue.html index 3539bab6..bd3a1261 100644 --- a/docs/api/cli/types/enum.ScriptValue.html +++ b/docs/api/cli/types/enum.ScriptValue.html @@ -1,12 +1,4 @@ -ScriptValue in cli::types - Rust - -
pub enum ScriptValue {
+ScriptValue in cli::types - Rust
pub enum ScriptValue {
     SingleLine(String),
     Text(Vec<String>),
     File(FileScriptValue),
@@ -16,25 +8,24 @@ 

Enum cli::

Text(Vec<String>)

The script text lines

File(FileScriptValue)

Script file name

Sections(ScriptSections)

Script content split to multiple parts to enable fine tuned extension

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.TaskWatchOptions.html b/docs/api/cli/types/enum.TaskWatchOptions.html index 57b0e9be..b340c770 100644 --- a/docs/api/cli/types/enum.TaskWatchOptions.html +++ b/docs/api/cli/types/enum.TaskWatchOptions.html @@ -1,39 +1,30 @@ -TaskWatchOptions in cli::types - Rust - -
pub enum TaskWatchOptions {
+TaskWatchOptions in cli::types - Rust
pub enum TaskWatchOptions {
     Boolean(bool),
     Options(WatchOptions),
 }
Expand description

Holds watch options or simple true/false value

Variants

Boolean(bool)

True/False to enable/disable watch

Options(WatchOptions)

Extended configuration for watch

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.ToolchainSpecifier.html b/docs/api/cli/types/enum.ToolchainSpecifier.html index a16527c8..5d02954d 100644 --- a/docs/api/cli/types/enum.ToolchainSpecifier.html +++ b/docs/api/cli/types/enum.ToolchainSpecifier.html @@ -1,47 +1,38 @@ -ToolchainSpecifier in cli::types - Rust - -
pub enum ToolchainSpecifier {
+ToolchainSpecifier in cli::types - Rust
pub enum ToolchainSpecifier {
     Simple(String),
     Bounded(ToolchainBoundedSpecifier),
 }
Expand description

A toolchain, defined either as a string (following the rustup syntax) or a ToolchainBoundedSpecifier.

Variants

Simple(String)

A string specifying the channel name of the toolchain

Bounded(ToolchainBoundedSpecifier)

A toolchain with a minimum version bound

-

Implementations

Return the channel of the toolchain to look for

-

Return the minimal version, if any, to look for

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Formats the value using the given formatter. Read more

-

Converts to this type from the input type.

-

Converts to this type from the input type.

-

This method tests for self and other values to be equal, and is used +

Implementations

Return the channel of the toolchain to look for

+

Return the minimal version, if any, to look for

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Formats the value using the given formatter. Read more

+

Converts to this type from the input type.

+

Converts to this type from the input type.

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Compare self to key and return true if they are equal.

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

Converts the given value to a String. Read more

-

The type returned in the event of a conversion error.

+

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/enum.UnstableFeature.html b/docs/api/cli/types/enum.UnstableFeature.html index 196ca362..e4a5a202 100644 --- a/docs/api/cli/types/enum.UnstableFeature.html +++ b/docs/api/cli/types/enum.UnstableFeature.html @@ -1,42 +1,33 @@ -UnstableFeature in cli::types - Rust - -
pub enum UnstableFeature {
+UnstableFeature in cli::types - Rust
pub enum UnstableFeature {
     CtrlCHandling,
 }
Expand description

Unstable cargo-make feature

Variants

CtrlCHandling

Gracefully shutdown and then kill the running command on Ctrl+C signal

-

Implementations

Creates the env. variable name associated to the feature

-

Is the corresponding env. variable set?

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Feeds this value into the given Hasher. Read more

-

Feeds a slice of this type into the given Hasher. Read more

-

This method tests for self and other values to be equal, and is used +

Implementations

Creates the env. variable name associated to the feature

+

Is the corresponding env. variable set?

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Feeds this value into the given Hasher. Read more

+

Feeds a slice of this type into the given Hasher. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Compare self to key and return true if they are equal.

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/fn.get_platform_name.html b/docs/api/cli/types/fn.get_platform_name.html index 3531c82e..5694e686 100644 --- a/docs/api/cli/types/fn.get_platform_name.html +++ b/docs/api/cli/types/fn.get_platform_name.html @@ -1,11 +1,2 @@ -get_platform_name in cli::types - Rust - -
pub fn get_platform_name() -> String
Expand description

Returns the platform name

-
- \ No newline at end of file +get_platform_name in cli::types - Rust
pub fn get_platform_name() -> String
Expand description

Returns the platform name

+
\ No newline at end of file diff --git a/docs/api/cli/types/index.html b/docs/api/cli/types/index.html index 293ebac2..79a451b8 100644 --- a/docs/api/cli/types/index.html +++ b/docs/api/cli/types/index.html @@ -1,15 +1,6 @@ -cli::types - Rust - -
-

Module cli::types

source · []
Expand description

types

+cli::types - Rust

Module cli::types

source · []
Expand description

types

Defines the various types and aliases used by cargo-make.

-

Structs

-

Holds persisted data used by cargo-make

+

Structs

Holds persisted data used by cargo-make

Holds CLI args

Command info

Holds the entire configuration such as task definitions and env vars

@@ -48,8 +39,7 @@

Module cli::

A toolchain with a minimum version bound

Holds watch options

Enums

-

Holds crate dependency info.

+

Enums

Holds crate dependency info.

A dependency, defined either as a string or as a Dependency object

Holds deprecation info such as true/false/message

Holds the env file path and attributes

@@ -63,7 +53,5 @@

Module cli::

A toolchain, defined either as a string (following the rustup syntax) or a ToolchainBoundedSpecifier.

Unstable cargo-make feature

-

Functions

-

Returns the platform name

-
- \ No newline at end of file +

Functions

Returns the platform name

+
\ No newline at end of file diff --git a/docs/api/cli/types/sidebar-items.js b/docs/api/cli/types/sidebar-items.js index 12fb92c6..1b86e705 100644 --- a/docs/api/cli/types/sidebar-items.js +++ b/docs/api/cli/types/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"enum":[["CrateDependency","Holds crate dependency info."],["DependencyIdentifier","A dependency, defined either as a string or as a Dependency object"],["DeprecationInfo","Holds deprecation info such as true/false/message"],["EnvFile","Holds the env file path and attributes"],["EnvValue","Holds the env value or script"],["Extend","Holds makefile extend value"],["InstallCrate","Install crate name or params"],["RunTaskInfo","Run task info"],["RunTaskName","Holds the run task name/s"],["ScriptValue","Script value (text, file name, …)"],["TaskWatchOptions","Holds watch options or simple true/false value"],["ToolchainSpecifier","A toolchain, defined either as a string (following the rustup syntax) or a ToolchainBoundedSpecifier."],["UnstableFeature","Unstable cargo-make feature"]],"fn":[["get_platform_name","Returns the platform name"]],"struct":[["Cache","Holds persisted data used by cargo-make"],["CliArgs","Holds CLI args"],["CommandSpec","Command info"],["Config","Holds the entire configuration such as task definitions and env vars"],["ConfigSection","Holds the configuration found in the makefile toml config section."],["CrateDependencyInfo","Holds crate dependency info."],["CrateInfo","Holds crate information loaded from the Cargo.toml file."],["EnvFileInfo","Env file path and attributes"],["EnvInfo","Holds env information"],["EnvValueConditioned","Env value set if condition is met"],["EnvValueDecode","Env value provided by decoding other values"],["EnvValuePathGlob","Env value holding a list of paths based on given glob definitions"],["EnvValueScript","Env value provided by a script"],["EnvValueUnset","Enables to unset env variables"],["ExecutionPlan","Execution plan which defines all steps to run and the order to run them"],["ExtendOptions","Extend with more fine tuning options"],["ExternalConfig","Holds the entire externally read configuration such as task definitions and env vars where all values are optional"],["FileScriptValue","Script file name"],["FlowInfo","Holds flow information"],["FlowState","Holds mutable flow state"],["GlobalConfig","Holds configuration info for cargo-make"],["InstallCargoPluginInfo","Holds instructions how to install the cargo plugin"],["InstallCrateInfo","Holds instructions how to install the crate"],["InstallRustupComponentInfo","Holds instructions how to install a rustup component"],["ModifyConfig","Holds properties to modify the core tasks"],["PackageInfo","Holds crate package information loaded from the Cargo.toml file package section."],["PlatformOverrideTask","Holds a single task configuration for a specific platform as an override of another task"],["RunTaskDetails","Holds the run task information"],["RunTaskRoutingInfo","Holds the run task routing information"],["RustVersionCondition","Rust version condition structure"],["ScriptSections","Script content split to parts to enable a more fine tuned extension capability"],["Step","Execution plan step to execute"],["Task","Holds a single task configuration such as command and dependencies list"],["TaskCondition","Holds condition attributes"],["TaskIdentifier","An identifier for a task"],["TestArg","Arguments used to check whether a crate or rustup component is installed."],["ToolchainBoundedSpecifier","A toolchain with a minimum version bound"],["WatchOptions","Holds watch options"],["Workspace","Holds crate workspace info, see http://doc.crates.io/manifest.html#the-workspace-section"]]}); \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":[["CrateDependency","Holds crate dependency info."],["DependencyIdentifier","A dependency, defined either as a string or as a Dependency object"],["DeprecationInfo","Holds deprecation info such as true/false/message"],["EnvFile","Holds the env file path and attributes"],["EnvValue","Holds the env value or script"],["Extend","Holds makefile extend value"],["InstallCrate","Install crate name or params"],["RunTaskInfo","Run task info"],["RunTaskName","Holds the run task name/s"],["ScriptValue","Script value (text, file name, …)"],["TaskWatchOptions","Holds watch options or simple true/false value"],["ToolchainSpecifier","A toolchain, defined either as a string (following the rustup syntax) or a ToolchainBoundedSpecifier."],["UnstableFeature","Unstable cargo-make feature"]],"fn":[["get_platform_name","Returns the platform name"]],"struct":[["Cache","Holds persisted data used by cargo-make"],["CliArgs","Holds CLI args"],["CommandSpec","Command info"],["Config","Holds the entire configuration such as task definitions and env vars"],["ConfigSection","Holds the configuration found in the makefile toml config section."],["CrateDependencyInfo","Holds crate dependency info."],["CrateInfo","Holds crate information loaded from the Cargo.toml file."],["EnvFileInfo","Env file path and attributes"],["EnvInfo","Holds env information"],["EnvValueConditioned","Env value set if condition is met"],["EnvValueDecode","Env value provided by decoding other values"],["EnvValuePathGlob","Env value holding a list of paths based on given glob definitions"],["EnvValueScript","Env value provided by a script"],["EnvValueUnset","Enables to unset env variables"],["ExecutionPlan","Execution plan which defines all steps to run and the order to run them"],["ExtendOptions","Extend with more fine tuning options"],["ExternalConfig","Holds the entire externally read configuration such as task definitions and env vars where all values are optional"],["FileScriptValue","Script file name"],["FlowInfo","Holds flow information"],["FlowState","Holds mutable flow state"],["GlobalConfig","Holds configuration info for cargo-make"],["InstallCargoPluginInfo","Holds instructions how to install the cargo plugin"],["InstallCrateInfo","Holds instructions how to install the crate"],["InstallRustupComponentInfo","Holds instructions how to install a rustup component"],["ModifyConfig","Holds properties to modify the core tasks"],["PackageInfo","Holds crate package information loaded from the Cargo.toml file package section."],["PlatformOverrideTask","Holds a single task configuration for a specific platform as an override of another task"],["RunTaskDetails","Holds the run task information"],["RunTaskRoutingInfo","Holds the run task routing information"],["RustVersionCondition","Rust version condition structure"],["ScriptSections","Script content split to parts to enable a more fine tuned extension capability"],["Step","Execution plan step to execute"],["Task","Holds a single task configuration such as command and dependencies list"],["TaskCondition","Holds condition attributes"],["TaskIdentifier","An identifier for a task"],["TestArg","Arguments used to check whether a crate or rustup component is installed."],["ToolchainBoundedSpecifier","A toolchain with a minimum version bound"],["WatchOptions","Holds watch options"],["Workspace","Holds crate workspace info, see http://doc.crates.io/manifest.html#the-workspace-section"]]}; \ No newline at end of file diff --git a/docs/api/cli/types/struct.Cache.html b/docs/api/cli/types/struct.Cache.html index 0c073874..0675dd67 100644 --- a/docs/api/cli/types/struct.Cache.html +++ b/docs/api/cli/types/struct.Cache.html @@ -1,38 +1,29 @@ -Cache in cli::types - Rust - -
-

Struct cli::types::Cache

source · []
pub struct Cache {
+Cache in cli::types - Rust
pub struct Cache {
     pub file_name: Option<String>,
     pub last_update_check: Option<u64>,
 }
Expand description

Holds persisted data used by cargo-make

Fields

file_name: Option<String>

File from which the cache file was loaded from

last_update_check: Option<u64>

Holds last update check with returned no updates result

-

Implementations

Returns new instance

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Returns new instance

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.CliArgs.html b/docs/api/cli/types/struct.CliArgs.html index 0090af08..abbc6473 100644 --- a/docs/api/cli/types/struct.CliArgs.html +++ b/docs/api/cli/types/struct.CliArgs.html @@ -1,12 +1,4 @@ -CliArgs in cli::types - Rust - -
-

Struct cli::types::CliArgs

source · []
pub struct CliArgs {
Show 24 fields +CliArgs in cli::types - Rust
pub struct CliArgs {
Show 24 fields pub command: String, pub build_file: Option<String>, pub task: String, @@ -56,24 +48,23 @@

Struct cli::output_format: String

Output format

output_file: Option<String>

Output file name

print_time_summary: bool

Print time summary at end of the flow

-

Implementations

Creates and returns a new instance.

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Creates and returns a new instance.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.CommandSpec.html b/docs/api/cli/types/struct.CommandSpec.html index 21183814..0a029112 100644 --- a/docs/api/cli/types/struct.CommandSpec.html +++ b/docs/api/cli/types/struct.CommandSpec.html @@ -1,29 +1,20 @@ -CommandSpec in cli::types - Rust - -
pub struct CommandSpec {
+CommandSpec in cli::types - Rust
pub struct CommandSpec {
     pub command: String,
     pub args: Option<Vec<String>>,
 }
Expand description

Command info

Fields

command: String

The command to execute

args: Option<Vec<String>>

The command args

-

Trait Implementations

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Formats the value using the given formatter. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The type returned in the event of a conversion error.

+

Should always be Self

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.Config.html b/docs/api/cli/types/struct.Config.html index d181fce7..dd534c35 100644 --- a/docs/api/cli/types/struct.Config.html +++ b/docs/api/cli/types/struct.Config.html @@ -1,12 +1,4 @@ -Config in cli::types - Rust - -
-

Struct cli::types::Config

source · []
pub struct Config {
+Config in cli::types - Rust
pub struct Config {
     pub config: ConfigSection,
     pub env_files: Vec<EnvFile>,
     pub env: IndexMap<String, EnvValue>,
@@ -20,26 +12,25 @@ 

Struct cli::env_scripts: Vec<String>

The env scripts to execute before running the flow

tasks: IndexMap<String, Task>

All task definitions

plugins: Option<Plugins>

All plugin definitions

-

Implementations

Apply modifications

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Apply modifications

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.ConfigSection.html b/docs/api/cli/types/struct.ConfigSection.html index ddd85011..c644d10a 100644 --- a/docs/api/cli/types/struct.ConfigSection.html +++ b/docs/api/cli/types/struct.ConfigSection.html @@ -1,12 +1,4 @@ -ConfigSection in cli::types - Rust - -
pub struct ConfigSection {
Show 21 fields +ConfigSection in cli::types - Rust
pub struct ConfigSection {
Show 21 fields pub skip_core_tasks: Option<bool>, pub modify_core_tasks: Option<ModifyConfig>, pub init_task: Option<String>, @@ -50,34 +42,33 @@

Struct cli::windows_load_script: Option<ScriptValue>

acts like load_script if runtime OS is Windows (takes precedence over load_script)

mac_load_script: Option<ScriptValue>

acts like load_script if runtime OS is Mac (takes precedence over load_script)

unstable_features: Option<IndexSet<UnstableFeature>>

Enables unstable cargo-make features

-

Implementations

Creates and returns a new instance.

-

Apply modifications

-

Copies values from the config section into self.

+

Implementations

Creates and returns a new instance.

+

Apply modifications

+

Copies values from the config section into self.

Arguments
  • task - The task to copy from
-

Returns the load script based on the current platform

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Returns the load script based on the current platform

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.CrateDependencyInfo.html b/docs/api/cli/types/struct.CrateDependencyInfo.html index 4a0040e1..322bb548 100644 --- a/docs/api/cli/types/struct.CrateDependencyInfo.html +++ b/docs/api/cli/types/struct.CrateDependencyInfo.html @@ -1,34 +1,25 @@ -CrateDependencyInfo in cli::types - Rust - -
pub struct CrateDependencyInfo {
+CrateDependencyInfo in cli::types - Rust
pub struct CrateDependencyInfo {
     pub path: Option<String>,
 }
Expand description

Holds crate dependency info.

Fields

path: Option<String>

Holds the dependency path

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.CrateInfo.html b/docs/api/cli/types/struct.CrateInfo.html index e192d640..d4e2d014 100644 --- a/docs/api/cli/types/struct.CrateInfo.html +++ b/docs/api/cli/types/struct.CrateInfo.html @@ -1,12 +1,4 @@ -CrateInfo in cli::types - Rust - -
pub struct CrateInfo {
+CrateInfo in cli::types - Rust
pub struct CrateInfo {
     pub package: Option<PackageInfo>,
     pub workspace: Option<Workspace>,
     pub dependencies: Option<IndexMap<String, CrateDependency>>,
@@ -14,27 +6,26 @@ 

Struct cli::

Fields

package: Option<PackageInfo>

package info

workspace: Option<Workspace>

workspace info

dependencies: Option<IndexMap<String, CrateDependency>>

crate dependencies

-

Implementations

Creates and returns a new instance.

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Creates and returns a new instance.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.EnvFileInfo.html b/docs/api/cli/types/struct.EnvFileInfo.html index 361d3e2f..5c1143f0 100644 --- a/docs/api/cli/types/struct.EnvFileInfo.html +++ b/docs/api/cli/types/struct.EnvFileInfo.html @@ -1,12 +1,4 @@ -EnvFileInfo in cli::types - Rust - -
pub struct EnvFileInfo {
+EnvFileInfo in cli::types - Rust
pub struct EnvFileInfo {
     pub path: String,
     pub base_path: Option<String>,
     pub profile: Option<String>,
@@ -16,26 +8,25 @@ 

Struct cli::base_path: Option<String>

The path base directory (relative paths are from this base path)

profile: Option<String>

The profile name this file is relevant to

defaults_only: Option<bool>

If true, only set the env vars if not already defined

-

Implementations

Creates and returns a new instance.

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Creates and returns a new instance.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.EnvInfo.html b/docs/api/cli/types/struct.EnvInfo.html index 9f2e2a06..e9fddfa5 100644 --- a/docs/api/cli/types/struct.EnvInfo.html +++ b/docs/api/cli/types/struct.EnvInfo.html @@ -1,12 +1,4 @@ -EnvInfo in cli::types - Rust - -
-

Struct cli::types::EnvInfo

source · []
pub struct EnvInfo {
+EnvInfo in cli::types - Rust
pub struct EnvInfo {
     pub rust_info: RustInfo,
     pub crate_info: CrateInfo,
     pub git_info: GitInfo,
@@ -16,23 +8,22 @@ 

Struct cli::crate_info: CrateInfo

Crate info

git_info: GitInfo

Git info

ci_info: CiInfo

CI info

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.EnvValueConditioned.html b/docs/api/cli/types/struct.EnvValueConditioned.html index 9906860d..65aeef1b 100644 --- a/docs/api/cli/types/struct.EnvValueConditioned.html +++ b/docs/api/cli/types/struct.EnvValueConditioned.html @@ -1,36 +1,27 @@ -EnvValueConditioned in cli::types - Rust - -
pub struct EnvValueConditioned {
+EnvValueConditioned in cli::types - Rust
pub struct EnvValueConditioned {
     pub value: String,
     pub condition: Option<TaskCondition>,
 }
Expand description

Env value set if condition is met

Fields

value: String

The value to set (can be an env expression)

condition: Option<TaskCondition>

The condition to validate

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.EnvValueDecode.html b/docs/api/cli/types/struct.EnvValueDecode.html index 617636e5..4f2eef84 100644 --- a/docs/api/cli/types/struct.EnvValueDecode.html +++ b/docs/api/cli/types/struct.EnvValueDecode.html @@ -1,12 +1,4 @@ -EnvValueDecode in cli::types - Rust - -
pub struct EnvValueDecode {
+EnvValueDecode in cli::types - Rust
pub struct EnvValueDecode {
     pub source: String,
     pub default_value: Option<String>,
     pub mapping: HashMap<String, String>,
@@ -14,25 +6,24 @@ 

Struct cli::

Fields

source: String

The source value (can be an env expression)

default_value: Option<String>

The default value in case no decode mapping was found, if not provided it will default to the source value

mapping: HashMap<String, String>

The decoding mapping

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.EnvValuePathGlob.html b/docs/api/cli/types/struct.EnvValuePathGlob.html index b50ab7c4..19d50747 100644 --- a/docs/api/cli/types/struct.EnvValuePathGlob.html +++ b/docs/api/cli/types/struct.EnvValuePathGlob.html @@ -1,12 +1,4 @@ -EnvValuePathGlob in cli::types - Rust - -
pub struct EnvValuePathGlob {
+EnvValuePathGlob in cli::types - Rust
pub struct EnvValuePathGlob {
     pub glob: String,
     pub include_files: Option<bool>,
     pub include_dirs: Option<bool>,
@@ -16,25 +8,24 @@ 

Struct cli::include_files: Option<bool>

True to include files (default is true if undefined)

include_dirs: Option<bool>

True to include directories (default is true if undefined)

ignore_type: Option<String>

Enables to respect ignore files

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.EnvValueScript.html b/docs/api/cli/types/struct.EnvValueScript.html index 77c845c9..f09d2c48 100644 --- a/docs/api/cli/types/struct.EnvValueScript.html +++ b/docs/api/cli/types/struct.EnvValueScript.html @@ -1,12 +1,4 @@ -EnvValueScript in cli::types - Rust - -
pub struct EnvValueScript {
+EnvValueScript in cli::types - Rust
pub struct EnvValueScript {
     pub script: Vec<String>,
     pub multi_line: Option<bool>,
     pub condition: Option<TaskCondition>,
@@ -14,25 +6,24 @@ 

Struct cli::

Fields

script: Vec<String>

The script to execute to get the env value

multi_line: Option<bool>

True/False to enable multi line env values

condition: Option<TaskCondition>

The condition to validate

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.EnvValueUnset.html b/docs/api/cli/types/struct.EnvValueUnset.html index 5c9ab3e7..3ef2a4f1 100644 --- a/docs/api/cli/types/struct.EnvValueUnset.html +++ b/docs/api/cli/types/struct.EnvValueUnset.html @@ -1,34 +1,25 @@ -EnvValueUnset in cli::types - Rust - -
pub struct EnvValueUnset {
+EnvValueUnset in cli::types - Rust
pub struct EnvValueUnset {
     pub unset: bool,
 }
Expand description

Enables to unset env variables

Fields

unset: bool

If true, the env variable will be unset, else ignored

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.ExecutionPlan.html b/docs/api/cli/types/struct.ExecutionPlan.html index a145c745..6e651bd9 100644 --- a/docs/api/cli/types/struct.ExecutionPlan.html +++ b/docs/api/cli/types/struct.ExecutionPlan.html @@ -1,27 +1,18 @@ -ExecutionPlan in cli::types - Rust - -
pub struct ExecutionPlan {
+ExecutionPlan in cli::types - Rust
pub struct ExecutionPlan {
     pub steps: Vec<Step>,
 }
Expand description

Execution plan which defines all steps to run and the order to run them

Fields

steps: Vec<Step>

A list of steps to execute

-

Trait Implementations

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Formats the value using the given formatter. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The type returned in the event of a conversion error.

+

Should always be Self

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.ExtendOptions.html b/docs/api/cli/types/struct.ExtendOptions.html index 35a8c4f6..bdfd10f8 100644 --- a/docs/api/cli/types/struct.ExtendOptions.html +++ b/docs/api/cli/types/struct.ExtendOptions.html @@ -1,36 +1,27 @@ -ExtendOptions in cli::types - Rust - -
pub struct ExtendOptions {
+ExtendOptions in cli::types - Rust
pub struct ExtendOptions {
     pub path: String,
     pub optional: Option<bool>,
 }
Expand description

Extend with more fine tuning options

Fields

path: String

Path to another makefile

optional: Option<bool>

Enable optional extend (default to false)

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.ExternalConfig.html b/docs/api/cli/types/struct.ExternalConfig.html index e995bc8b..5b3642ba 100644 --- a/docs/api/cli/types/struct.ExternalConfig.html +++ b/docs/api/cli/types/struct.ExternalConfig.html @@ -1,12 +1,4 @@ -ExternalConfig in cli::types - Rust - -
pub struct ExternalConfig {
+ExternalConfig in cli::types - Rust
pub struct ExternalConfig {
     pub extend: Option<Extend>,
     pub config: Option<ConfigSection>,
     pub env_files: Option<Vec<EnvFile>>,
@@ -22,27 +14,26 @@ 

Struct cli::env_scripts: Option<Vec<String>>

The env scripts to execute before running the flow

tasks: Option<IndexMap<String, Task>>

All task definitions

plugins: Option<Plugins>

All plugin definitions

-

Implementations

Creates and returns a new instance.

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Creates and returns a new instance.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.FileScriptValue.html b/docs/api/cli/types/struct.FileScriptValue.html index ebe9de63..248933fa 100644 --- a/docs/api/cli/types/struct.FileScriptValue.html +++ b/docs/api/cli/types/struct.FileScriptValue.html @@ -1,36 +1,27 @@ -FileScriptValue in cli::types - Rust - -
pub struct FileScriptValue {
+FileScriptValue in cli::types - Rust
pub struct FileScriptValue {
     pub file: String,
     pub absolute_path: Option<bool>,
 }
Expand description

Script file name

Fields

file: String

Script file name

absolute_path: Option<bool>

True for absolute path (default false)

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.FlowInfo.html b/docs/api/cli/types/struct.FlowInfo.html index 57bb5eff..e2a9d0a6 100644 --- a/docs/api/cli/types/struct.FlowInfo.html +++ b/docs/api/cli/types/struct.FlowInfo.html @@ -1,12 +1,4 @@ -FlowInfo in cli::types - Rust - -
-

Struct cli::types::FlowInfo

source · []
pub struct FlowInfo {
+FlowInfo in cli::types - Rust
pub struct FlowInfo {
     pub config: Config,
     pub task: String,
     pub env_info: EnvInfo,
@@ -26,23 +18,22 @@ 

Struct cli::skip_init_end_tasks: bool

If true, the init and end tasks are skipped

skip_tasks_pattern: Option<Regex>

Skip tasks that match the provided pattern

cli_arguments: Option<Vec<String>>

additional command line arguments

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.FlowState.html b/docs/api/cli/types/struct.FlowState.html index c8ef4a78..e29879e7 100644 --- a/docs/api/cli/types/struct.FlowState.html +++ b/docs/api/cli/types/struct.FlowState.html @@ -1,36 +1,27 @@ -FlowState in cli::types - Rust - -
pub struct FlowState {
-    pub time_summary: Vec<(String, u128)>,
+FlowState in cli::types - Rust
pub struct FlowState {
+    pub time_summary: Vec<(String, u128)>,
     pub forced_plugin: Option<String>,
 }
Expand description

Holds mutable flow state

-

Fields

time_summary: Vec<(String, u128)>

timing info for summary

+

Fields

time_summary: Vec<(String, u128)>

timing info for summary

forced_plugin: Option<String>

forced plugin name

-

Implementations

Creates and returns a new instance.

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Creates and returns a new instance.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.GlobalConfig.html b/docs/api/cli/types/struct.GlobalConfig.html index b7b30330..71c20973 100644 --- a/docs/api/cli/types/struct.GlobalConfig.html +++ b/docs/api/cli/types/struct.GlobalConfig.html @@ -1,12 +1,4 @@ -GlobalConfig in cli::types - Rust - -
pub struct GlobalConfig {
+GlobalConfig in cli::types - Rust
pub struct GlobalConfig {
     pub file_name: Option<String>,
     pub log_level: Option<String>,
     pub disable_color: Option<bool>,
@@ -20,27 +12,26 @@ 

Struct cli::default_task_name: Option<String>

Default task name

update_check_minimum_interval: Option<String>

Update check minimum time from the previous check (always, daily, weekly, monthly)

search_project_root: Option<bool>

True to search for project root in parent directories if current cwd is not a project root

-

Implementations

Returns new instance

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Returns new instance

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.InstallCargoPluginInfo.html b/docs/api/cli/types/struct.InstallCargoPluginInfo.html index 81a80c86..61af7049 100644 --- a/docs/api/cli/types/struct.InstallCargoPluginInfo.html +++ b/docs/api/cli/types/struct.InstallCargoPluginInfo.html @@ -1,41 +1,34 @@ -InstallCargoPluginInfo in cli::types - Rust - -
pub struct InstallCargoPluginInfo {
+InstallCargoPluginInfo in cli::types - Rust
pub struct InstallCargoPluginInfo {
     pub crate_name: Option<String>,
     pub min_version: Option<String>,
     pub install_command: Option<String>,
+    pub force: Option<bool>,
 }
Expand description

Holds instructions how to install the cargo plugin

Fields

crate_name: Option<String>

The provided crate to install

min_version: Option<String>

Minimal version

install_command: Option<String>

Optional alternate ‘install’ command

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

force: Option<bool>

Optional add force flag (if needed), default is true

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.InstallCrateInfo.html b/docs/api/cli/types/struct.InstallCrateInfo.html index 44d786b7..b2e78969 100644 --- a/docs/api/cli/types/struct.InstallCrateInfo.html +++ b/docs/api/cli/types/struct.InstallCrateInfo.html @@ -1,12 +1,4 @@ -InstallCrateInfo in cli::types - Rust - -
pub struct InstallCrateInfo {
+InstallCrateInfo in cli::types - Rust
pub struct InstallCrateInfo {
     pub crate_name: String,
     pub rustup_component_name: Option<String>,
     pub binary: String,
@@ -14,6 +6,7 @@ 

Struct cli::Option<String>, pub version: Option<String>, pub install_command: Option<String>, + pub force: Option<bool>, }

Expand description

Holds instructions how to install the crate

Fields

crate_name: String

The provided crate to install

rustup_component_name: Option<String>

If defined, the component to install via rustup

@@ -22,28 +15,28 @@

Struct cli::min_version: Option<String>

Minimal version

version: Option<String>

Exact version

install_command: Option<String>

Optional alternate ‘install’ command

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

force: Option<bool>

Optional add force flag (if needed), default is true

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.InstallRustupComponentInfo.html b/docs/api/cli/types/struct.InstallRustupComponentInfo.html index c40c40f3..46aaacec 100644 --- a/docs/api/cli/types/struct.InstallRustupComponentInfo.html +++ b/docs/api/cli/types/struct.InstallRustupComponentInfo.html @@ -1,12 +1,4 @@ -InstallRustupComponentInfo in cli::types - Rust - -
pub struct InstallRustupComponentInfo {
+InstallRustupComponentInfo in cli::types - Rust
pub struct InstallRustupComponentInfo {
     pub rustup_component_name: String,
     pub binary: Option<String>,
     pub test_arg: Option<TestArg>,
@@ -14,28 +6,27 @@ 

Struct cli::

Fields

rustup_component_name: String

The component to install via rustup

binary: Option<String>

The binary file name to be used to test if the crate is already installed

test_arg: Option<TestArg>

Test argument that will be used to check that the crate is installed

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.ModifyConfig.html b/docs/api/cli/types/struct.ModifyConfig.html index 676a64ce..1ab739cf 100644 --- a/docs/api/cli/types/struct.ModifyConfig.html +++ b/docs/api/cli/types/struct.ModifyConfig.html @@ -1,38 +1,29 @@ -ModifyConfig in cli::types - Rust - -
pub struct ModifyConfig {
+ModifyConfig in cli::types - Rust
pub struct ModifyConfig {
     pub private: Option<bool>,
     pub namespace: Option<String>,
 }
Expand description

Holds properties to modify the core tasks

Fields

private: Option<bool>

If true, all core tasks will be set to private (default false)

namespace: Option<String>

If set to some value, all core tasks are modified to: namespace::name for example default::build

-

Implementations

Returns true if config modifications is needed based on the current state

-

Returns the namespace prefix for task names

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Returns true if config modifications is needed based on the current state

+

Returns the namespace prefix for task names

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.PackageInfo.html b/docs/api/cli/types/struct.PackageInfo.html index 16719615..3cbce6c7 100644 --- a/docs/api/cli/types/struct.PackageInfo.html +++ b/docs/api/cli/types/struct.PackageInfo.html @@ -1,12 +1,4 @@ -PackageInfo in cli::types - Rust - -
pub struct PackageInfo {
+PackageInfo in cli::types - Rust
pub struct PackageInfo {
     pub name: Option<String>,
     pub version: Option<String>,
     pub description: Option<String>,
@@ -22,27 +14,26 @@ 

Struct cli::documentation: Option<String>

documentation link

homepage: Option<String>

homepage link

repository: Option<String>

repository link

-

Implementations

Creates and returns a new instance.

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Creates and returns a new instance.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.PlatformOverrideTask.html b/docs/api/cli/types/struct.PlatformOverrideTask.html index 97f925da..84afb332 100644 --- a/docs/api/cli/types/struct.PlatformOverrideTask.html +++ b/docs/api/cli/types/struct.PlatformOverrideTask.html @@ -1,12 +1,4 @@ -PlatformOverrideTask in cli::types - Rust - -
pub struct PlatformOverrideTask {
Show 26 fields +PlatformOverrideTask in cli::types - Rust
pub struct PlatformOverrideTask {
Show 26 fields pub clear: Option<bool>, pub disabled: Option<bool>, pub private: Option<bool>, @@ -60,30 +52,29 @@

Struct cli::run_task: Option<RunTaskInfo>

The task name to execute

dependencies: Option<Vec<DependencyIdentifier>>

A list of tasks to execute before this task

toolchain: Option<ToolchainSpecifier>

The rust toolchain used to invoke the command or install the needed crates/components

-

Implementations

Copies values from the task into self.

+

Implementations

Copies values from the task into self.

Arguments
  • task - The task to copy from
-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.RunTaskDetails.html b/docs/api/cli/types/struct.RunTaskDetails.html index bce41d80..873e2191 100644 --- a/docs/api/cli/types/struct.RunTaskDetails.html +++ b/docs/api/cli/types/struct.RunTaskDetails.html @@ -1,12 +1,4 @@ -RunTaskDetails in cli::types - Rust - -
pub struct RunTaskDetails {
+RunTaskDetails in cli::types - Rust
pub struct RunTaskDetails {
     pub name: RunTaskName,
     pub fork: Option<bool>,
     pub parallel: Option<bool>,
@@ -16,25 +8,24 @@ 

Struct cli::fork: Option<bool>

True to fork the task to a new sub process

parallel: Option<bool>

True to run all tasks in parallel (default false)

cleanup_task: Option<String>

Cleanup task name

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.RunTaskRoutingInfo.html b/docs/api/cli/types/struct.RunTaskRoutingInfo.html index bb3616ca..f5b929c7 100644 --- a/docs/api/cli/types/struct.RunTaskRoutingInfo.html +++ b/docs/api/cli/types/struct.RunTaskRoutingInfo.html @@ -1,12 +1,4 @@ -RunTaskRoutingInfo in cli::types - Rust - -
pub struct RunTaskRoutingInfo {
+RunTaskRoutingInfo in cli::types - Rust
pub struct RunTaskRoutingInfo {
     pub name: RunTaskName,
     pub fork: Option<bool>,
     pub parallel: Option<bool>,
@@ -20,25 +12,24 @@ 

Struct cli::cleanup_task: Option<String>

Cleanup task name

condition: Option<TaskCondition>

if provided all condition values must be met in order for the task to be invoked

condition_script: Option<Vec<String>>

if script exit code is not 0, the task will not be invoked

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.RustVersionCondition.html b/docs/api/cli/types/struct.RustVersionCondition.html index 1d1fc758..b9eaa87d 100644 --- a/docs/api/cli/types/struct.RustVersionCondition.html +++ b/docs/api/cli/types/struct.RustVersionCondition.html @@ -1,12 +1,4 @@ -RustVersionCondition in cli::types - Rust - -
pub struct RustVersionCondition {
+RustVersionCondition in cli::types - Rust
pub struct RustVersionCondition {
     pub min: Option<String>,
     pub max: Option<String>,
     pub equal: Option<String>,
@@ -14,25 +6,24 @@ 

Struct cli::

Fields

min: Option<String>

min version number

max: Option<String>

max version number

equal: Option<String>

specific version number

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.ScriptSections.html b/docs/api/cli/types/struct.ScriptSections.html index 82bd8cc2..fece624d 100644 --- a/docs/api/cli/types/struct.ScriptSections.html +++ b/docs/api/cli/types/struct.ScriptSections.html @@ -1,12 +1,4 @@ -ScriptSections in cli::types - Rust - -
pub struct ScriptSections {
+ScriptSections in cli::types - Rust
pub struct ScriptSections {
     pub pre: Option<String>,
     pub main: Option<String>,
     pub post: Option<String>,
@@ -14,25 +6,24 @@ 

Struct cli::

Fields

pre: Option<String>

Script section

main: Option<String>

Script section

post: Option<String>

Script section

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.Step.html b/docs/api/cli/types/struct.Step.html index e7f5df20..982b69f3 100644 --- a/docs/api/cli/types/struct.Step.html +++ b/docs/api/cli/types/struct.Step.html @@ -1,35 +1,26 @@ -Step in cli::types - Rust - -
-

Struct cli::types::Step

source · []
pub struct Step {
+Step in cli::types - Rust
pub struct Step {
     pub name: String,
     pub config: Task,
 }
Expand description

Execution plan step to execute

Fields

name: String

The task name

config: Task

The task config

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.Task.html b/docs/api/cli/types/struct.Task.html index fecc1877..aff85946 100644 --- a/docs/api/cli/types/struct.Task.html +++ b/docs/api/cli/types/struct.Task.html @@ -1,12 +1,4 @@ -Task in cli::types - Rust - -
-

Struct cli::types::Task

source · []
pub struct Task {
Show 36 fields +Task in cli::types - Rust
pub struct Task {
Show 36 fields pub clear: Option<bool>, pub description: Option<String>, pub category: Option<String>, @@ -80,40 +72,39 @@

Struct cli::linux: Option<PlatformOverrideTask>

override task if runtime OS is Linux (takes precedence over alias)

windows: Option<PlatformOverrideTask>

override task if runtime OS is Windows (takes precedence over alias)

mac: Option<PlatformOverrideTask>

override task if runtime OS is Mac (takes precedence over alias)

-

Implementations

Creates and returns a new instance.

-

Apply modifications

-

Copies values from the task into self.

+

Implementations

Creates and returns a new instance.

+

Apply modifications

+

Copies values from the task into self.

Arguments
  • task - The task to copy from
-

Returns true if the task ignore_errors attribute is defined and true

-

Returns a new task based on the override information and current platform.

-

Returns the alias value based on the current platform and task definition.

-

Returns the amount of actions defined on the task

-

Returns true if the task has any actions on its own +

Returns true if the task ignore_errors attribute is defined and true

+

Returns a new task based on the override information and current platform.

+

Returns the alias value based on the current platform and task definition.

+

Returns the amount of actions defined on the task

+

Returns true if the task has any actions on its own or if it modifies the environment in any way.

-

Returns true if the task is valid

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Returns true if the task is valid

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.TaskCondition.html b/docs/api/cli/types/struct.TaskCondition.html index 84839ea1..1a4bddbf 100644 --- a/docs/api/cli/types/struct.TaskCondition.html +++ b/docs/api/cli/types/struct.TaskCondition.html @@ -1,12 +1,4 @@ -TaskCondition in cli::types - Rust - -
pub struct TaskCondition {
Show 13 fields +TaskCondition in cli::types - Rust
pub struct TaskCondition {
Show 13 fields pub fail_message: Option<String>, pub profiles: Option<Vec<String>>, pub platforms: Option<Vec<String>>, @@ -34,25 +26,24 @@

Struct cli::rust_version: Option<RustVersionCondition>

Rust version condition

files_exist: Option<Vec<String>>

Files exist

files_not_exist: Option<Vec<String>>

Files which do not exist

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.TaskIdentifier.html b/docs/api/cli/types/struct.TaskIdentifier.html index 5799e51f..0f9ee714 100644 --- a/docs/api/cli/types/struct.TaskIdentifier.html +++ b/docs/api/cli/types/struct.TaskIdentifier.html @@ -1,44 +1,35 @@ -TaskIdentifier in cli::types - Rust - -
pub struct TaskIdentifier {
+TaskIdentifier in cli::types - Rust
pub struct TaskIdentifier {
     pub name: String,
     pub path: Option<String>,
 }
Expand description

An identifier for a task

Fields

name: String

The task name to execute

path: Option<String>

The path to the makefile the task resides in

-

Implementations

Create a new TaskIdentifier referencing a task in the current file

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Formats the value using the given formatter. Read more

-

Converts this type into the (usually inferred) input type.

-

This method tests for self and other values to be equal, and is used +

Implementations

Create a new TaskIdentifier referencing a task in the current file

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Formats the value using the given formatter. Read more

+

Converts this type into the (usually inferred) input type.

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Compare self to key and return true if they are equal.

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

Converts the given value to a String. Read more

-

The type returned in the event of a conversion error.

+

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.TestArg.html b/docs/api/cli/types/struct.TestArg.html index 2a609a9f..1b1e1a25 100644 --- a/docs/api/cli/types/struct.TestArg.html +++ b/docs/api/cli/types/struct.TestArg.html @@ -1,37 +1,31 @@ -TestArg in cli::types - Rust - -
-

Struct cli::types::TestArg

source · []
pub struct TestArg {
+TestArg in cli::types - Rust
pub struct TestArg {
     pub inner: Vec<String>,
 }
Expand description

Arguments used to check whether a crate or rustup component is installed.

Deserialize into an array of strings. Allows both a single string (which will become a single-element array) or a sequence of strings.

Fields

inner: Vec<String>

Content of the arguments

-

Methods from Deref<Target = Vec<String>>

Returns the number of elements the vector can hold without +

Methods from Deref<Target = Vec<String>>

Returns the number of elements the vector can hold without reallocating.

Examples
let vec: Vec<i32> = Vec::with_capacity(10);
 assert_eq!(vec.capacity(), 10);
-

Reserves capacity for at least additional more elements to be inserted -in the given Vec<T>. The collection may reserve more space to avoid -frequent reallocations. After calling reserve, capacity will be -greater than or equal to self.len() + additional. Does nothing if -capacity is already sufficient.

+

Reserves capacity for at least additional more elements to be inserted +in the given Vec<T>. The collection may reserve more space to +speculatively avoid frequent reallocations. After calling reserve, +capacity will be greater than or equal to self.len() + additional. +Does nothing if capacity is already sufficient.

Panics

Panics if the new capacity exceeds isize::MAX bytes.

Examples
let mut vec = vec![1];
 vec.reserve(10);
 assert!(vec.capacity() >= 11);
-

Reserves the minimum capacity for exactly additional more elements to -be inserted in the given Vec<T>. After calling reserve_exact, -capacity will be greater than or equal to self.len() + additional. -Does nothing if the capacity is already sufficient.

+

Reserves the minimum capacity for at least additional more elements to +be inserted in the given Vec<T>. Unlike reserve, this will not +deliberately over-allocate to speculatively avoid frequent allocations. +After calling reserve_exact, capacity will be greater than or equal to +self.len() + additional. Does nothing if the capacity is already +sufficient.

Note that the allocator may give the collection more space than it requests. Therefore, capacity can not be relied upon to be precisely minimal. Prefer reserve if future insertions are expected.

@@ -41,11 +35,11 @@
Examples
let mut vec = vec![1];
 vec.reserve_exact(10);
 assert!(vec.capacity() >= 11);
-

Tries to reserve capacity for at least additional more elements to be inserted -in the given Vec<T>. The collection may reserve more space to avoid +

Tries to reserve capacity for at least additional more elements to be inserted +in the given Vec<T>. The collection may reserve more space to speculatively avoid frequent reallocations. After calling try_reserve, capacity will be -greater than or equal to self.len() + additional. Does nothing if -capacity is already sufficient.

+greater than or equal to self.len() + additional if it returns +Ok(()). Does nothing if capacity is already sufficient.

Errors

If the capacity overflows, or the allocator reports a failure, then an error is returned.

@@ -65,10 +59,11 @@
Examples
Ok(output) }
-

Tries to reserve the minimum capacity for exactly additional -elements to be inserted in the given Vec<T>. After calling -try_reserve_exact, capacity will be greater than or equal to -self.len() + additional if it returns Ok(()). +

Tries to reserve the minimum capacity for at least additional +elements to be inserted in the given Vec<T>. Unlike try_reserve, +this will not deliberately over-allocate to speculatively avoid frequent +allocations. After calling try_reserve_exact, capacity will be greater +than or equal to self.len() + additional if it returns Ok(()). Does nothing if the capacity is already sufficient.

Note that the allocator may give the collection more space than it requests. Therefore, capacity can not be relied upon to be precisely @@ -92,7 +87,7 @@

Examples
Ok(output) }
-

Shrinks the capacity of the vector as much as possible.

+

Shrinks the capacity of the vector as much as possible.

It will drop down as close as possible to the length but the allocator may still inform the vector that there is space for a few more elements.

Examples
@@ -101,7 +96,7 @@
Examples
assert_eq!(vec.capacity(), 10); vec.shrink_to_fit(); assert!(vec.capacity() >= 3);
-

Shrinks the capacity of the vector with a lower bound.

+

Shrinks the capacity of the vector with a lower bound.

The capacity will remain at least as large as both the length and the supplied value.

If the current capacity is less than the lower limit, this is a no-op.

@@ -113,7 +108,7 @@
Examples
assert!(vec.capacity() >= 4); vec.shrink_to(0); assert!(vec.capacity() >= 3);
-

Shortens the vector, keeping the first len elements and dropping +

Shortens the vector, keeping the first len elements and dropping the rest.

If len is greater than the vector’s current length, this has no effect.

@@ -139,19 +134,19 @@
Examples
let mut vec = vec![1, 2, 3];
 vec.truncate(0);
 assert_eq!(vec, []);
-

Extracts a slice containing the entire vector.

+

Extracts a slice containing the entire vector.

Equivalent to &s[..].

Examples
use std::io::{self, Write};
 let buffer = vec![1, 2, 3, 5, 8];
 io::sink().write(buffer.as_slice()).unwrap();
-

Extracts a mutable slice of the entire vector.

+

Extracts a mutable slice of the entire vector.

Equivalent to &mut s[..].

Examples
use std::io::{self, Read};
 let mut buffer = vec![0; 3];
 io::repeat(0b101).read_exact(buffer.as_mut_slice()).unwrap();
-

Returns a raw pointer to the vector’s buffer, or a dangling raw pointer +

Returns a raw pointer to the vector’s buffer, or a dangling raw pointer valid for zero sized reads if the vector didn’t allocate.

The caller must ensure that the vector outlives the pointer this function returns, or else it will end up pointing to garbage. @@ -169,7 +164,7 @@

Examples
assert_eq!(*x_ptr.add(i), 1 << i); } }
-

Returns an unsafe mutable pointer to the vector’s buffer, or a dangling +

Returns an unsafe mutable pointer to the vector’s buffer, or a dangling raw pointer valid for zero sized reads if the vector didn’t allocate.

The caller must ensure that the vector outlives the pointer this function returns, or else it will end up pointing to garbage. @@ -189,8 +184,8 @@

Examples
x.set_len(size); } assert_eq!(&*x, &[0, 1, 2, 3]);
-
🔬 This is a nightly-only experimental API. (allocator_api)

Returns a reference to the underlying allocator.

-

Forces the length of the vector to new_len.

+
🔬 This is a nightly-only experimental API. (allocator_api)

Returns a reference to the underlying allocator.

+

Forces the length of the vector to new_len.

This is a low-level operation that maintains none of the normal invariants of the type. Normally changing the length of a vector is done using one of the safe operations instead, such as @@ -238,7 +233,7 @@

Examples
}

Normally, here, one would use clear instead to correctly drop the contents and thus not leak memory.

-

Removes an element from the vector and returns it.

+

Removes an element from the vector and returns it.

The removed element is replaced by the last element of the vector.

This does not preserve ordering, but is O(1). If you need to preserve the element order, use remove instead.

@@ -252,7 +247,7 @@
Examples
assert_eq!(v.swap_remove(0), "foo"); assert_eq!(v, ["baz", "qux"]);
-

Inserts an element at position index within the vector, shifting all +

Inserts an element at position index within the vector, shifting all elements after it to the right.

Panics

Panics if index > len.

@@ -262,7 +257,7 @@
Examples
assert_eq!(vec, [1, 4, 2, 3]); vec.insert(4, 5); assert_eq!(vec, [1, 4, 2, 3, 5]);
-

Removes and returns the element at position index within the vector, +

Removes and returns the element at position index within the vector, shifting all elements after it to the left.

Note: Because this shifts over the remaining elements, it has a worst-case performance of O(n). If you don’t need the order of elements @@ -275,7 +270,7 @@

Examples
let mut v = vec![1, 2, 3];
 assert_eq!(v.remove(1), 2);
 assert_eq!(v, [1, 3]);
-

Retains only the elements specified by the predicate.

+

Retains only the elements specified by the predicate.

In other words, remove all elements e for which f(&e) returns false. This method operates in place, visiting each element exactly once in the original order, and preserves the order of the retained elements.

@@ -291,7 +286,7 @@
Examples
let mut iter = keep.iter(); vec.retain(|_| *iter.next().unwrap()); assert_eq!(vec, [2, 3, 5]);
-

Retains only the elements specified by the predicate, passing a mutable reference to it.

+

Retains only the elements specified by the predicate, passing a mutable reference to it.

In other words, remove all elements e such that f(&mut e) returns false. This method operates in place, visiting each element exactly once in the original order, and preserves the order of the retained elements.

@@ -304,7 +299,7 @@
Examples
false }); assert_eq!(vec, [2, 3, 4]);
-

Removes all but the first of consecutive elements in the vector that resolve to the same +

Removes all but the first of consecutive elements in the vector that resolve to the same key.

If the vector is sorted, this removes all duplicates.

Examples
@@ -313,7 +308,7 @@
Examples
vec.dedup_by_key(|i| *i / 10); assert_eq!(vec, [10, 20, 30, 20]);
-

Removes all but the first of consecutive elements in the vector satisfying a given equality +

Removes all but the first of consecutive elements in the vector satisfying a given equality relation.

The same_bucket function is passed references to two elements from the vector and must determine if the elements compare equal. The elements are passed in opposite order @@ -325,14 +320,14 @@

Examples
vec.dedup_by(|a, b| a.eq_ignore_ascii_case(b)); assert_eq!(vec, ["foo", "bar", "baz", "bar"]);
-

Appends an element to the back of a collection.

+

Appends an element to the back of a collection.

Panics

Panics if the new capacity exceeds isize::MAX bytes.

Examples
let mut vec = vec![1, 2];
 vec.push(3);
 assert_eq!(vec, [1, 2, 3]);
-

Removes the last element from a vector and returns it, or None if it +

Removes the last element from a vector and returns it, or None if it is empty.

If you’d like to pop the first element, consider using VecDeque::pop_front instead.

@@ -340,7 +335,7 @@
Examples
let mut vec = vec![1, 2, 3];
 assert_eq!(vec.pop(), Some(3));
 assert_eq!(vec, [1, 2]);
-

Moves all the elements of other into self, leaving other empty.

+

Moves all the elements of other into self, leaving other empty.

Panics

Panics if the new capacity exceeds isize::MAX bytes.

Examples
@@ -349,7 +344,7 @@
Examples
vec.append(&mut vec2); assert_eq!(vec, [1, 2, 3, 4, 5, 6]); assert_eq!(vec2, []);
-

Removes the specified range from the vector in bulk, returning all +

Removes the specified range from the vector in bulk, returning all removed elements as an iterator. If the iterator is dropped before being fully consumed, it drops the remaining removed elements.

The returned iterator keeps a mutable borrow on the vector to optimize @@ -370,7 +365,7 @@

Examples
// A full range clears the vector, like `clear()` does v.drain(..); assert_eq!(v, &[]);
-

Clears the vector, removing all values.

+

Clears the vector, removing all values.

Note that this method has no effect on the allocated capacity of the vector.

Examples
@@ -379,19 +374,19 @@
Examples
v.clear(); assert!(v.is_empty());
-

Returns the number of elements in the vector, also referred to +

Returns the number of elements in the vector, also referred to as its ‘length’.

Examples
let a = vec![1, 2, 3];
 assert_eq!(a.len(), 3);
-

Returns true if the vector contains no elements.

+

Returns true if the vector contains no elements.

Examples
let mut v = Vec::new();
 assert!(v.is_empty());
 
 v.push(1);
 assert!(!v.is_empty());
-

Splits the collection into two at the given index.

+

Splits the collection into two at the given index.

Returns a newly allocated vector containing the elements in the range [at, len). After the call, the original vector will be left containing the elements [0, at) with its previous capacity unchanged.

@@ -402,7 +397,7 @@
Examples
let vec2 = vec.split_off(1); assert_eq!(vec, [1]); assert_eq!(vec2, [2, 3]);
-

Resizes the Vec in-place so that len is equal to new_len.

+

Resizes the Vec in-place so that len is equal to new_len.

If new_len is greater than len, the Vec is extended by the difference, with each additional slot filled with the result of calling the closure f. The return values from f will end up @@ -421,7 +416,7 @@

Examples
let mut p = 1; vec.resize_with(4, || { p *= 2; p }); assert_eq!(vec, [2, 4, 8, 16]);
-

Returns the remaining spare capacity of the vector as a slice of +

Returns the remaining spare capacity of the vector as a slice of MaybeUninit<T>.

The returned slice can be used to fill the vector with data (e.g. by reading from a file) before marking the data as initialized using the @@ -442,7 +437,7 @@

Examples
} assert_eq!(&v, &[0, 1, 2]);
-
🔬 This is a nightly-only experimental API. (vec_split_at_spare)

Returns vector content as a slice of T, along with the remaining spare +

🔬 This is a nightly-only experimental API. (vec_split_at_spare)

Returns vector content as a slice of T, along with the remaining spare capacity of the vector as a slice of MaybeUninit<T>.

The returned spare capacity slice can be used to fill the vector with data (e.g. by reading from a file) before marking the data as initialized using @@ -476,7 +471,7 @@

Examples
} assert_eq!(&v, &[1, 1, 2, 4, 8, 12, 16]);
-

Resizes the Vec in-place so that len is equal to new_len.

+

Resizes the Vec in-place so that len is equal to new_len.

If new_len is greater than len, the Vec is extended by the difference, with each additional slot filled with value. If new_len is less than len, the Vec is simply truncated.

@@ -493,7 +488,7 @@
Examples
let mut vec = vec![1, 2, 3, 4]; vec.resize(2, 0); assert_eq!(vec, [1, 2]);
-

Clones and appends all elements in a slice to the Vec.

+

Clones and appends all elements in a slice to the Vec.

Iterates over the slice other, clones each element, and then appends it to this Vec. The other slice is traversed in-order.

Note that this function is same as extend except that it is @@ -504,7 +499,7 @@

Examples
let mut vec = vec![1];
 vec.extend_from_slice(&[2, 3, 4]);
 assert_eq!(vec, [1, 2, 3, 4]);
-

Copies elements from src range to the end of the vector.

+

Copies elements from src range to the end of the vector.

Panics

Panics if the starting point is greater than the end point or if the end point is greater than the length of the vector.

@@ -519,7 +514,7 @@
Examples
vec.extend_from_within(4..8); assert_eq!(vec, [0, 1, 2, 3, 4, 2, 3, 4, 0, 1, 4, 2, 3, 4]);
-

Removes consecutive repeated elements in the vector according to the +

Removes consecutive repeated elements in the vector according to the PartialEq trait implementation.

If the vector is sorted, this removes all duplicates.

Examples
@@ -528,7 +523,7 @@
Examples
vec.dedup(); assert_eq!(vec, [1, 2, 3, 2]);
-

Creates a splicing iterator that replaces the specified range in the vector +

Creates a splicing iterator that replaces the specified range in the vector with the given replace_with iterator and yields the removed items. replace_with does not need to be the same length as range.

range is removed even if the iterator is not consumed until the end.

@@ -551,7 +546,7 @@
Examples
let u: Vec<_> = v.splice(1..3, new).collect(); assert_eq!(v, &[1, 7, 8, 9, 4]); assert_eq!(u, &[2, 3]);
-
🔬 This is a nightly-only experimental API. (drain_filter)

Creates an iterator which uses a closure to determine if an element should be removed.

+
🔬 This is a nightly-only experimental API. (drain_filter)

Creates an iterator which uses a closure to determine if an element should be removed.

If the closure returns true, then the element is removed and yielded. If the closure returns false, the element will remain in the vector and will not be yielded by the iterator.

@@ -582,22 +577,22 @@
Examples
assert_eq!(evens, vec![2, 4, 6, 8, 14]); assert_eq!(odds, vec![1, 3, 5, 9, 11, 13, 15]);
-

Methods from Deref<Target = [T]>

Returns the number of elements in the slice.

+

Methods from Deref<Target = [T]>

Returns the number of elements in the slice.

Examples
let a = [1, 2, 3];
 assert_eq!(a.len(), 3);
-

Returns true if the slice has a length of 0.

+

Returns true if the slice has a length of 0.

Examples
let a = [1, 2, 3];
 assert!(!a.is_empty());
-

Returns the first element of the slice, or None if it is empty.

+

Returns the first element of the slice, or None if it is empty.

Examples
let v = [10, 40, 30];
 assert_eq!(Some(&10), v.first());
 
 let w: &[i32] = &[];
 assert_eq!(None, w.first());
-

Returns a mutable pointer to the first element of the slice, or None if it is empty.

+

Returns a mutable pointer to the first element of the slice, or None if it is empty.

Examples
let x = &mut [0, 1, 2];
 
@@ -605,7 +600,7 @@ 
Examples
*first = 5; } assert_eq!(x, &[5, 1, 2]);
-

Returns the first and all the rest of the elements of the slice, or None if it is empty.

+

Returns the first and all the rest of the elements of the slice, or None if it is empty.

Examples
let x = &[0, 1, 2];
 
@@ -613,7 +608,7 @@ 
Examples
assert_eq!(first, &0); assert_eq!(elements, &[1, 2]); }
-

Returns the first and all the rest of the elements of the slice, or None if it is empty.

+

Returns the first and all the rest of the elements of the slice, or None if it is empty.

Examples
let x = &mut [0, 1, 2];
 
@@ -623,7 +618,7 @@ 
Examples
elements[1] = 5; } assert_eq!(x, &[3, 4, 5]);
-

Returns the last and all the rest of the elements of the slice, or None if it is empty.

+

Returns the last and all the rest of the elements of the slice, or None if it is empty.

Examples
let x = &[0, 1, 2];
 
@@ -631,7 +626,7 @@ 
Examples
assert_eq!(last, &2); assert_eq!(elements, &[0, 1]); }
-

Returns the last and all the rest of the elements of the slice, or None if it is empty.

+

Returns the last and all the rest of the elements of the slice, or None if it is empty.

Examples
let x = &mut [0, 1, 2];
 
@@ -641,14 +636,14 @@ 
Examples
elements[1] = 5; } assert_eq!(x, &[4, 5, 3]);
-

Returns the last element of the slice, or None if it is empty.

+

Returns the last element of the slice, or None if it is empty.

Examples
let v = [10, 40, 30];
 assert_eq!(Some(&30), v.last());
 
 let w: &[i32] = &[];
 assert_eq!(None, w.last());
-

Returns a mutable pointer to the last item in the slice.

+

Returns a mutable pointer to the last item in the slice.

Examples
let x = &mut [0, 1, 2];
 
@@ -656,7 +651,7 @@ 
Examples
*last = 10; } assert_eq!(x, &[0, 1, 10]);
-

Returns a reference to an element or subslice depending on the type of +

Returns a reference to an element or subslice depending on the type of index.

  • If given a position, returns a reference to the element at that @@ -670,7 +665,7 @@
    Examples
    assert_eq!(Some(&[10, 40][..]), v.get(0..2)); assert_eq!(None, v.get(3)); assert_eq!(None, v.get(0..4));
-

Returns a mutable reference to an element or subslice depending on the +

Returns a mutable reference to an element or subslice depending on the type of index (see get) or None if the index is out of bounds.

Examples
let x = &mut [0, 1, 2];
@@ -679,7 +674,7 @@ 
Examples
*elem = 42; } assert_eq!(x, &[0, 42, 2]);
-

Returns a reference to an element or subslice, without doing bounds +

Returns a reference to an element or subslice, without doing bounds checking.

For a safe alternative see get.

Safety
@@ -691,7 +686,7 @@
Examples
unsafe { assert_eq!(x.get_unchecked(1), &2); }
-

Returns a mutable reference to an element or subslice, without doing +

Returns a mutable reference to an element or subslice, without doing bounds checking.

For a safe alternative see get_mut.

Safety
@@ -705,7 +700,7 @@
Examples
*elem = 13; } assert_eq!(x, &[1, 13, 4]);
-

Returns a raw pointer to the slice’s buffer.

+

Returns a raw pointer to the slice’s buffer.

The caller must ensure that the slice outlives the pointer this function returns, or else it will end up pointing to garbage.

The caller must also ensure that the memory the pointer (non-transitively) points to @@ -722,7 +717,7 @@

Examples
assert_eq!(x.get_unchecked(i), &*x_ptr.add(i)); } }
-

Returns an unsafe mutable pointer to the slice’s buffer.

+

Returns an unsafe mutable pointer to the slice’s buffer.

The caller must ensure that the slice outlives the pointer this function returns, or else it will end up pointing to garbage.

Modifying the container referenced by this slice may cause its buffer @@ -737,7 +732,7 @@

Examples
} } assert_eq!(x, &[3, 4, 6]);
-

Returns the two raw pointers spanning the slice.

+

Returns the two raw pointers spanning the slice.

The returned range is half-open, which means that the end pointer points one past the last element of the slice. This way, an empty slice is represented by two equal pointers, and the difference between @@ -757,7 +752,7 @@

Examples
assert!(a.as_ptr_range().contains(&x)); assert!(!a.as_ptr_range().contains(&y));
-

Returns the two unsafe mutable pointers spanning the slice.

+

Returns the two unsafe mutable pointers spanning the slice.

The returned range is half-open, which means that the end pointer points one past the last element of the slice. This way, an empty slice is represented by two equal pointers, and the difference between @@ -768,7 +763,7 @@

Examples

This function is useful for interacting with foreign interfaces which use two pointers to refer to a range of elements in memory, as is common in C++.

-

Swaps two elements in the slice.

+

Swaps two elements in the slice.

Arguments
  • a - The index of the first element
  • @@ -780,7 +775,7 @@
    Examples
    let mut v = ["a", "b", "c", "d", "e"];
     v.swap(2, 4);
     assert!(v == ["a", "b", "e", "d", "c"]);
    -
🔬 This is a nightly-only experimental API. (slice_swap_unchecked)

Swaps two elements in the slice, without doing bounds checking.

+
🔬 This is a nightly-only experimental API. (slice_swap_unchecked)

Swaps two elements in the slice, without doing bounds checking.

For a safe alternative see swap.

Arguments
    @@ -797,12 +792,12 @@
    Examples
    // SAFETY: we know that 1 and 3 are both indices of the slice unsafe { v.swap_unchecked(1, 3) }; assert!(v == ["a", "d", "c", "b"]);
-

Reverses the order of elements in the slice, in place.

+

Reverses the order of elements in the slice, in place.

Examples
let mut v = [1, 2, 3];
 v.reverse();
 assert!(v == [3, 2, 1]);
-

Returns an iterator over the slice.

+

Returns an iterator over the slice.

The iterator yields all items from start to end.

Examples
let x = &[1, 2, 4];
@@ -812,7 +807,7 @@ 
Examples
assert_eq!(iterator.next(), Some(&2)); assert_eq!(iterator.next(), Some(&4)); assert_eq!(iterator.next(), None);
-

Returns an iterator that allows modifying each value.

+

Returns an iterator that allows modifying each value.

The iterator yields all items from start to end.

Examples
let x = &mut [1, 2, 4];
@@ -820,7 +815,7 @@ 
Examples
*elem += 2; } assert_eq!(x, &[3, 4, 6]);
-

Returns an iterator over all contiguous windows of length +

Returns an iterator over all contiguous windows of length size. The windows overlap. If the slice is shorter than size, the iterator returns no values.

Panics
@@ -837,7 +832,7 @@
Examples
let slice = ['f', 'o', 'o'];
 let mut iter = slice.windows(4);
 assert!(iter.next().is_none());
-

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

Returns an iterator over chunk_size elements of the slice at a time, starting at the beginning of the slice.

The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice, then the last chunk will not have length chunk_size.

@@ -853,7 +848,7 @@
Examples
assert_eq!(iter.next().unwrap(), &['r', 'e']); assert_eq!(iter.next().unwrap(), &['m']); assert!(iter.next().is_none());
-

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

Returns an iterator over chunk_size elements of the slice at a time, starting at the beginning of the slice.

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the length of the slice, then the last chunk will not have length chunk_size.

@@ -873,7 +868,7 @@
Examples
count += 1; } assert_eq!(v, &[1, 1, 2, 2, 3]);
-

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

Returns an iterator over chunk_size elements of the slice at a time, starting at the beginning of the slice.

The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice, then the last up to chunk_size-1 elements will be omitted and can be retrieved @@ -891,7 +886,7 @@

Examples
assert_eq!(iter.next().unwrap(), &['r', 'e']); assert!(iter.next().is_none()); assert_eq!(iter.remainder(), &['m']);
-

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

Returns an iterator over chunk_size elements of the slice at a time, starting at the beginning of the slice.

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the length of the slice, then the last up to chunk_size-1 elements will be omitted and can be @@ -914,7 +909,7 @@

Examples
count += 1; } assert_eq!(v, &[1, 1, 2, 2, 0]);
-
🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, assuming that there’s no remainder.

Safety

This may only be called when

@@ -937,7 +932,7 @@
Examples
// These would be unsound: // let chunks: &[[_; 5]] = slice.as_chunks_unchecked() // The slice length is not a multiple of 5 // let chunks: &[[_; 0]] = slice.as_chunks_unchecked() // Zero-length chunks are never allowed
-
🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, starting at the beginning of the slice, and a remainder slice with length strictly less than N.

Panics
@@ -949,7 +944,7 @@
Examples
let (chunks, remainder) = slice.as_chunks(); assert_eq!(chunks, &[['l', 'o'], ['r', 'e']]); assert_eq!(remainder, &['m']);
-
🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, starting at the end of the slice, and a remainder slice with length strictly less than N.

Panics
@@ -961,7 +956,7 @@
Examples
let (remainder, chunks) = slice.as_rchunks(); assert_eq!(remainder, &['l']); assert_eq!(chunks, &[['o', 'r'], ['e', 'm']]);
-
🔬 This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the +

🔬 This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the beginning of the slice.

The chunks are array references and do not overlap. If N does not divide the length of the slice, then the last up to N-1 elements will be omitted and can be @@ -978,7 +973,7 @@

Examples
assert_eq!(iter.next().unwrap(), &['r', 'e']); assert!(iter.next().is_none()); assert_eq!(iter.remainder(), &['m']);
-
🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, assuming that there’s no remainder.

Safety

This may only be called when

@@ -1003,7 +998,7 @@
Examples
// These would be unsound: // let chunks: &[[_; 5]] = slice.as_chunks_unchecked_mut() // The slice length is not a multiple of 5 // let chunks: &[[_; 0]] = slice.as_chunks_unchecked_mut() // Zero-length chunks are never allowed
-
🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, starting at the beginning of the slice, and a remainder slice with length strictly less than N.

Panics
@@ -1021,7 +1016,7 @@
Examples
count += 1; } assert_eq!(v, &[1, 1, 2, 2, 9]);
-
🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, +

🔬 This is a nightly-only experimental API. (slice_as_chunks)

Splits the slice into a slice of N-element arrays, starting at the end of the slice, and a remainder slice with length strictly less than N.

Panics
@@ -1039,7 +1034,7 @@
Examples
count += 1; } assert_eq!(v, &[9, 1, 1, 2, 2]);
-
🔬 This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the +

🔬 This is a nightly-only experimental API. (array_chunks)

Returns an iterator over N elements of the slice at a time, starting at the beginning of the slice.

The chunks are mutable array references and do not overlap. If N does not divide the length of the slice, then the last up to N-1 elements will be omitted and @@ -1058,7 +1053,7 @@

Examples
count += 1; } assert_eq!(v, &[1, 1, 2, 2, 0]);
-
🔬 This is a nightly-only experimental API. (array_windows)

Returns an iterator over overlapping windows of N elements of a slice, +

🔬 This is a nightly-only experimental API. (array_windows)

Returns an iterator over overlapping windows of N elements of a slice, starting at the beginning of the slice.

This is the const generic equivalent of windows.

If N is greater than the size of the slice, it will return no windows.

@@ -1073,7 +1068,7 @@
Examples
assert_eq!(iter.next().unwrap(), &[1, 2]); assert_eq!(iter.next().unwrap(), &[2, 3]); assert!(iter.next().is_none());
-

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +

Returns an iterator over chunk_size elements of the slice at a time, starting at the end of the slice.

The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice, then the last chunk will not have length chunk_size.

@@ -1089,7 +1084,7 @@
Examples
assert_eq!(iter.next().unwrap(), &['o', 'r']); assert_eq!(iter.next().unwrap(), &['l']); assert!(iter.next().is_none());
-

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +

Returns an iterator over chunk_size elements of the slice at a time, starting at the end of the slice.

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the length of the slice, then the last chunk will not have length chunk_size.

@@ -1109,13 +1104,13 @@
Examples
count += 1; } assert_eq!(v, &[3, 2, 2, 1, 1]);
-

Returns an iterator over chunk_size elements of the slice at a time, starting at the +

Returns an iterator over chunk_size elements of the slice at a time, starting at the end of the slice.

The chunks are slices and do not overlap. If chunk_size does not divide the length of the slice, then the last up to chunk_size-1 elements will be omitted and can be retrieved from the remainder function of the iterator.

Due to each chunk having exactly chunk_size elements, the compiler can often optimize the -resulting code better than in the case of chunks.

+resulting code better than in the case of rchunks.

See rchunks for a variant of this iterator that also returns the remainder as a smaller chunk, and chunks_exact for the same iterator but starting at the beginning of the slice.

@@ -1128,7 +1123,7 @@
Examples
assert_eq!(iter.next().unwrap(), &['o', 'r']); assert!(iter.next().is_none()); assert_eq!(iter.remainder(), &['l']);
-

Returns an iterator over chunk_size elements of the slice at a time, starting at the end +

Returns an iterator over chunk_size elements of the slice at a time, starting at the end of the slice.

The chunks are mutable slices, and do not overlap. If chunk_size does not divide the length of the slice, then the last up to chunk_size-1 elements will be omitted and can be @@ -1151,7 +1146,7 @@

Examples
count += 1; } assert_eq!(v, &[0, 2, 2, 1, 1]);
-
🔬 This is a nightly-only experimental API. (slice_group_by)

Returns an iterator over the slice producing non-overlapping runs +

🔬 This is a nightly-only experimental API. (slice_group_by)

Returns an iterator over the slice producing non-overlapping runs of elements using the predicate to separate them.

The predicate is called on two elements following themselves, it means the predicate is called on slice[0] and slice[1] @@ -1179,7 +1174,7 @@

Examples
assert_eq!(iter.next(), Some(&[2, 3][..])); assert_eq!(iter.next(), Some(&[2, 3, 4][..])); assert_eq!(iter.next(), None);
-
🔬 This is a nightly-only experimental API. (slice_group_by)

Returns an iterator over the slice producing non-overlapping mutable +

🔬 This is a nightly-only experimental API. (slice_group_by)

Returns an iterator over the slice producing non-overlapping mutable runs of elements using the predicate to separate them.

The predicate is called on two elements following themselves, it means the predicate is called on slice[0] and slice[1] @@ -1207,7 +1202,7 @@

Examples
assert_eq!(iter.next(), Some(&mut [2, 3][..])); assert_eq!(iter.next(), Some(&mut [2, 3, 4][..])); assert_eq!(iter.next(), None);
-

Divides one slice into two at an index.

+

Divides one slice into two at an index.

The first will contain all indices from [0, mid) (excluding the index mid itself) and the second will contain all indices from [mid, len) (excluding the index len itself).

@@ -1233,7 +1228,7 @@
Examples
assert_eq!(left, [1, 2, 3, 4, 5, 6]); assert_eq!(right, []); }
-

Divides one mutable slice into two at an index.

+

Divides one mutable slice into two at an index.

The first will contain all indices from [0, mid) (excluding the index mid itself) and the second will contain all indices from [mid, len) (excluding the index len itself).

@@ -1247,7 +1242,7 @@
Examples
left[1] = 2; right[1] = 4; assert_eq!(v, [1, 2, 3, 4, 5, 6]);
-
🔬 This is a nightly-only experimental API. (slice_split_at_unchecked)

Divides one slice into two at an index, without doing bounds checking.

+
🔬 This is a nightly-only experimental API. (slice_split_at_unchecked)

Divides one slice into two at an index, without doing bounds checking.

The first will contain all indices from [0, mid) (excluding the index mid itself) and the second will contain all indices from [mid, len) (excluding the index len itself).

@@ -1278,7 +1273,7 @@
Examples
assert_eq!(left, [1, 2, 3, 4, 5, 6]); assert_eq!(right, []); }
-
🔬 This is a nightly-only experimental API. (slice_split_at_unchecked)

Divides one mutable slice into two at an index, without doing bounds checking.

+
🔬 This is a nightly-only experimental API. (slice_split_at_unchecked)

Divides one mutable slice into two at an index, without doing bounds checking.

The first will contain all indices from [0, mid) (excluding the index mid itself) and the second will contain all indices from [mid, len) (excluding the index len itself).

@@ -1300,7 +1295,7 @@
Examples
right[1] = 4; } assert_eq!(v, [1, 2, 3, 4, 5, 6]);
-
🔬 This is a nightly-only experimental API. (split_array)

Divides one slice into an array and a remainder slice at an index.

+
🔬 This is a nightly-only experimental API. (split_array)

Divides one slice into an array and a remainder slice at an index.

The array will contain all indices from [0, N) (excluding the index N itself) and the slice will contain all indices from [N, len) (excluding the index len itself).

@@ -1328,7 +1323,7 @@
Examples
assert_eq!(left, &[1, 2, 3, 4, 5, 6]); assert_eq!(right, []); }
-
🔬 This is a nightly-only experimental API. (split_array)

Divides one mutable slice into an array and a remainder slice at an index.

+
🔬 This is a nightly-only experimental API. (split_array)

Divides one mutable slice into an array and a remainder slice at an index.

The array will contain all indices from [0, N) (excluding the index N itself) and the slice will contain all indices from [N, len) (excluding the index len itself).

@@ -1344,7 +1339,7 @@
Examples
left[1] = 2; right[1] = 4; assert_eq!(v, [1, 2, 3, 4, 5, 6]);
-
🔬 This is a nightly-only experimental API. (split_array)

Divides one slice into an array and a remainder slice at an index from +

🔬 This is a nightly-only experimental API. (split_array)

Divides one slice into an array and a remainder slice at an index from the end.

The slice will contain all indices from [0, len - N) (excluding the index len - N itself) and the array will contain all @@ -1373,7 +1368,7 @@

Examples
assert_eq!(left, []); assert_eq!(right, &[1, 2, 3, 4, 5, 6]); }
-
🔬 This is a nightly-only experimental API. (split_array)

Divides one mutable slice into an array and a remainder slice at an +

🔬 This is a nightly-only experimental API. (split_array)

Divides one mutable slice into an array and a remainder slice at an index from the end.

The slice will contain all indices from [0, len - N) (excluding the index N itself) and the array will contain all @@ -1390,7 +1385,7 @@

Examples
left[1] = 2; right[1] = 4; assert_eq!(v, [1, 2, 3, 4, 5, 6]);
-

Returns an iterator over subslices separated by elements that match +

Returns an iterator over subslices separated by elements that match pred. The matched element is not contained in the subslices.

Examples
let slice = [10, 40, 33, 20];
@@ -1420,7 +1415,7 @@ 
Examples
assert_eq!(iter.next().unwrap(), &[]); assert_eq!(iter.next().unwrap(), &[20]); assert!(iter.next().is_none());
-

Returns an iterator over mutable subslices separated by elements that +

Returns an iterator over mutable subslices separated by elements that match pred. The matched element is not contained in the subslices.

Examples
let mut v = [10, 40, 30, 20, 60, 50];
@@ -1429,7 +1424,7 @@ 
Examples
group[0] = 1; } assert_eq!(v, [1, 40, 30, 1, 60, 1]);
-

Returns an iterator over subslices separated by elements that match +

Returns an iterator over subslices separated by elements that match pred. The matched element is contained in the end of the previous subslice as a terminator.

Examples
@@ -1449,7 +1444,7 @@
Examples
assert_eq!(iter.next().unwrap(), &[3]); assert_eq!(iter.next().unwrap(), &[10, 40, 33]); assert!(iter.next().is_none());
-

Returns an iterator over mutable subslices separated by elements that +

Returns an iterator over mutable subslices separated by elements that match pred. The matched element is contained in the previous subslice as a terminator.

Examples
@@ -1460,7 +1455,7 @@
Examples
group[terminator_idx] = 1; } assert_eq!(v, [10, 40, 1, 20, 1, 1]);
-

Returns an iterator over subslices separated by elements that match +

Returns an iterator over subslices separated by elements that match pred, starting at the end of the slice and working backwards. The matched element is not contained in the subslices.

Examples
@@ -1480,7 +1475,7 @@
Examples
assert_eq!(it.next().unwrap(), &[1, 1]); assert_eq!(it.next().unwrap(), &[]); assert_eq!(it.next(), None);
-

Returns an iterator over mutable subslices separated by elements that +

Returns an iterator over mutable subslices separated by elements that match pred, starting at the end of the slice and working backwards. The matched element is not contained in the subslices.

Examples
@@ -1492,7 +1487,7 @@
Examples
group[0] = count; } assert_eq!(v, [3, 400, 300, 2, 600, 1]);
-

Returns an iterator over subslices separated by elements that match +

Returns an iterator over subslices separated by elements that match pred, limited to returning at most n items. The matched element is not contained in the subslices.

The last element returned, if any, will contain the remainder of the @@ -1506,7 +1501,7 @@

Examples
for group in v.splitn(2, |num| *num % 3 == 0) { println!("{group:?}"); }
-

Returns an iterator over subslices separated by elements that match +

Returns an iterator over subslices separated by elements that match pred, limited to returning at most n items. The matched element is not contained in the subslices.

The last element returned, if any, will contain the remainder of the @@ -1518,7 +1513,7 @@

Examples
group[0] = 1; } assert_eq!(v, [1, 40, 30, 1, 60, 50]);
-

Returns an iterator over subslices separated by elements that match +

Returns an iterator over subslices separated by elements that match pred limited to returning at most n items. This starts at the end of the slice and works backwards. The matched element is not contained in the subslices.

@@ -1533,7 +1528,7 @@
Examples
for group in v.rsplitn(2, |num| *num % 3 == 0) { println!("{group:?}"); }
-

Returns an iterator over subslices separated by elements that match +

Returns an iterator over subslices separated by elements that match pred limited to returning at most n items. This starts at the end of the slice and works backwards. The matched element is not contained in the subslices.

@@ -1546,7 +1541,7 @@
Examples
group[0] = 1; } assert_eq!(s, [1, 40, 30, 20, 60, 1]);
-

Returns true if the slice contains an element with the given value.

+

Returns true if the slice contains an element with the given value.

This operation is O(n).

Note that if you have a sorted slice, binary_search may be faster.

Examples
@@ -1560,7 +1555,7 @@
Examples
let v = [String::from("hello"), String::from("world")]; // slice of `String`
 assert!(v.iter().any(|e| e == "hello")); // search with `&str`
 assert!(!v.iter().any(|e| e == "hi"));
-

Returns true if needle is a prefix of the slice.

+

Returns true if needle is a prefix of the slice.

Examples
let v = [10, 40, 30];
 assert!(v.starts_with(&[10]));
@@ -1573,7 +1568,7 @@ 
Examples
assert!(v.starts_with(&[])); let v: &[u8] = &[]; assert!(v.starts_with(&[]));
-

Returns true if needle is a suffix of the slice.

+

Returns true if needle is a suffix of the slice.

Examples
let v = [10, 40, 30];
 assert!(v.ends_with(&[30]));
@@ -1586,7 +1581,7 @@ 
Examples
assert!(v.ends_with(&[])); let v: &[u8] = &[]; assert!(v.ends_with(&[]));
-

Returns a subslice with the prefix removed.

+

Returns a subslice with the prefix removed.

If the slice starts with prefix, returns the subslice after the prefix, wrapped in Some. If prefix is empty, simply returns the original slice.

If the slice does not start with prefix, returns None.

@@ -1600,7 +1595,7 @@
Examples
let prefix : &str = "he"; assert_eq!(b"hello".strip_prefix(prefix.as_bytes()), Some(b"llo".as_ref()));
-

Returns a subslice with the suffix removed.

+

Returns a subslice with the suffix removed.

If the slice ends with suffix, returns the subslice before the suffix, wrapped in Some. If suffix is empty, simply returns the original slice.

If the slice does not end with suffix, returns None.

@@ -1610,7 +1605,7 @@
Examples
assert_eq!(v.strip_suffix(&[40, 30]), Some(&[10][..])); assert_eq!(v.strip_suffix(&[50]), None); assert_eq!(v.strip_suffix(&[50, 30]), None);
-

Binary searches this slice for a given element. +

Binary searches this slice for a given element. This behaves similary to contains if this slice is sorted.

If the value is found then Result::Ok is returned, containing the index of the matching element. If there are multiple matches, then any @@ -1641,7 +1636,7 @@

Examples
// The above is equivalent to `let idx = s.binary_search(&num).unwrap_or_else(|x| x);` s.insert(idx, num); assert_eq!(s, [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 42, 55]);
-

Binary searches this slice with a comparator function. +

Binary searches this slice with a comparator function. This behaves similarly to contains if this slice is sorted.

The comparator function should implement an order consistent with the sort order of the underlying slice, returning an @@ -1671,7 +1666,7 @@

Examples
let seek = 1; let r = s.binary_search_by(|probe| probe.cmp(&seek)); assert!(match r { Ok(1..=4) => true, _ => false, });
-

Binary searches this slice with a key extraction function. +

Binary searches this slice with a key extraction function. This behaves similarly to contains if this slice is sorted.

Assumes that the slice is sorted by the key, for instance with sort_by_key using the same key extraction function.

@@ -1698,7 +1693,7 @@
Examples
assert_eq!(s.binary_search_by_key(&100, |&(a, b)| b), Err(13)); let r = s.binary_search_by_key(&1, |&(a, b)| b); assert!(match r { Ok(1..=4) => true, _ => false, });
-

Sorts the slice, but might not preserve the order of equal elements.

+

Sorts the slice, but might not preserve the order of equal elements.

This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not allocate), and O(n * log(n)) worst-case.

Current implementation
@@ -1714,7 +1709,7 @@
Examples
v.sort_unstable(); assert!(v == [-5, -3, 1, 2, 4]);
-

Sorts the slice with a comparator function, but might not preserve the order of equal +

Sorts the slice with a comparator function, but might not preserve the order of equal elements.

This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not allocate), and O(n * log(n)) worst-case.

@@ -1747,7 +1742,7 @@
Examples
// reverse sorting v.sort_unstable_by(|a, b| b.cmp(a)); assert!(v == [5, 4, 3, 2, 1]);
-

Sorts the slice with a key extraction function, but might not preserve the order of equal +

Sorts the slice with a key extraction function, but might not preserve the order of equal elements.

This sort is unstable (i.e., may reorder equal elements), in-place (i.e., does not allocate), and O(m * n * log(n)) worst-case, where the key function is @@ -1766,7 +1761,7 @@

Examples
v.sort_unstable_by_key(|k| k.abs()); assert!(v == [1, 2, -3, 4, -5]);
-

Reorder the slice such that the element at index is at its final sorted position.

+

Reorder the slice such that the element at index is at its final sorted position.

This reordering has the additional property that any value at position i < index will be less than or equal to any value at a position j > index. Additionally, this reordering is unstable (i.e. any number of equal elements may end up at position index), in-place @@ -1791,7 +1786,7 @@

Examples
v == [-5, -3, 1, 2, 4] || v == [-3, -5, 1, 4, 2] || v == [-5, -3, 1, 4, 2]);
-

Reorder the slice with a comparator function such that the element at index is at its +

Reorder the slice with a comparator function such that the element at index is at its final sorted position.

This reordering has the additional property that any value at position i < index will be less than or equal to any value at a position j > index using the comparator function. @@ -1818,7 +1813,7 @@

Examples
v == [2, 4, 1, -3, -5] || v == [4, 2, 1, -5, -3] || v == [4, 2, 1, -3, -5]);
-

Reorder the slice with a key extraction function such that the element at index is at its +

Reorder the slice with a key extraction function such that the element at index is at its final sorted position.

This reordering has the additional property that any value at position i < index will be less than or equal to any value at a position j > index using the key extraction function. @@ -1845,7 +1840,7 @@

Examples
v == [1, 2, -3, -5, 4] || v == [2, 1, -3, 4, -5] || v == [2, 1, -3, -5, 4]);
-
🔬 This is a nightly-only experimental API. (slice_partition_dedup)

Moves all consecutive repeated elements to the end of the slice according to the +

🔬 This is a nightly-only experimental API. (slice_partition_dedup)

Moves all consecutive repeated elements to the end of the slice according to the PartialEq trait implementation.

Returns two slices. The first contains no consecutive repeated elements. The second contains all the duplicates in no specified order.

@@ -1859,7 +1854,7 @@
Examples
assert_eq!(dedup, [1, 2, 3, 2, 1]); assert_eq!(duplicates, [2, 3, 1]);
-
🔬 This is a nightly-only experimental API. (slice_partition_dedup)

Moves all but the first of consecutive elements to the end of the slice satisfying +

🔬 This is a nightly-only experimental API. (slice_partition_dedup)

Moves all but the first of consecutive elements to the end of the slice satisfying a given equality relation.

Returns two slices. The first contains no consecutive repeated elements. The second contains all the duplicates in no specified order.

@@ -1877,7 +1872,7 @@
Examples
assert_eq!(dedup, ["foo", "BAZ", "Bar", "baz"]); assert_eq!(duplicates, ["bar", "Foo", "BAZ"]);
-
🔬 This is a nightly-only experimental API. (slice_partition_dedup)

Moves all but the first of consecutive elements to the end of the slice that resolve +

🔬 This is a nightly-only experimental API. (slice_partition_dedup)

Moves all but the first of consecutive elements to the end of the slice that resolve to the same key.

Returns two slices. The first contains no consecutive repeated elements. The second contains all the duplicates in no specified order.

@@ -1891,7 +1886,7 @@
Examples
assert_eq!(dedup, [10, 20, 30, 20, 11]); assert_eq!(duplicates, [21, 30, 13]);
-

Rotates the slice in-place such that the first mid elements of the +

Rotates the slice in-place such that the first mid elements of the slice move to the end while the last self.len() - mid elements move to the front. After calling rotate_left, the element previously at index mid will become the first element in the slice.

@@ -1910,7 +1905,7 @@
Examples
let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
 a[1..5].rotate_left(1);
 assert_eq!(a, ['a', 'c', 'd', 'e', 'b', 'f']);
-

Rotates the slice in-place such that the first self.len() - k +

Rotates the slice in-place such that the first self.len() - k elements of the slice move to the end while the last k elements move to the front. After calling rotate_right, the element previously at index self.len() - k will become the first element in the slice.

@@ -1929,12 +1924,12 @@
Examples
let mut a = ['a', 'b', 'c', 'd', 'e', 'f'];
 a[1..5].rotate_right(1);
 assert_eq!(a, ['a', 'e', 'b', 'c', 'd', 'f']);
-

Fills self with elements by cloning value.

+

Fills self with elements by cloning value.

Examples
let mut buf = vec![0; 10];
 buf.fill(1);
 assert_eq!(buf, vec![1; 10]);
-

Fills self with elements returned by calling a closure repeatedly.

+

Fills self with elements returned by calling a closure repeatedly.

This method uses a closure to create new values. If you’d rather Clone a given value, use fill. If you want to use the Default trait to generate values, you can pass Default::default as the @@ -1943,7 +1938,7 @@

Examples
let mut buf = vec![1; 10];
 buf.fill_with(Default::default);
 assert_eq!(buf, vec![0; 10]);
-

Copies the elements from src into self.

+

Copies the elements from src into self.

The length of src must be the same as self.

Panics

This function will panic if the two slices have different lengths.

@@ -1979,7 +1974,7 @@
Examples
} assert_eq!(slice, [4, 5, 3, 4, 5]);
-

Copies all elements from src into self, using a memcpy.

+

Copies all elements from src into self, using a memcpy.

The length of src must be the same as self.

If T does not implement Copy, use clone_from_slice.

Panics
@@ -2016,7 +2011,7 @@
Examples
} assert_eq!(slice, [4, 5, 3, 4, 5]);
-

Copies elements from one part of the slice to another part of itself, +

Copies elements from one part of the slice to another part of itself, using a memmove.

src is the range within self to copy from. dest is the starting index of the range within self to copy to, which will have the same @@ -2033,7 +2028,7 @@

Examples
bytes.copy_within(1..5, 8); assert_eq!(&bytes, b"Hello, Wello!");
-

Swaps all elements in self with those in other.

+

Swaps all elements in self with those in other.

The length of other must be the same as self.

Panics

This function will panic if the two slices have different lengths.

@@ -2065,7 +2060,7 @@
Example
} assert_eq!(slice, [4, 5, 3, 1, 2]);
-

Transmute the slice to a slice of another type, ensuring alignment of the types is +

Transmute the slice to a slice of another type, ensuring alignment of the types is maintained.

This method splits the slice into three distinct slices: prefix, correctly aligned middle slice of a new type, and the suffix slice. The method may make the middle slice the greatest @@ -2087,7 +2082,7 @@

Examples
// more_efficient_algorithm_for_aligned_shorts(shorts); // less_efficient_algorithm_for_bytes(suffix); }
-

Transmute the slice to a slice of another type, ensuring alignment of the types is +

Transmute the slice to a slice of another type, ensuring alignment of the types is maintained.

This method splits the slice into three distinct slices: prefix, correctly aligned middle slice of a new type, and the suffix slice. The method may make the middle slice the greatest @@ -2109,7 +2104,7 @@

Examples
// more_efficient_algorithm_for_aligned_shorts(shorts); // less_efficient_algorithm_for_bytes(suffix); }
-
🔬 This is a nightly-only experimental API. (portable_simd)

Split a slice into a prefix, a middle of aligned SIMD types, and a suffix.

+
🔬 This is a nightly-only experimental API. (portable_simd)

Split a slice into a prefix, a middle of aligned SIMD types, and a suffix.

This is a safe wrapper around slice::align_to, so has the same weak postconditions as that method. You’re only assured that self.len() == prefix.len() + middle.len() * LANES + suffix.len().

@@ -2131,6 +2126,7 @@
Panics
method for something like LANES == 3.

Examples
#![feature(portable_simd)]
+use core::simd::SimdFloat;
 
 let short = &[1, 2, 3];
 let (prefix, middle, suffix) = short.as_simd::<4>();
@@ -2156,7 +2152,7 @@ 
Examples
let numbers: Vec<f32> = (1..101).map(|x| x as _).collect(); assert_eq!(basic_simd_sum(&numbers[1..99]), 4949.0);
-
🔬 This is a nightly-only experimental API. (portable_simd)

Split a slice into a prefix, a middle of aligned SIMD types, and a suffix.

+
🔬 This is a nightly-only experimental API. (portable_simd)

Split a slice into a prefix, a middle of aligned SIMD types, and a suffix.

This is a safe wrapper around slice::align_to_mut, so has the same weak postconditions as that method. You’re only assured that self.len() == prefix.len() + middle.len() * LANES + suffix.len().

@@ -2177,7 +2173,7 @@
Panics
supported. It’s possible that, in the future, those restrictions might be lifted in a way that would make it possible to see panics from this method for something like LANES == 3.

-
🔬 This is a nightly-only experimental API. (is_sorted)

Checks if the elements of this slice are sorted.

+
🔬 This is a nightly-only experimental API. (is_sorted)

Checks if the elements of this slice are sorted.

That is, for each element a and its following element b, a <= b must hold. If the slice yields exactly zero or one element, true is returned.

Note that if Self::Item is only PartialOrd, but not Ord, the above definition @@ -2192,11 +2188,11 @@

Examples
assert!([0].is_sorted()); assert!(empty.is_sorted()); assert!(![0.0, 1.0, f32::NAN].is_sorted());
-
🔬 This is a nightly-only experimental API. (is_sorted)

Checks if the elements of this slice are sorted using the given comparator function.

+
🔬 This is a nightly-only experimental API. (is_sorted)

Checks if the elements of this slice are sorted using the given comparator function.

Instead of using PartialOrd::partial_cmp, this function uses the given compare function to determine the ordering of two elements. Apart from that, it’s equivalent to is_sorted; see its documentation for more information.

-
🔬 This is a nightly-only experimental API. (is_sorted)

Checks if the elements of this slice are sorted using the given key extraction function.

+
🔬 This is a nightly-only experimental API. (is_sorted)

Checks if the elements of this slice are sorted using the given key extraction function.

Instead of comparing the slice’s elements directly, this function compares the keys of the elements, as determined by f. Apart from that, it’s equivalent to is_sorted; see its documentation for more information.

@@ -2205,7 +2201,7 @@
Examples
assert!(["c", "bb", "aaa"].is_sorted_by_key(|s| s.len())); assert!(![-2i32, -1, 0, 3].is_sorted_by_key(|n| n.abs()));
-

Returns the index of the partition point according to the given predicate +

Returns the index of the partition point according to the given predicate (the index of the first element of the second partition).

The slice is assumed to be partitioned according to the given predicate. This means that all elements for which the predicate returns true are at the start of the slice @@ -2230,7 +2226,7 @@

Examples
let idx = s.partition_point(|&x| x < num); s.insert(idx, num); assert_eq!(s, [0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 42, 55]);
-
🔬 This is a nightly-only experimental API. (slice_take)

Removes the subslice corresponding to the given range +

🔬 This is a nightly-only experimental API. (slice_take)

Removes the subslice corresponding to the given range and returns a reference to it.

Returns None and does not modify the slice if the given range is out of bounds.

@@ -2266,7 +2262,7 @@
Examples
assert_eq!(None, slice.take(..=4)); let expected: &[char] = &['a', 'b', 'c', 'd']; assert_eq!(Some(expected), slice.take(..4));
-
🔬 This is a nightly-only experimental API. (slice_take)

Removes the subslice corresponding to the given range +

🔬 This is a nightly-only experimental API. (slice_take)

Removes the subslice corresponding to the given range and returns a mutable reference to it.

Returns None and does not modify the slice if the given range is out of bounds.

@@ -2302,7 +2298,7 @@
Examples
assert_eq!(None, slice.take_mut(..=4)); let expected: &mut [_] = &mut ['a', 'b', 'c', 'd']; assert_eq!(Some(expected), slice.take_mut(..4));
-
🔬 This is a nightly-only experimental API. (slice_take)

Removes the first element of the slice and returns a reference +

🔬 This is a nightly-only experimental API. (slice_take)

Removes the first element of the slice and returns a reference to it.

Returns None if the slice is empty.

Examples
@@ -2313,7 +2309,7 @@
Examples
assert_eq!(slice, &['b', 'c']); assert_eq!(first, &'a');
-
🔬 This is a nightly-only experimental API. (slice_take)

Removes the first element of the slice and returns a mutable +

🔬 This is a nightly-only experimental API. (slice_take)

Removes the first element of the slice and returns a mutable reference to it.

Returns None if the slice is empty.

Examples
@@ -2325,7 +2321,7 @@
Examples
assert_eq!(slice, &['b', 'c']); assert_eq!(first, &'d');
-
🔬 This is a nightly-only experimental API. (slice_take)

Removes the last element of the slice and returns a reference +

🔬 This is a nightly-only experimental API. (slice_take)

Removes the last element of the slice and returns a reference to it.

Returns None if the slice is empty.

Examples
@@ -2336,7 +2332,7 @@
Examples
assert_eq!(slice, &['a', 'b']); assert_eq!(last, &'c');
-
🔬 This is a nightly-only experimental API. (slice_take)

Removes the last element of the slice and returns a mutable +

🔬 This is a nightly-only experimental API. (slice_take)

Removes the last element of the slice and returns a mutable reference to it.

Returns None if the slice is empty.

Examples
@@ -2348,13 +2344,26 @@
Examples
assert_eq!(slice, &['a', 'b']); assert_eq!(last, &'d');
-
🔬 This is a nightly-only experimental API. (slice_flatten)

Takes a &[[T; N]], and flattens it to a &[T].

+
🔬 This is a nightly-only experimental API. (sort_floats)

Sorts the slice of floats.

+

This sort is in-place (i.e. does not allocate), O(n * log(n)) worst-case, and uses +the ordering defined by f64::total_cmp.

+
Current implementation
+

This uses the same sorting algorithm as sort_unstable_by.

+
Examples
+
#![feature(sort_floats)]
+let mut v = [2.6, -5e-8, f64::NAN, 8.29, f64::INFINITY, -1.0, 0.0, -f64::INFINITY, -0.0];
+
+v.sort_floats();
+let sorted = [-f64::INFINITY, -1.0, -5e-8, -0.0, 0.0, 2.6, 8.29, f64::INFINITY, f64::NAN];
+assert_eq!(&v[..8], &sorted[..8]);
+assert!(v[8].is_nan());
+
🔬 This is a nightly-only experimental API. (slice_flatten)

Takes a &[[T; N]], and flattens it to a &[T].

Panics

This panics if the length of the resulting slice would overflow a usize.

This is only possible when flattening a slice of arrays of zero-sized types, and thus tends to be irrelevant in practice. If size_of::<T>() > 0, this will never panic.

-
Examples
+
Examples
#![feature(slice_flatten)]
 
 assert_eq!([[1, 2, 3], [4, 5, 6]].flatten(), &[1, 2, 3, 4, 5, 6]);
@@ -2369,13 +2378,13 @@ 
Examples
let empty_slice_of_arrays: &[[u32; 10]] = &[]; assert!(empty_slice_of_arrays.flatten().is_empty());
-
🔬 This is a nightly-only experimental API. (slice_flatten)

Takes a &mut [[T; N]], and flattens it to a &mut [T].

+
🔬 This is a nightly-only experimental API. (slice_flatten)

Takes a &mut [[T; N]], and flattens it to a &mut [T].

Panics

This panics if the length of the resulting slice would overflow a usize.

This is only possible when flattening a slice of arrays of zero-sized types, and thus tends to be irrelevant in practice. If size_of::<T>() > 0, this will never panic.

-
Examples
+
Examples
#![feature(slice_flatten)]
 
 fn add_5_to_all(slice: &mut [i32]) {
@@ -2387,83 +2396,96 @@ 
Examples
let mut array = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]; add_5_to_all(array.flatten_mut()); assert_eq!(array, [[6, 7, 8], [9, 10, 11], [12, 13, 14]]);
-

Checks if all bytes in this slice are within the ASCII range.

-

Checks that two slices are an ASCII case-insensitive match.

+
🔬 This is a nightly-only experimental API. (sort_floats)

Sorts the slice of floats.

+

This sort is in-place (i.e. does not allocate), O(n * log(n)) worst-case, and uses +the ordering defined by f32::total_cmp.

+
Current implementation
+

This uses the same sorting algorithm as sort_unstable_by.

+
Examples
+
#![feature(sort_floats)]
+let mut v = [2.6, -5e-8, f32::NAN, 8.29, f32::INFINITY, -1.0, 0.0, -f32::INFINITY, -0.0];
+
+v.sort_floats();
+let sorted = [-f32::INFINITY, -1.0, -5e-8, -0.0, 0.0, 2.6, 8.29, f32::INFINITY, f32::NAN];
+assert_eq!(&v[..8], &sorted[..8]);
+assert!(v[8].is_nan());
+

Checks if all bytes in this slice are within the ASCII range.

+

Checks that two slices are an ASCII case-insensitive match.

Same as to_ascii_lowercase(a) == to_ascii_lowercase(b), but without allocating and copying temporaries.

-

Converts this slice to its ASCII upper case equivalent in-place.

+

Converts this slice to its ASCII upper case equivalent in-place.

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

To return a new uppercased value without modifying the existing one, use to_ascii_uppercase.

-

Converts this slice to its ASCII lower case equivalent in-place.

+

Converts this slice to its ASCII lower case equivalent in-place.

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

To return a new lowercased value without modifying the existing one, use to_ascii_lowercase.

-

Returns an iterator that produces an escaped version of this slice, +

Returns an iterator that produces an escaped version of this slice, treating it as an ASCII string.

-
Examples
+
Examples

 let s = b"0\t\r\n'\"\\\x9d";
 let escaped = s.escape_ascii().to_string();
 assert_eq!(escaped, "0\\t\\r\\n\\'\\\"\\\\\\x9d");
-
🔬 This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with leading ASCII whitespace bytes removed.

+
🔬 This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with leading ASCII whitespace bytes removed.

‘Whitespace’ refers to the definition used by u8::is_ascii_whitespace.

-
Examples
+
Examples
#![feature(byte_slice_trim_ascii)]
 
 assert_eq!(b" \t hello world\n".trim_ascii_start(), b"hello world\n");
 assert_eq!(b"  ".trim_ascii_start(), b"");
 assert_eq!(b"".trim_ascii_start(), b"");
-
🔬 This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with trailing ASCII whitespace bytes removed.

+
🔬 This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with trailing ASCII whitespace bytes removed.

‘Whitespace’ refers to the definition used by u8::is_ascii_whitespace.

-
Examples
+
Examples
#![feature(byte_slice_trim_ascii)]
 
 assert_eq!(b"\r hello world\n ".trim_ascii_end(), b"\r hello world");
 assert_eq!(b"  ".trim_ascii_end(), b"");
 assert_eq!(b"".trim_ascii_end(), b"");
-
🔬 This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with leading and trailing ASCII whitespace bytes +

🔬 This is a nightly-only experimental API. (byte_slice_trim_ascii)

Returns a byte slice with leading and trailing ASCII whitespace bytes removed.

‘Whitespace’ refers to the definition used by u8::is_ascii_whitespace.

-
Examples
+
Examples
#![feature(byte_slice_trim_ascii)]
 
 assert_eq!(b"\r hello world\n ".trim_ascii(), b"hello world");
 assert_eq!(b"  ".trim_ascii(), b"");
 assert_eq!(b"".trim_ascii(), b"");
-

Returns a vector containing a copy of this slice where each byte +

Returns a vector containing a copy of this slice where each byte is mapped to its ASCII upper case equivalent.

ASCII letters ‘a’ to ‘z’ are mapped to ‘A’ to ‘Z’, but non-ASCII letters are unchanged.

To uppercase the value in-place, use make_ascii_uppercase.

-

Returns a vector containing a copy of this slice where each byte +

Returns a vector containing a copy of this slice where each byte is mapped to its ASCII lower case equivalent.

ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

To lowercase the value in-place, use make_ascii_lowercase.

-

Sorts the slice.

+

Sorts the slice.

This sort is stable (i.e., does not reorder equal elements) and O(n * log(n)) worst-case.

When applicable, unstable sorting is preferred because it is generally faster than stable sorting and it doesn’t allocate auxiliary memory. See sort_unstable.

-
Current implementation
+
Current implementation

The current algorithm is an adaptive, iterative merge sort inspired by timsort. It is designed to be very fast in cases where the slice is nearly sorted, or consists of two or more sorted sequences concatenated one after another.

Also, it allocates temporary storage half the size of self, but for short slices a non-allocating insertion sort is used instead.

-
Examples
+
Examples
let mut v = [-5, 4, 1, -3, 2];
 
 v.sort();
 assert!(v == [-5, -3, 1, 2, 4]);
-

Sorts the slice with a comparator function.

+

Sorts the slice with a comparator function.

This sort is stable (i.e., does not reorder equal elements) and O(n * log(n)) worst-case.

The comparator function must define a total ordering for the elements in the slice. If the ordering is not total, the order of the elements is unspecified. An order is a @@ -2481,14 +2503,14 @@

Examples

When applicable, unstable sorting is preferred because it is generally faster than stable sorting and it doesn’t allocate auxiliary memory. See sort_unstable_by.

-
Current implementation
+
Current implementation

The current algorithm is an adaptive, iterative merge sort inspired by timsort. It is designed to be very fast in cases where the slice is nearly sorted, or consists of two or more sorted sequences concatenated one after another.

Also, it allocates temporary storage half the size of self, but for short slices a non-allocating insertion sort is used instead.

-
Examples
+
Examples
let mut v = [5, 4, 1, 3, 2];
 v.sort_by(|a, b| a.cmp(b));
 assert!(v == [1, 2, 3, 4, 5]);
@@ -2496,7 +2518,7 @@ 
Examples
// reverse sorting v.sort_by(|a, b| b.cmp(a)); assert!(v == [5, 4, 3, 2, 1]);
-

Sorts the slice with a key extraction function.

+

Sorts the slice with a key extraction function.

This sort is stable (i.e., does not reorder equal elements) and O(m * n * log(n)) worst-case, where the key function is O(m).

For expensive key functions (e.g. functions that are not simple property accesses or @@ -2505,19 +2527,19 @@

Examples

When applicable, unstable sorting is preferred because it is generally faster than stable sorting and it doesn’t allocate auxiliary memory. See sort_unstable_by_key.

-
Current implementation
+
Current implementation

The current algorithm is an adaptive, iterative merge sort inspired by timsort. It is designed to be very fast in cases where the slice is nearly sorted, or consists of two or more sorted sequences concatenated one after another.

Also, it allocates temporary storage half the size of self, but for short slices a non-allocating insertion sort is used instead.

-
Examples
+
Examples
let mut v = [-5i32, 4, 1, -3, 2];
 
 v.sort_by_key(|k| k.abs());
 assert!(v == [1, 2, -3, 4, -5]);
-

Sorts the slice with a key extraction function.

+

Sorts the slice with a key extraction function.

During sorting, the key function is called at most once per element, by using temporary storage to remember the results of key evaluation. The order of calls to the key function is unspecified and may change in future versions @@ -2527,7 +2549,7 @@

Examples

For simple key functions (e.g., functions that are property accesses or basic operations), sort_by_key is likely to be faster.

-
Current implementation
+
Current implementation

The current algorithm is based on pattern-defeating quicksort by Orson Peters, which combines the fast average case of randomized quicksort with the fast worst case of heapsort, while achieving linear time on slices with certain patterns. It uses some @@ -2535,18 +2557,18 @@

Current im deterministic behavior.

In the worst case, the algorithm allocates temporary storage in a Vec<(K, usize)> the length of the slice.

-
Examples
+
Examples
let mut v = [-5i32, 4, 32, -3, 2];
 
 v.sort_by_cached_key(|k| k.to_string());
 assert!(v == [-3, -5, 2, 32, 4]);
-

Copies self into a new Vec.

-
Examples
+

Copies self into a new Vec.

+
Examples
let s = [10, 40, 30];
 let x = s.to_vec();
 // Here, `s` and `x` can be modified independently.
-
🔬 This is a nightly-only experimental API. (allocator_api)

Copies self into a new Vec with an allocator.

-
Examples
+
🔬 This is a nightly-only experimental API. (allocator_api)

Copies self into a new Vec with an allocator.

+
Examples
#![feature(allocator_api)]
 
 use std::alloc::System;
@@ -2554,10 +2576,10 @@ 
Examples
let s = [10, 40, 30]; let x = s.to_vec_in(System); // Here, `s` and `x` can be modified independently.
-

Creates a vector by repeating a slice n times.

+

Creates a vector by repeating a slice n times.

Panics

This function will panic if the capacity would overflow.

-
Examples
+
Examples

Basic usage:

assert_eq!([1, 2].repeat(3), vec![1, 2, 1, 2, 1, 2]);
@@ -2565,48 +2587,47 @@
Examples
// this will panic at runtime
 b"0123456789abcdef".repeat(usize::MAX);
-

Flattens a slice of T into a single value Self::Output.

-
Examples
+

Flattens a slice of T into a single value Self::Output.

+
Examples
assert_eq!(["hello", "world"].concat(), "helloworld");
 assert_eq!([[1, 2], [3, 4]].concat(), [1, 2, 3, 4]);
-

Flattens a slice of T into a single value Self::Output, placing a +

Flattens a slice of T into a single value Self::Output, placing a given separator between each.

-
Examples
+
Examples
assert_eq!(["hello", "world"].join(" "), "hello world");
 assert_eq!([[1, 2], [3, 4]].join(&0), [1, 2, 0, 3, 4]);
 assert_eq!([[1, 2], [3, 4]].join(&[0, 0][..]), [1, 2, 0, 0, 3, 4]);
-
👎 Deprecated since 1.3.0:

renamed to join

+
👎 Deprecated since 1.3.0:

renamed to join

Flattens a slice of T into a single value Self::Output, placing a given separator between each.

-
Examples
+
Examples
assert_eq!(["hello", "world"].connect(" "), "hello world");
 assert_eq!([[1, 2], [3, 4]].connect(&0), [1, 2, 0, 3, 4]);
-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

The resulting type after dereferencing.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

The resulting type after dereferencing.

Dereferences the value.

-

Mutably dereferences the value.

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

Mutably dereferences the value.

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Compare self to key and return true if they are equal.

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.ToolchainBoundedSpecifier.html b/docs/api/cli/types/struct.ToolchainBoundedSpecifier.html index 7c532fdb..c67c10cd 100644 --- a/docs/api/cli/types/struct.ToolchainBoundedSpecifier.html +++ b/docs/api/cli/types/struct.ToolchainBoundedSpecifier.html @@ -1,42 +1,33 @@ -ToolchainBoundedSpecifier in cli::types - Rust - -
pub struct ToolchainBoundedSpecifier {
+ToolchainBoundedSpecifier in cli::types - Rust
pub struct ToolchainBoundedSpecifier {
     pub channel: String,
     pub min_version: String,
 }
Expand description

A toolchain with a minimum version bound

Fields

channel: String

The channel of the toolchain to use

min_version: String

The minimum version to match

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Formats the value using the given formatter. Read more

-

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Formats the value using the given formatter. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Compare self to key and return true if they are equal.

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Compare self to key and return true if they are equal.

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

Converts the given value to a String. Read more

-

The type returned in the event of a conversion error.

+

Converts the given value to a String. Read more

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.WatchOptions.html b/docs/api/cli/types/struct.WatchOptions.html index e60ef05d..3a877d76 100644 --- a/docs/api/cli/types/struct.WatchOptions.html +++ b/docs/api/cli/types/struct.WatchOptions.html @@ -1,12 +1,4 @@ -WatchOptions in cli::types - Rust - -
pub struct WatchOptions {
+WatchOptions in cli::types - Rust
pub struct WatchOptions {
     pub version: Option<String>,
     pub postpone: Option<bool>,
     pub ignore_pattern: Option<String>,
@@ -18,28 +10,27 @@ 

Struct cli::ignore_pattern: Option<String>

Ignore a glob/gitignore-style pattern

no_git_ignore: Option<bool>

Do not use .gitignore files

watch: Option<Vec<String>>

Select which files/folders to watch

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

This method tests for self and other values to be equal, and is used +

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

This method tests for self and other values to be equal, and is used by ==. Read more

-

This method tests for !=.

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

This method tests for !=.

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/cli/types/struct.Workspace.html b/docs/api/cli/types/struct.Workspace.html index be3542f6..63cc9583 100644 --- a/docs/api/cli/types/struct.Workspace.html +++ b/docs/api/cli/types/struct.Workspace.html @@ -1,38 +1,29 @@ -Workspace in cli::types - Rust - -
pub struct Workspace {
+Workspace in cli::types - Rust
pub struct Workspace {
     pub members: Option<Vec<String>>,
     pub exclude: Option<Vec<String>>,
 }
Expand description

Fields

members: Option<Vec<String>>

members paths

exclude: Option<Vec<String>>

exclude paths

-

Implementations

Creates and returns a new instance.

-

Trait Implementations

Returns a copy of the value. Read more

-

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Serialize this value into the given Serde serializer. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

-

Immutably borrows from an owned value. Read more

-

Mutably borrows from an owned value. Read more

-

Returns the argument unchanged.

-

Calls U::from(self).

+

Implementations

Creates and returns a new instance.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Serialize this value into the given Serde serializer. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Immutably borrows from an owned value. Read more

+

Mutably borrows from an owned value. Read more

+

Returns the argument unchanged.

+

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-

Should always be Self

-

The resulting type after obtaining ownership.

+

Should always be Self

+

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-

The type returned in the event of a conversion error.

+

The type returned in the event of a conversion error.

Performs the conversion.

-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/dark.css b/docs/api/dark.css index d8bd2002..242423d0 100644 --- a/docs/api/dark.css +++ b/docs/api/dark.css @@ -1 +1 @@ -body,#settings-menu #settings,#settings-menu #settings::before{background-color:#353535;color:#ddd;}.setting-line .radio-line input{border-color:#ddd;}.setting-line .radio-line input:checked{box-shadow:inset 0 0 0 3px #353535;background-color:#2196f3;}.setting-line .radio-line input:focus{box-shadow:0 0 1px 1px #2196f3;}.setting-line .radio-line input:checked:focus{box-shadow:inset 0 0 0 3px #353535,0 0 2px 2px #2196f3;}.setting-line .radio-line input:hover{border-color:#2196f3 !important;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:checked+.slider{background-color:#2196F3;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}h1,h2,h3,h4{color:#ddd;}h1.fqn{border-bottom-color:#d2d2d2;}h2,h3,h4{border-bottom-color:#d2d2d2;}.in-band{background-color:#353535;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#2A2A2A;}pre,.rustdoc.source .example-wrap{background-color:#2A2A2A;}.sidebar,.mobile-topbar,.sidebar-menu-toggle{background-color:#505050;}.rust-logo{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff)}*{scrollbar-color:rgb(64,65,67) #717171;}.sidebar{scrollbar-color:rgba(32,34,37,.6) #5a5a5a;}::-webkit-scrollbar-track{background-color:#717171;}::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar::-webkit-scrollbar-track{background-color:#717171;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(32,34,37,.6);}.sidebar .current,.sidebar a:hover{background:#444;}.source .sidebar{background-color:#565656;}.line-numbers span{color:#3B91E2;}.line-numbers .line-highlighted{background-color:#0a042f !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5,.docblock h6{border-bottom-color:#DDD;}.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#ddd;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#eee !important;background-color:#616161;}.search-results a:focus span{color:#eee !important;}a.result-trait:focus{background-color:#013191;}a.result-traitalias:focus{background-color:#013191;}a.result-mod:focus,a.result-externcrate:focus{background-color:#884719;}a.result-enum:focus{background-color:#194e9f;}a.result-struct:focus{background-color:#194e9f;}a.result-union:focus{background-color:#194e9f;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#4950ed;}a.result-type:focus{background-color:#194e9f;}a.result-associatedtype:focus{background-color:#884719;}a.result-foreigntype:focus{background-color:#194e9f;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#217d1c;}a.result-constant:focus,a.result-static:focus{background-color:#884719;}a.result-primitive:focus{background-color:#194e9f;}a.result-keyword:focus{background-color:#884719;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#2dbfb8;}.content span.struct,.content a.struct,.block a.current.struct{color:#2dbfb8;}.content span.type,.content a.type,.block a.current.type{color:#2dbfb8;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#D2991D;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#2dbfb8;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#09bd00;}.content span.union,.content a.union,.block a.current.union{color:#2dbfb8;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#D2991D;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2dbfb8;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#D2991D;}.content span.trait,.content a.trait,.block a.current.trait{color:#b78cf2;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#b78cf2;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#2BAB63;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#D2991D;}.sidebar a{color:#fdbf35;}.sidebar a.current.enum{color:#12ece2;}.sidebar a.current.struct{color:#12ece2;}.sidebar a.current.type{color:#12ece2;}.sidebar a.current.associatedtype{color:#fdbf35;}.sidebar a.current.foreigntype{color:#12ece2;}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{color:#0be900;}.sidebar a.current.union{color:#12ece2;}.sidebar a.current.constant .sidebar a.current.static{color:#fdbf35;}.sidebar a.current.primitive{color:#12ece2;}.sidebar a.current.externcrate .sidebar a.current.mod{color:#fdbf35;}.sidebar a.current.trait{color:#cca7ff;}.sidebar a.current.traitalias{color:#cca7ff;}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{color:#32d479;}.sidebar a.current.keyword{color:#fdbf35;}pre.rust .comment{color:#8d8d8b;}pre.rust .doccomment{color:#8ca375;}nav.main .current{border-top-color:#eee;border-bottom-color:#eee;}nav.main .separator{border-color:#eee;}a{color:#D2991D;}a#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,pre.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,.in-band a{color:#ddd;}.search-results a{color:#ddd;}a.test-arrow{color:#dedede;}body.source .example-wrap pre.rust a{background:#333;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}details.rustdoc-toggle>summary::before,details.undocumented>summary::before{filter:invert(100%);}#crate-search,.search-input{color:#111;background-color:#f0f0f0;border-color:#f0f0f0 !important;}.search-input{border-color:#e0e0e0;}.search-input:focus{border-color:#008dfd;}.module-item .stab,.import-item .stab{color:#ddd;}.stab.empty-impl{background:#FFF5D6;border-color:#FFC600;color:#2f2f2f;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;color:#2f2f2f;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;color:#2f2f2f;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;color:#2f2f2f;}.stab.portability>code{background:none;}#help>div{background:#4d4d4d;border-color:#bfbfbf;}#help span.bottom,#help span.top{border-color:#bfbfbf;}#help dt{border-color:#bfbfbf;background:rgba(0,0,0,0);}.rightside,.out-of-band{color:grey;}.result-name .primitive>i,.result-name .keyword>i{color:#ddd;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#ab8ac1;}pre.rust .kw-2,pre.rust .prelude-ty{color:#769acb;}pre.rust .number,pre.rust .string{color:#83a300;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#ee6868;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#d97f26;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#4a4949;}a.test-arrow{background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target{background-color:#494a3d;border-right:3px solid #bb7410;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.8);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.8);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.8);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.8);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;border-color:#000;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#111;border-color:#777;}.notable-traits-tooltiptext .notable{border-bottom-color:#d2d2d2;}#titles>button:not(.selected){background-color:#252525;border-top-color:#252525;}#titles>button:hover,#titles>button.selected{border-top-color:#0089ff;background-color:#353535;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#505050;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#505050;border-right-color:#000;}#sidebar-filler{background-color:#505050;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow:inset 0 -1px 0 #c6cbd1;}#settings-menu>a,#help-button{border-color:#e0e0e0;background:#f0f0f0;color:#000;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button:hover,#help-button:focus{border-color:#ffb900;}#settings-menu #settings,#settings-menu #settings::before{border-color:#d2d2d2;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(65%);}#theme-choices{border-color:#e0e0e0;background-color:#353535;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#4e4e4e;}.search-results .result-name span.alias{color:#fff;}.search-results .result-name span.grey{color:#ccc;}#sidebar-toggle{background-color:#565656;}#sidebar-toggle:hover{background-color:#676767;}#source-sidebar{background-color:#565656;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#444;}div.files>.selected{background-color:#333;}.scraped-example-list .scrape-help{border-color:#aaa;color:#eee;}.scraped-example-list .scrape-help:hover{border-color:white;color:white;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:rgb(91,59,1);}.scraped-example .example-wrap .rust span.highlight.focus{background:rgb(124,75,15);}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(53,53,53,1),rgba(53,53,53,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(53,53,53,1),rgba(53,53,53,0));}.toggle-line-inner{background:#999;}.toggle-line:hover .toggle-line-inner{background:#c5c5c5;} \ No newline at end of file +:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}.in-band{background-color:#353535;}.rust-logo{filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff)}.sidebar .current,.sidebar a:hover{background:#444;}.line-numbers span{color:#3B91E2;}.line-numbers .line-highlighted{background-color:#0a042f !important;}.docblock table td,.docblock table th{border-color:#ddd;}.search-results a:hover{background-color:#777;}.search-results a:focus{color:#eee !important;background-color:#616161;}.search-results a:focus span{color:#eee !important;}a.result-trait:focus{background-color:#013191;}a.result-traitalias:focus{background-color:#013191;}a.result-mod:focus,a.result-externcrate:focus{background-color:#884719;}a.result-enum:focus{background-color:#194e9f;}a.result-struct:focus{background-color:#194e9f;}a.result-union:focus{background-color:#194e9f;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#4950ed;}a.result-type:focus{background-color:#194e9f;}a.result-associatedtype:focus{background-color:#884719;}a.result-foreigntype:focus{background-color:#194e9f;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#217d1c;}a.result-constant:focus,a.result-static:focus{background-color:#884719;}a.result-primitive:focus{background-color:#194e9f;}a.result-keyword:focus{background-color:#884719;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#2dbfb8;}.content span.struct,.content a.struct,.block a.current.struct{color:#2dbfb8;}.content span.type,.content a.type,.block a.current.type{color:#2dbfb8;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#D2991D;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#2dbfb8;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#09bd00;}.content span.union,.content a.union,.block a.current.union{color:#2dbfb8;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#D2991D;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#2dbfb8;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#D2991D;}.content span.trait,.content a.trait,.block a.current.trait{color:#b78cf2;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#b78cf2;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#2BAB63;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#D2991D;}.sidebar a{color:#fdbf35;}.sidebar a.current.enum{color:#12ece2;}.sidebar a.current.struct{color:#12ece2;}.sidebar a.current.type{color:#12ece2;}.sidebar a.current.associatedtype{color:#fdbf35;}.sidebar a.current.foreigntype{color:#12ece2;}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{color:#0be900;}.sidebar a.current.union{color:#12ece2;}.sidebar a.current.constant .sidebar a.current.static{color:#fdbf35;}.sidebar a.current.primitive{color:#12ece2;}.sidebar a.current.externcrate .sidebar a.current.mod{color:#fdbf35;}.sidebar a.current.trait{color:#cca7ff;}.sidebar a.current.traitalias{color:#cca7ff;}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{color:#32d479;}.sidebar a.current.keyword{color:#fdbf35;}pre.rust .comment{color:#8d8d8b;}pre.rust .doccomment{color:#8ca375;}nav.main .current{border-top-color:#eee;border-bottom-color:#eee;}nav.main .separator{border-color:#eee;}a{color:#D2991D;}body.source .example-wrap pre.rust a{background:#333;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before{color:#999;}details.rustdoc-toggle>summary::before{filter:invert(100%);}#crate-search,.search-input{color:#111;background-color:#f0f0f0;border-color:#f0f0f0;}#crate-search{border-color:#f0f0f0 !important;}.search-input{border-color:#e0e0e0;}.search-input:focus{border-color:#008dfd;}.stab.empty-impl{background:#FFF5D6;border-color:#FFC600;color:#2f2f2f;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;color:#2f2f2f;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;color:#2f2f2f;}.stab.must_implement{background:#F3DFFF;border-color:#b07bdb;color:#2f2f2f;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;color:#2f2f2f;}.stab.portability>code{background:none;}.rightside,.out-of-band{color:grey;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#ab8ac1;}pre.rust .kw-2,pre.rust .prelude-ty{color:#769acb;}pre.rust .number,pre.rust .string{color:#83a300;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#ee6868;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#d97f26;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#4a4949;}a.test-arrow{color:#dedede;background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target{background-color:#494a3d;border-right:3px solid #bb7410;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.8);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.8);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.8);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.8);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#0089ff;}.tooltip::after{background-color:#000;color:#fff;border-color:#000;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#111;border-color:#777;}.notable-traits-tooltiptext .notable{border-bottom-color:#d2d2d2;}#titles>button:not(.selected){background-color:#252525;border-top-color:#252525;}#titles>button:hover,#titles>button.selected{border-top-color:#0089ff;background-color:#353535;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-elems{border-right-color:#000;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow:inset 0 -1px 0 #c6cbd1;}#settings-menu>a,#help-button>button{border-color:#e0e0e0;background:#f0f0f0;color:#000;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#ffb900;}.popover,.popover::before,#help-button span.top,#help-button span.bottom{border-color:#d2d2d2;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(65%);}#theme-choices{border-color:#e0e0e0;background-color:#353535;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#4e4e4e;}.search-results .result-name span.alias{color:#fff;}.search-results .result-name span.grey{color:#ccc;}#source-sidebar>.title{border-bottom-color:#ccc;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#444;}#source-sidebar div.files>a.selected{background-color:#333;}.scraped-example-list .scrape-help{border-color:#aaa;color:#eee;}.scraped-example-list .scrape-help:hover{border-color:white;color:white;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:rgb(91,59,1);}.scraped-example .example-wrap .rust span.highlight.focus{background:rgb(124,75,15);}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(53,53,53,1),rgba(53,53,53,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(53,53,53,1),rgba(53,53,53,0));}.toggle-line-inner{background:#999;}.toggle-line:hover .toggle-line-inner{background:#c5c5c5;} \ No newline at end of file diff --git a/docs/api/implementors/core/convert/trait.From.js b/docs/api/implementors/core/convert/trait.From.js index c5a4d661..1812c75f 100644 --- a/docs/api/implementors/core/convert/trait.From.js +++ b/docs/api/implementors/core/convert/trait.From.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["cli"] = [{"text":"impl From<String> for ToolchainSpecifier","synthetic":false,"types":["cli::types::ToolchainSpecifier"]},{"text":"impl From<&'_ str> for ToolchainSpecifier","synthetic":false,"types":["cli::types::ToolchainSpecifier"]},{"text":"impl From<&'_ str> for DependencyIdentifier","synthetic":false,"types":["cli::types::DependencyIdentifier"]}]; +implementors["cli"] = [{"text":"impl From<String> for ToolchainSpecifier","synthetic":false,"types":["cli::types::ToolchainSpecifier"]},{"text":"impl From<&str> for ToolchainSpecifier","synthetic":false,"types":["cli::types::ToolchainSpecifier"]},{"text":"impl From<&str> for DependencyIdentifier","synthetic":false,"types":["cli::types::DependencyIdentifier"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/api/implementors/serde/de/trait.Deserialize.js b/docs/api/implementors/serde/de/trait.Deserialize.js index 43cb51f4..17f7be2b 100644 --- a/docs/api/implementors/serde/de/trait.Deserialize.js +++ b/docs/api/implementors/serde/de/trait.Deserialize.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["cli"] = [{"text":"impl<'de> Deserialize<'de> for Cache","synthetic":false,"types":["cli::types::Cache"]},{"text":"impl<'de> Deserialize<'de> for GlobalConfig","synthetic":false,"types":["cli::types::GlobalConfig"]},{"text":"impl<'de> Deserialize<'de> for Workspace","synthetic":false,"types":["cli::types::Workspace"]},{"text":"impl<'de> Deserialize<'de> for PackageInfo","synthetic":false,"types":["cli::types::PackageInfo"]},{"text":"impl<'de> Deserialize<'de> for CrateDependencyInfo","synthetic":false,"types":["cli::types::CrateDependencyInfo"]},{"text":"impl<'de> Deserialize<'de> for CrateDependency","synthetic":false,"types":["cli::types::CrateDependency"]},{"text":"impl<'de> Deserialize<'de> for CrateInfo","synthetic":false,"types":["cli::types::CrateInfo"]},{"text":"impl<'de> Deserialize<'de> for RustVersionCondition","synthetic":false,"types":["cli::types::RustVersionCondition"]},{"text":"impl<'de> Deserialize<'de> for TaskCondition","synthetic":false,"types":["cli::types::TaskCondition"]},{"text":"impl<'de> Deserialize<'de> for EnvFileInfo","synthetic":false,"types":["cli::types::EnvFileInfo"]},{"text":"impl<'de> Deserialize<'de> for EnvFile","synthetic":false,"types":["cli::types::EnvFile"]},{"text":"impl<'de> Deserialize<'de> for EnvValueScript","synthetic":false,"types":["cli::types::EnvValueScript"]},{"text":"impl<'de> Deserialize<'de> for EnvValueDecode","synthetic":false,"types":["cli::types::EnvValueDecode"]},{"text":"impl<'de> Deserialize<'de> for EnvValueUnset","synthetic":false,"types":["cli::types::EnvValueUnset"]},{"text":"impl<'de> Deserialize<'de> for EnvValueConditioned","synthetic":false,"types":["cli::types::EnvValueConditioned"]},{"text":"impl<'de> Deserialize<'de> for EnvValuePathGlob","synthetic":false,"types":["cli::types::EnvValuePathGlob"]},{"text":"impl<'de> Deserialize<'de> for EnvValue","synthetic":false,"types":["cli::types::EnvValue"]},{"text":"impl<'de> Deserialize<'de> for TestArg","synthetic":false,"types":["cli::types::TestArg"]},{"text":"impl<'de> Deserialize<'de> for InstallCargoPluginInfo","synthetic":false,"types":["cli::types::InstallCargoPluginInfo"]},{"text":"impl<'de> Deserialize<'de> for InstallCrateInfo","synthetic":false,"types":["cli::types::InstallCrateInfo"]},{"text":"impl<'de> Deserialize<'de> for InstallRustupComponentInfo","synthetic":false,"types":["cli::types::InstallRustupComponentInfo"]},{"text":"impl<'de> Deserialize<'de> for InstallCrate","synthetic":false,"types":["cli::types::InstallCrate"]},{"text":"impl<'de> Deserialize<'de> for RunTaskName","synthetic":false,"types":["cli::types::RunTaskName"]},{"text":"impl<'de> Deserialize<'de> for RunTaskDetails","synthetic":false,"types":["cli::types::RunTaskDetails"]},{"text":"impl<'de> Deserialize<'de> for RunTaskRoutingInfo","synthetic":false,"types":["cli::types::RunTaskRoutingInfo"]},{"text":"impl<'de> Deserialize<'de> for RunTaskInfo","synthetic":false,"types":["cli::types::RunTaskInfo"]},{"text":"impl<'de> Deserialize<'de> for WatchOptions","synthetic":false,"types":["cli::types::WatchOptions"]},{"text":"impl<'de> Deserialize<'de> for TaskWatchOptions","synthetic":false,"types":["cli::types::TaskWatchOptions"]},{"text":"impl<'de> Deserialize<'de> for DeprecationInfo","synthetic":false,"types":["cli::types::DeprecationInfo"]},{"text":"impl<'de> Deserialize<'de> for FileScriptValue","synthetic":false,"types":["cli::types::FileScriptValue"]},{"text":"impl<'de> Deserialize<'de> for ScriptSections","synthetic":false,"types":["cli::types::ScriptSections"]},{"text":"impl<'de> Deserialize<'de> for ScriptValue","synthetic":false,"types":["cli::types::ScriptValue"]},{"text":"impl<'de> Deserialize<'de> for Task","synthetic":false,"types":["cli::types::Task"]},{"text":"impl<'de> Deserialize<'de> for ToolchainSpecifier","synthetic":false,"types":["cli::types::ToolchainSpecifier"]},{"text":"impl<'de> Deserialize<'de> for ToolchainBoundedSpecifier","synthetic":false,"types":["cli::types::ToolchainBoundedSpecifier"]},{"text":"impl<'de> Deserialize<'de> for DependencyIdentifier","synthetic":false,"types":["cli::types::DependencyIdentifier"]},{"text":"impl<'de> Deserialize<'de> for TaskIdentifier","synthetic":false,"types":["cli::types::TaskIdentifier"]},{"text":"impl<'de> Deserialize<'de> for PlatformOverrideTask","synthetic":false,"types":["cli::types::PlatformOverrideTask"]},{"text":"impl<'de> Deserialize<'de> for ExtendOptions","synthetic":false,"types":["cli::types::ExtendOptions"]},{"text":"impl<'de> Deserialize<'de> for Extend","synthetic":false,"types":["cli::types::Extend"]},{"text":"impl<'de> Deserialize<'de> for ModifyConfig","synthetic":false,"types":["cli::types::ModifyConfig"]},{"text":"impl<'de> Deserialize<'de> for UnstableFeature","synthetic":false,"types":["cli::types::UnstableFeature"]},{"text":"impl<'de> Deserialize<'de> for ConfigSection","synthetic":false,"types":["cli::types::ConfigSection"]},{"text":"impl<'de> Deserialize<'de> for Config","synthetic":false,"types":["cli::types::Config"]},{"text":"impl<'de> Deserialize<'de> for ExternalConfig","synthetic":false,"types":["cli::types::ExternalConfig"]}]; +implementors["cli"] = [{"text":"impl<'de> Deserialize<'de> for Cache","synthetic":false,"types":["cli::types::Cache"]},{"text":"impl<'de> Deserialize<'de> for GlobalConfig","synthetic":false,"types":["cli::types::GlobalConfig"]},{"text":"impl<'de> Deserialize<'de> for Workspace","synthetic":false,"types":["cli::types::Workspace"]},{"text":"impl<'de> Deserialize<'de> for PackageInfo","synthetic":false,"types":["cli::types::PackageInfo"]},{"text":"impl<'de> Deserialize<'de> for CrateDependencyInfo","synthetic":false,"types":["cli::types::CrateDependencyInfo"]},{"text":"impl<'de> Deserialize<'de> for CrateDependency","synthetic":false,"types":["cli::types::CrateDependency"]},{"text":"impl<'de> Deserialize<'de> for CrateInfo","synthetic":false,"types":["cli::types::CrateInfo"]},{"text":"impl<'de> Deserialize<'de> for RustVersionCondition","synthetic":false,"types":["cli::types::RustVersionCondition"]},{"text":"impl<'de> Deserialize<'de> for TaskCondition","synthetic":false,"types":["cli::types::TaskCondition"]},{"text":"impl<'de> Deserialize<'de> for EnvFileInfo","synthetic":false,"types":["cli::types::EnvFileInfo"]},{"text":"impl<'de> Deserialize<'de> for EnvFile","synthetic":false,"types":["cli::types::EnvFile"]},{"text":"impl<'de> Deserialize<'de> for EnvValueScript","synthetic":false,"types":["cli::types::EnvValueScript"]},{"text":"impl<'de> Deserialize<'de> for EnvValueDecode","synthetic":false,"types":["cli::types::EnvValueDecode"]},{"text":"impl<'de> Deserialize<'de> for EnvValueUnset","synthetic":false,"types":["cli::types::EnvValueUnset"]},{"text":"impl<'de> Deserialize<'de> for EnvValueConditioned","synthetic":false,"types":["cli::types::EnvValueConditioned"]},{"text":"impl<'de> Deserialize<'de> for EnvValuePathGlob","synthetic":false,"types":["cli::types::EnvValuePathGlob"]},{"text":"impl<'de> Deserialize<'de> for EnvValue","synthetic":false,"types":["cli::types::EnvValue"]},{"text":"impl<'de> Deserialize<'de> for TestArg","synthetic":false,"types":["cli::types::TestArg"]},{"text":"impl<'de> Deserialize<'de> for InstallCargoPluginInfo","synthetic":false,"types":["cli::types::InstallCargoPluginInfo"]},{"text":"impl<'de> Deserialize<'de> for InstallCrateInfo","synthetic":false,"types":["cli::types::InstallCrateInfo"]},{"text":"impl<'de> Deserialize<'de> for InstallRustupComponentInfo","synthetic":false,"types":["cli::types::InstallRustupComponentInfo"]},{"text":"impl<'de> Deserialize<'de> for InstallCrate","synthetic":false,"types":["cli::types::InstallCrate"]},{"text":"impl<'de> Deserialize<'de> for RunTaskName","synthetic":false,"types":["cli::types::RunTaskName"]},{"text":"impl<'de> Deserialize<'de> for RunTaskDetails","synthetic":false,"types":["cli::types::RunTaskDetails"]},{"text":"impl<'de> Deserialize<'de> for RunTaskRoutingInfo","synthetic":false,"types":["cli::types::RunTaskRoutingInfo"]},{"text":"impl<'de> Deserialize<'de> for RunTaskInfo","synthetic":false,"types":["cli::types::RunTaskInfo"]},{"text":"impl<'de> Deserialize<'de> for WatchOptions","synthetic":false,"types":["cli::types::WatchOptions"]},{"text":"impl<'de> Deserialize<'de> for TaskWatchOptions","synthetic":false,"types":["cli::types::TaskWatchOptions"]},{"text":"impl<'de> Deserialize<'de> for DeprecationInfo","synthetic":false,"types":["cli::types::DeprecationInfo"]},{"text":"impl<'de> Deserialize<'de> for FileScriptValue","synthetic":false,"types":["cli::types::FileScriptValue"]},{"text":"impl<'de> Deserialize<'de> for ScriptSections","synthetic":false,"types":["cli::types::ScriptSections"]},{"text":"impl<'de> Deserialize<'de> for ScriptValue","synthetic":false,"types":["cli::types::ScriptValue"]},{"text":"impl<'de> Deserialize<'de> for Task","synthetic":false,"types":["cli::types::Task"]},{"text":"impl<'de> Deserialize<'de> for ToolchainSpecifier","synthetic":false,"types":["cli::types::ToolchainSpecifier"]},{"text":"impl<'de> Deserialize<'de> for ToolchainBoundedSpecifier","synthetic":false,"types":["cli::types::ToolchainBoundedSpecifier"]},{"text":"impl<'de> Deserialize<'de> for DependencyIdentifier","synthetic":false,"types":["cli::types::DependencyIdentifier"]},{"text":"impl<'de> Deserialize<'de> for TaskIdentifier","synthetic":false,"types":["cli::types::TaskIdentifier"]},{"text":"impl<'de> Deserialize<'de> for PlatformOverrideTask","synthetic":false,"types":["cli::types::PlatformOverrideTask"]},{"text":"impl<'de> Deserialize<'de> for ExtendOptions","synthetic":false,"types":["cli::types::ExtendOptions"]},{"text":"impl<'de> Deserialize<'de> for Extend","synthetic":false,"types":["cli::types::Extend"]},{"text":"impl<'de> Deserialize<'de> for ModifyConfig","synthetic":false,"types":["cli::types::ModifyConfig"]},{"text":"impl<'de> Deserialize<'de> for UnstableFeature","synthetic":false,"types":["cli::types::UnstableFeature"]},{"text":"impl<'de> Deserialize<'de> for ConfigSection","synthetic":false,"types":["cli::types::ConfigSection"]},{"text":"impl<'de> Deserialize<'de> for Config","synthetic":false,"types":["cli::types::Config"]},{"text":"impl<'de> Deserialize<'de> for ExternalConfig","synthetic":false,"types":["cli::types::ExternalConfig"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/api/implementors/serde/ser/trait.Serialize.js b/docs/api/implementors/serde/ser/trait.Serialize.js index 5fb33f9e..1d145b13 100644 --- a/docs/api/implementors/serde/ser/trait.Serialize.js +++ b/docs/api/implementors/serde/ser/trait.Serialize.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["cli"] = [{"text":"impl Serialize for Cache","synthetic":false,"types":["cli::types::Cache"]},{"text":"impl Serialize for GlobalConfig","synthetic":false,"types":["cli::types::GlobalConfig"]},{"text":"impl Serialize for Workspace","synthetic":false,"types":["cli::types::Workspace"]},{"text":"impl Serialize for PackageInfo","synthetic":false,"types":["cli::types::PackageInfo"]},{"text":"impl Serialize for CrateDependencyInfo","synthetic":false,"types":["cli::types::CrateDependencyInfo"]},{"text":"impl Serialize for CrateDependency","synthetic":false,"types":["cli::types::CrateDependency"]},{"text":"impl Serialize for CrateInfo","synthetic":false,"types":["cli::types::CrateInfo"]},{"text":"impl Serialize for RustVersionCondition","synthetic":false,"types":["cli::types::RustVersionCondition"]},{"text":"impl Serialize for TaskCondition","synthetic":false,"types":["cli::types::TaskCondition"]},{"text":"impl Serialize for EnvFileInfo","synthetic":false,"types":["cli::types::EnvFileInfo"]},{"text":"impl Serialize for EnvFile","synthetic":false,"types":["cli::types::EnvFile"]},{"text":"impl Serialize for EnvValueScript","synthetic":false,"types":["cli::types::EnvValueScript"]},{"text":"impl Serialize for EnvValueDecode","synthetic":false,"types":["cli::types::EnvValueDecode"]},{"text":"impl Serialize for EnvValueUnset","synthetic":false,"types":["cli::types::EnvValueUnset"]},{"text":"impl Serialize for EnvValueConditioned","synthetic":false,"types":["cli::types::EnvValueConditioned"]},{"text":"impl Serialize for EnvValuePathGlob","synthetic":false,"types":["cli::types::EnvValuePathGlob"]},{"text":"impl Serialize for EnvValue","synthetic":false,"types":["cli::types::EnvValue"]},{"text":"impl Serialize for TestArg","synthetic":false,"types":["cli::types::TestArg"]},{"text":"impl Serialize for InstallCargoPluginInfo","synthetic":false,"types":["cli::types::InstallCargoPluginInfo"]},{"text":"impl Serialize for InstallCrateInfo","synthetic":false,"types":["cli::types::InstallCrateInfo"]},{"text":"impl Serialize for InstallRustupComponentInfo","synthetic":false,"types":["cli::types::InstallRustupComponentInfo"]},{"text":"impl Serialize for InstallCrate","synthetic":false,"types":["cli::types::InstallCrate"]},{"text":"impl Serialize for RunTaskName","synthetic":false,"types":["cli::types::RunTaskName"]},{"text":"impl Serialize for RunTaskDetails","synthetic":false,"types":["cli::types::RunTaskDetails"]},{"text":"impl Serialize for RunTaskRoutingInfo","synthetic":false,"types":["cli::types::RunTaskRoutingInfo"]},{"text":"impl Serialize for RunTaskInfo","synthetic":false,"types":["cli::types::RunTaskInfo"]},{"text":"impl Serialize for WatchOptions","synthetic":false,"types":["cli::types::WatchOptions"]},{"text":"impl Serialize for TaskWatchOptions","synthetic":false,"types":["cli::types::TaskWatchOptions"]},{"text":"impl Serialize for DeprecationInfo","synthetic":false,"types":["cli::types::DeprecationInfo"]},{"text":"impl Serialize for FileScriptValue","synthetic":false,"types":["cli::types::FileScriptValue"]},{"text":"impl Serialize for ScriptSections","synthetic":false,"types":["cli::types::ScriptSections"]},{"text":"impl Serialize for ScriptValue","synthetic":false,"types":["cli::types::ScriptValue"]},{"text":"impl Serialize for Task","synthetic":false,"types":["cli::types::Task"]},{"text":"impl Serialize for ToolchainSpecifier","synthetic":false,"types":["cli::types::ToolchainSpecifier"]},{"text":"impl Serialize for ToolchainBoundedSpecifier","synthetic":false,"types":["cli::types::ToolchainBoundedSpecifier"]},{"text":"impl Serialize for DependencyIdentifier","synthetic":false,"types":["cli::types::DependencyIdentifier"]},{"text":"impl Serialize for TaskIdentifier","synthetic":false,"types":["cli::types::TaskIdentifier"]},{"text":"impl Serialize for PlatformOverrideTask","synthetic":false,"types":["cli::types::PlatformOverrideTask"]},{"text":"impl Serialize for ExtendOptions","synthetic":false,"types":["cli::types::ExtendOptions"]},{"text":"impl Serialize for Extend","synthetic":false,"types":["cli::types::Extend"]},{"text":"impl Serialize for ModifyConfig","synthetic":false,"types":["cli::types::ModifyConfig"]},{"text":"impl Serialize for UnstableFeature","synthetic":false,"types":["cli::types::UnstableFeature"]},{"text":"impl Serialize for ConfigSection","synthetic":false,"types":["cli::types::ConfigSection"]},{"text":"impl Serialize for Config","synthetic":false,"types":["cli::types::Config"]},{"text":"impl Serialize for ExternalConfig","synthetic":false,"types":["cli::types::ExternalConfig"]},{"text":"impl Serialize for Step","synthetic":false,"types":["cli::types::Step"]}]; +implementors["cli"] = [{"text":"impl Serialize for Cache","synthetic":false,"types":["cli::types::Cache"]},{"text":"impl Serialize for GlobalConfig","synthetic":false,"types":["cli::types::GlobalConfig"]},{"text":"impl Serialize for Workspace","synthetic":false,"types":["cli::types::Workspace"]},{"text":"impl Serialize for PackageInfo","synthetic":false,"types":["cli::types::PackageInfo"]},{"text":"impl Serialize for CrateDependencyInfo","synthetic":false,"types":["cli::types::CrateDependencyInfo"]},{"text":"impl Serialize for CrateDependency","synthetic":false,"types":["cli::types::CrateDependency"]},{"text":"impl Serialize for CrateInfo","synthetic":false,"types":["cli::types::CrateInfo"]},{"text":"impl Serialize for RustVersionCondition","synthetic":false,"types":["cli::types::RustVersionCondition"]},{"text":"impl Serialize for TaskCondition","synthetic":false,"types":["cli::types::TaskCondition"]},{"text":"impl Serialize for EnvFileInfo","synthetic":false,"types":["cli::types::EnvFileInfo"]},{"text":"impl Serialize for EnvFile","synthetic":false,"types":["cli::types::EnvFile"]},{"text":"impl Serialize for EnvValueScript","synthetic":false,"types":["cli::types::EnvValueScript"]},{"text":"impl Serialize for EnvValueDecode","synthetic":false,"types":["cli::types::EnvValueDecode"]},{"text":"impl Serialize for EnvValueUnset","synthetic":false,"types":["cli::types::EnvValueUnset"]},{"text":"impl Serialize for EnvValueConditioned","synthetic":false,"types":["cli::types::EnvValueConditioned"]},{"text":"impl Serialize for EnvValuePathGlob","synthetic":false,"types":["cli::types::EnvValuePathGlob"]},{"text":"impl Serialize for EnvValue","synthetic":false,"types":["cli::types::EnvValue"]},{"text":"impl Serialize for TestArg","synthetic":false,"types":["cli::types::TestArg"]},{"text":"impl Serialize for InstallCargoPluginInfo","synthetic":false,"types":["cli::types::InstallCargoPluginInfo"]},{"text":"impl Serialize for InstallCrateInfo","synthetic":false,"types":["cli::types::InstallCrateInfo"]},{"text":"impl Serialize for InstallRustupComponentInfo","synthetic":false,"types":["cli::types::InstallRustupComponentInfo"]},{"text":"impl Serialize for InstallCrate","synthetic":false,"types":["cli::types::InstallCrate"]},{"text":"impl Serialize for RunTaskName","synthetic":false,"types":["cli::types::RunTaskName"]},{"text":"impl Serialize for RunTaskDetails","synthetic":false,"types":["cli::types::RunTaskDetails"]},{"text":"impl Serialize for RunTaskRoutingInfo","synthetic":false,"types":["cli::types::RunTaskRoutingInfo"]},{"text":"impl Serialize for RunTaskInfo","synthetic":false,"types":["cli::types::RunTaskInfo"]},{"text":"impl Serialize for WatchOptions","synthetic":false,"types":["cli::types::WatchOptions"]},{"text":"impl Serialize for TaskWatchOptions","synthetic":false,"types":["cli::types::TaskWatchOptions"]},{"text":"impl Serialize for DeprecationInfo","synthetic":false,"types":["cli::types::DeprecationInfo"]},{"text":"impl Serialize for FileScriptValue","synthetic":false,"types":["cli::types::FileScriptValue"]},{"text":"impl Serialize for ScriptSections","synthetic":false,"types":["cli::types::ScriptSections"]},{"text":"impl Serialize for ScriptValue","synthetic":false,"types":["cli::types::ScriptValue"]},{"text":"impl Serialize for Task","synthetic":false,"types":["cli::types::Task"]},{"text":"impl Serialize for ToolchainSpecifier","synthetic":false,"types":["cli::types::ToolchainSpecifier"]},{"text":"impl Serialize for ToolchainBoundedSpecifier","synthetic":false,"types":["cli::types::ToolchainBoundedSpecifier"]},{"text":"impl Serialize for DependencyIdentifier","synthetic":false,"types":["cli::types::DependencyIdentifier"]},{"text":"impl Serialize for TaskIdentifier","synthetic":false,"types":["cli::types::TaskIdentifier"]},{"text":"impl Serialize for PlatformOverrideTask","synthetic":false,"types":["cli::types::PlatformOverrideTask"]},{"text":"impl Serialize for ExtendOptions","synthetic":false,"types":["cli::types::ExtendOptions"]},{"text":"impl Serialize for Extend","synthetic":false,"types":["cli::types::Extend"]},{"text":"impl Serialize for ModifyConfig","synthetic":false,"types":["cli::types::ModifyConfig"]},{"text":"impl Serialize for UnstableFeature","synthetic":false,"types":["cli::types::UnstableFeature"]},{"text":"impl Serialize for ConfigSection","synthetic":false,"types":["cli::types::ConfigSection"]},{"text":"impl Serialize for Config","synthetic":false,"types":["cli::types::Config"]},{"text":"impl Serialize for ExternalConfig","synthetic":false,"types":["cli::types::ExternalConfig"]},{"text":"impl Serialize for Step","synthetic":false,"types":["cli::types::Step"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/api/light.css b/docs/api/light.css index ceb83fcc..a71085b0 100644 --- a/docs/api/light.css +++ b/docs/api/light.css @@ -1 +1 @@ - body,#settings-menu #settings,#settings-menu #settings::before{background-color:white;color:black;}.setting-line .radio-line input{border-color:black;}.setting-line .radio-line input:checked{box-shadow:inset 0 0 0 3px white;background-color:#2196f3;}.setting-line .radio-line input:focus{box-shadow:0 0 1px 1px #2196f3;}.setting-line .radio-line input:checked:focus{box-shadow:inset 0 0 0 3px white,0 0 2px 2px #2196f3;}.setting-line .radio-line input:hover{border-color:#2196f3 !important;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:checked+.slider{background-color:#2196F3;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}h1,h2,h3,h4{color:black;}h1.fqn{border-bottom-color:#DDDDDD;}h2,h3,h4{border-bottom-color:#DDDDDD;}.in-band{background-color:white;}.invisible{background:rgba(0,0,0,0);}.docblock code,.docblock-short code{background-color:#F5F5F5;}pre,.rustdoc.source .example-wrap{background-color:#F5F5F5;}.sidebar,.mobile-topbar,.sidebar-menu-toggle{background-color:#F5F5F5;}*{scrollbar-color:rgba(36,37,39,0.6) #e6e6e6;}.sidebar{scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;}.rust-logo{}::-webkit-scrollbar-track{background-color:#ecebeb;}::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar::-webkit-scrollbar-track{background-color:#dcdcdc;}.sidebar::-webkit-scrollbar-thumb{background-color:rgba(36,37,39,0.6);}.sidebar .current,.sidebar a:hover{background-color:#fff;}.source .sidebar{background-color:#f1f1f1;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#FDFFD3 !important;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5,.docblock h6{border-bottom-color:#ddd;}.docblock table td,.docblock table th{border-color:#ddd;}.content .method .where,.content .fn .where,.content .where.fmt-newline{color:#4E4C4C;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#e7b1a0;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#e7b1a0;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#e7b1a0;}a.result-associatedtype:focus{background-color:#afc6e4;}a.result-foreigntype:focus{background-color:#e7b1a0;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#afc6e4;}a.result-primitive:focus{background-color:#e7b1a0;}a.result-keyword:focus{background-color:#afc6e4;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#AD378A;}.content span.struct,.content a.struct,.block a.current.struct{color:#AD378A;}.content span.type,.content a.type,.block a.current.type{color:#AD378A;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#3873AD;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#3873AD;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#AD378A;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#3873AD;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#AD378A;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#3873AD;}.content span.trait,.content a.trait,.block a.current.trait{color:#6E4FC9;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#5137AD;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#AD7C37;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#3873AD;}.sidebar a{color:#356da4;}.sidebar a.current.enum{color:#a63283;}.sidebar a.current.struct{color:#a63283;}.sidebar a.current.type{color:#a63283;}.sidebar a.current.associatedtype{color:#356da4;}.sidebar a.current.foreigntype{color:#356da4;}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{color:#067901;}.sidebar a.current.union{color:#a63283;}.sidebar a.current.constant .sidebar a.current.static{color:#356da4;}.sidebar a.current.primitive{color:#a63283;}.sidebar a.current.externcrate .sidebar a.current.mod{color:#356da4;}.sidebar a.current.trait{color:#6849c3;}.sidebar a.current.traitalias{color:#4b349e;}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{color:#a67736;}.sidebar a.current.keyword{color:#356da4;}nav.main .current{border-top-color:#000;border-bottom-color:#000;}nav.main .separator{border:1px solid #000;}a{color:#3873AD;}a#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,pre.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,.in-band a{color:#000;}.search-results a{color:initial;}a.test-arrow{color:#f5f5f5;}body.source .example-wrap pre.rust a{background:#eee;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before,details.undocumented>summary::before{color:#999;}#crate-search,.search-input{background-color:white;border-color:#e0e0e0 !important;}.search-input:focus{border-color:#66afe9;}.module-item .stab,.import-item .stab{color:#000;}.stab.empty-impl{background:#FFF5D6;border-color:#FFC600;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;}.stab.portability>code{background:none;}#help>div{background:#e9e9e9;border-color:#bfbfbf;}#help span.bottom,#help span.top{border-color:#bfbfbf;}.rightside,.out-of-band{color:grey;}.result-name .primitive>i,.result-name .keyword>i{color:black;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#C82829;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{background-color:rgb(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target{background:#FDFFD3;border-right:3px solid #AD7C37;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#3873AD;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;border-color:#999;}.notable-traits-tooltiptext .notable{border-bottom-color:#DDDDDD;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-menu{background-color:#F5F5F5;border-bottom-color:#e0e0e0;border-right-color:#e0e0e0;}.sidebar-elems{background-color:#F5F5F5;border-right-color:#000;}#sidebar-filler{background-color:#F5F5F5;border-bottom-color:#e0e0e0;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow:inset 0 -1px 0 #c6cbd1;}#settings-menu>a,#help-button{border-color:#e0e0e0;background-color:#fff;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button:hover,#help-button:focus{border-color:#717171;}#settings-menu #settings,#settings-menu #settings::before{border-color:#DDDDDD;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(35%);}#theme-choices{border-color:#ccc;background-color:#fff;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#eee;}.search-results .result-name span.alias{color:#000;}.search-results .result-name span.grey{color:#999;}#sidebar-toggle{background-color:#F5F5F5;}#sidebar-toggle:hover{background-color:#E0E0E0;}#source-sidebar{background-color:#F5F5F5;}#source-sidebar>.title{border-bottom-color:#ccc;}div.files>a:hover,div.name:hover{background-color:#E0E0E0;}div.files>.selected{background-color:#fff;}.scraped-example-list .scrape-help{border-color:#555;color:#333;}.scraped-example-list .scrape-help:hover{border-color:black;color:black;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:#fcffd6;}.scraped-example .example-wrap .rust span.highlight.focus{background:#f6fdb0;}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));}.toggle-line-inner{background:#ccc;}.toggle-line:hover .toggle-line-inner{background:#999;} \ No newline at end of file +:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--sidebar-background-color:#F5F5F5;--sidebar-background-color-hover:#E0E0E0;--code-block-background-color:#F5F5F5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;}.slider{background-color:#ccc;}.slider:before{background-color:white;}input:focus+.slider{box-shadow:0 0 0 2px #0a84ff,0 0 0 6px rgba(10,132,255,0.3);}.in-band{background-color:white;}.rust-logo{}.sidebar .current,.sidebar a:hover{background-color:#fff;}.line-numbers span{color:#c67e2d;}.line-numbers .line-highlighted{background-color:#FDFFD3 !important;}.docblock table td,.docblock table th{border-color:#ddd;}.search-results a:hover{background-color:#ddd;}.search-results a:focus{color:#000 !important;background-color:#ccc;}.search-results a:focus span{color:#000 !important;}a.result-trait:focus{background-color:#c7b6ff;}a.result-traitalias:focus{background-color:#c7b6ff;}a.result-mod:focus,a.result-externcrate:focus{background-color:#afc6e4;}a.result-enum:focus{background-color:#e7b1a0;}a.result-struct:focus{background-color:#e7b1a0;}a.result-union:focus{background-color:#e7b1a0;}a.result-fn:focus,a.result-method:focus,a.result-tymethod:focus{background-color:#c6afb3;}a.result-type:focus{background-color:#e7b1a0;}a.result-associatedtype:focus{background-color:#afc6e4;}a.result-foreigntype:focus{background-color:#e7b1a0;}a.result-attr:focus,a.result-derive:focus,a.result-macro:focus{background-color:#8ce488;}a.result-constant:focus,a.result-static:focus{background-color:#afc6e4;}a.result-primitive:focus{background-color:#e7b1a0;}a.result-keyword:focus{background-color:#afc6e4;}.content .item-info::before{color:#ccc;}.content span.enum,.content a.enum,.block a.current.enum{color:#AD378A;}.content span.struct,.content a.struct,.block a.current.struct{color:#AD378A;}.content span.type,.content a.type,.block a.current.type{color:#AD378A;}.content span.foreigntype,.content a.foreigntype,.block a.current.foreigntype{color:#3873AD;}.content span.associatedtype,.content a.associatedtype,.block a.current.associatedtype{color:#3873AD;}.content span.attr,.content a.attr,.block a.current.attr,.content span.derive,.content a.derive,.block a.current.derive,.content span.macro,.content a.macro,.block a.current.macro{color:#068000;}.content span.union,.content a.union,.block a.current.union{color:#AD378A;}.content span.constant,.content a.constant,.block a.current.constant,.content span.static,.content a.static,.block a.current.static{color:#3873AD;}.content span.primitive,.content a.primitive,.block a.current.primitive{color:#AD378A;}.content span.externcrate,.content span.mod,.content a.mod,.block a.current.mod{color:#3873AD;}.content span.trait,.content a.trait,.block a.current.trait{color:#6E4FC9;}.content span.traitalias,.content a.traitalias,.block a.current.traitalias{color:#5137AD;}.content span.fn,.content a.fn,.block a.current.fn,.content span.method,.content a.method,.block a.current.method,.content span.tymethod,.content a.tymethod,.block a.current.tymethod,.content .fnname{color:#AD7C37;}.content span.keyword,.content a.keyword,.block a.current.keyword{color:#3873AD;}.sidebar a{color:#356da4;}.sidebar a.current.enum{color:#a63283;}.sidebar a.current.struct{color:#a63283;}.sidebar a.current.type{color:#a63283;}.sidebar a.current.associatedtype{color:#356da4;}.sidebar a.current.foreigntype{color:#356da4;}.sidebar a.current.attr,.sidebar a.current.derive,.sidebar a.current.macro{color:#067901;}.sidebar a.current.union{color:#a63283;}.sidebar a.current.constant .sidebar a.current.static{color:#356da4;}.sidebar a.current.primitive{color:#a63283;}.sidebar a.current.externcrate .sidebar a.current.mod{color:#356da4;}.sidebar a.current.trait{color:#6849c3;}.sidebar a.current.traitalias{color:#4b349e;}.sidebar a.current.fn,.sidebar a.current.method,.sidebar a.current.tymethod{color:#a67736;}.sidebar a.current.keyword{color:#356da4;}nav.main .current{border-top-color:#000;border-bottom-color:#000;}nav.main .separator{border:1px solid #000;}a{color:#3873AD;}body.source .example-wrap pre.rust a{background:#eee;}details.rustdoc-toggle>summary.hideme>span,details.rustdoc-toggle>summary::before{color:#999;}#crate-search,.search-input{background-color:white;border-color:#e0e0e0;}#crate-search{border-color:#e0e0e0 !important;}.search-input:focus{border-color:#66afe9;}.stab.empty-impl{background:#FFF5D6;border-color:#FFC600;}.stab.unstable{background:#FFF5D6;border-color:#FFC600;}.stab.deprecated{background:#ffc4c4;border-color:#db7b7b;}.stab.must_implement{background:#F3DFFF;border-color:#b07bdb;}.stab.portability{background:#F3DFFF;border-color:#b07bdb;}.stab.portability>code{background:none;}.rightside,.out-of-band{color:grey;}.line-numbers :target{background-color:transparent;}pre.rust .kw{color:#8959A8;}pre.rust .kw-2,pre.rust .prelude-ty{color:#4271AE;}pre.rust .number,pre.rust .string{color:#718C00;}pre.rust .self,pre.rust .bool-val,pre.rust .prelude-val,pre.rust .attribute,pre.rust .attribute .ident{color:#C82829;}pre.rust .comment{color:#8E908C;}pre.rust .doccomment{color:#4D4D4C;}pre.rust .macro,pre.rust .macro-nonterminal{color:#3E999F;}pre.rust .lifetime{color:#B76514;}pre.rust .question-mark{color:#ff9011;}.example-wrap>pre.line-number{border-color:#c7c7c7;}a.test-arrow{color:#f5f5f5;background-color:rgba(78,139,202,0.2);}a.test-arrow:hover{background-color:#4e8bca;}.toggle-label,.code-attribute{color:#999;}:target{background:#FDFFD3;border-right:3px solid #AD7C37;}pre.compile_fail{border-left:2px solid rgba(255,0,0,.5);}pre.compile_fail:hover,.information:hover+pre.compile_fail{border-left:2px solid #f00;}pre.should_panic{border-left:2px solid rgba(255,0,0,.5);}pre.should_panic:hover,.information:hover+pre.should_panic{border-left:2px solid #f00;}pre.ignore{border-left:2px solid rgba(255,142,0,.6);}pre.ignore:hover,.information:hover+pre.ignore{border-left:2px solid #ff9200;}.tooltip.compile_fail{color:rgba(255,0,0,.5);}.information>.compile_fail:hover{color:#f00;}.tooltip.should_panic{color:rgba(255,0,0,.5);}.information>.should_panic:hover{color:#f00;}.tooltip.ignore{color:rgba(255,142,0,.6);}.information>.ignore:hover{color:#ff9200;}.search-failed a{color:#3873AD;}.tooltip::after{background-color:#000;color:#fff;}.tooltip::before{border-color:transparent black transparent transparent;}.notable-traits-tooltiptext{background-color:#eee;border-color:#999;}.notable-traits-tooltiptext .notable{border-bottom-color:#DDDDDD;}#titles>button:not(.selected){background-color:#e6e6e6;border-top-color:#e6e6e6;}#titles>button:hover,#titles>button.selected{background-color:#ffffff;border-top-color:#0089ff;}#titles>button>div.count{color:#888;}@media (max-width:700px){.sidebar-elems{border-right-color:#000;}}kbd{color:#000;background-color:#fafbfc;border-color:#d1d5da;border-bottom-color:#c6cbd1;box-shadow:inset 0 -1px 0 #c6cbd1;}#settings-menu>a,#help-button>button{border-color:#e0e0e0;background-color:#fff;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>button:hover,#help-button>button:focus{border-color:#717171;}.popover,.popover::before,#help-button span.top,#help-button span.bottom{border-color:#DDDDDD;}#copy-path{color:#999;}#copy-path>img{filter:invert(50%);}#copy-path:hover>img{filter:invert(35%);}#theme-choices{border-color:#ccc;background-color:#fff;}#theme-choices>button:not(:first-child){border-top-color:#e0e0e0;}#theme-choices>button:hover,#theme-choices>button:focus{background-color:#eee;}.search-results .result-name span.alias{color:#000;}.search-results .result-name span.grey{color:#999;}#source-sidebar>.title{border-bottom-color:#ccc;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:#E0E0E0;}#source-sidebar div.files>a.selected{background-color:#fff;}.scraped-example-list .scrape-help{border-color:#555;color:#333;}.scraped-example-list .scrape-help:hover{border-color:black;color:black;}.more-examples-toggle summary,.more-examples-toggle .hide-more{color:#999;}.scraped-example .example-wrap .rust span.highlight{background:#fcffd6;}.scraped-example .example-wrap .rust span.highlight.focus{background:#f6fdb0;}.scraped-example:not(.expanded) .code-wrapper:before{background:linear-gradient(to bottom,rgba(255,255,255,1),rgba(255,255,255,0));}.scraped-example:not(.expanded) .code-wrapper:after{background:linear-gradient(to top,rgba(255,255,255,1),rgba(255,255,255,0));}.toggle-line-inner{background:#ccc;}.toggle-line:hover .toggle-line-inner{background:#999;} \ No newline at end of file diff --git a/docs/api/main.js b/docs/api/main.js index 5657c314..c2141ac5 100644 --- a/docs/api/main.js +++ b/docs/api/main.js @@ -1,8 +1,8 @@ -"use strict";if(!String.prototype.startsWith){String.prototype.startsWith=function(searchString,position){position=position||0;return this.indexOf(searchString,position)===position}}if(!String.prototype.endsWith){String.prototype.endsWith=function(suffix,length){const l=length||this.length;return this.indexOf(suffix,l-suffix.length)!==-1}}if(!DOMTokenList.prototype.add){DOMTokenList.prototype.add=function(className){if(className&&!hasClass(this,className)){if(this.className&&this.className.length>0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}(function(){window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");window.searchJS=resourcePath("search",".js");window.searchIndexJS=resourcePath("search-index",".js");window.settingsJS=resourcePath("settings",".js");const sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,};const mobileLocationTitle=document.querySelector(".mobile-topbar h2.location");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}window.hideSettings=()=>{};function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssFileName){const link=document.createElement("link");link.href=resourcePath(cssFileName,".css");link.type="text/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss("settings");loadScript(window.settingsJS)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(window.searchJS);loadScript(window.searchIndexJS)}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){const search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search);loadSearch()}},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(/^#/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown");handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function getHelpElement(build){if(build){buildHelperPopup()}return document.getElementById("help")}function displayHelp(display,ev,help){if(display){help=help?help:getHelpElement(true);if(hasClass(help,"hidden")){ev.preventDefault();removeClass(help,"hidden");addClass(document.body,"blur")}}else{help=help?help:getHelpElement(false);if(help&&!hasClass(help,"hidden")){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}}function handleEscape(ev){searchState.clearInputTimeout();const help=getHelpElement(false);if(help&&!hasClass(help,"hidden")){displayHelp(false,ev,help)}else{switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault()}searchState.defocus();window.hideSettings()}const disableShortcuts=getSettingValue("disable-shortcuts")==="true";function handleShortcut(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":displayHelp(false,ev);ev.preventDefault();searchState.focus();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":displayHelp(true,ev);break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);window.initSidebarItems=items=>{const sidebar=document.getElementsByClassName("sidebar-elems")[0];let others;const current=window.sidebarCurrent;function addSidebarCrates(crates){if(!hasClass(document.body,"crate")){return}const div=document.createElement("div");div.className="block crate";div.innerHTML="

Crates

";const ul=document.createElement("ul");div.appendChild(ul);for(const crate of crates){let klass="crate";if(window.rootPath!=="./"&&crate===window.currentCrate){klass+=" current"}const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";link.className=klass;link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}others.appendChild(div)}function block(shortty,id,longty){const filtered=items[shortty];if(!filtered){return}const div=document.createElement("div");div.className="block "+shortty;const h3=document.createElement("h3");h3.innerHTML=`${longty}`;div.appendChild(h3);const ul=document.createElement("ul");for(const item of filtered){const name=item[0];const desc=item[1];let klass=shortty;if(name===current.name&&shortty===current.ty){klass+=" current"}let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const link=document.createElement("a");link.href=current.relpath+path;link.title=desc;link.className=klass;link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}div.appendChild(ul);others.appendChild(div)}if(sidebar){others=document.createElement("div");others.className="others";sidebar.appendChild(others);const isModule=hasClass(document.body,"mod");if(!isModule){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}addSidebarCrates(window.ALL_CRATES)}};window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .in-band > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const ignoreExternCrates=document.querySelector("script[data-ignore-extern-crates]").getAttribute("data-ignore-extern-crates");for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct.synthetic?synthetic_implementors:implementors;if(struct.synthetic){for(const struct_type of struct.types){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct.text;addClass(code,"code-header");addClass(code,"in-band");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}let sectionIsCollapsed=false;if(hasClass(innerToggle,"will-expand")){removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")){e.open=true}});innerToggle.title="collapse all docs"}else{addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});sectionIsCollapsed=true;innerToggle.title="expand all docs"}innerToggle.children[0].innerText=labelForToggleButton(sectionIsCollapsed)}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());(function(){let lineNumbersFunc=()=>{};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=x=>{const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{if(hasClass(e,"compile_fail")){e.addEventListener("mouseover",function(){this.parentElement.previousElementSibling.childNodes[0].style.color="#f00"});e.addEventListener("mouseout",function(){this.parentElement.previousElementSibling.childNodes[0].style.color=""})}else if(hasClass(e,"ignore")){e.addEventListener("mouseover",function(){this.parentElement.previousElementSibling.childNodes[0].style.color="#ff9200"});e.addEventListener("mouseout",function(){this.parentElement.previousElementSibling.childNodes[0].style.color=""})}lineNumbersFunc(e)})}());function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick("help-button",ev=>{displayHelp(true,ev)});handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.getElementsByClassName("notable-traits-tooltiptext")[0].classList.toggle("force-tooltip")}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){addClass(sidebar,"shown")}else{removeClass(sidebar,"shown")}})}let buildHelperPopup=()=>{const popup=document.createElement("aside");addClass(popup,"hidden");popup.id="help";popup.addEventListener("click",ev=>{if(ev.target===popup){displayHelp(false,ev)}});const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \ - the rustdoc book.";const container=document.createElement("div");const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
"+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
"+x[1]+"
").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";const infos=["Prefix searches with a type followed by a colon (e.g., fn:) to \ +"use strict";function getVar(name){const el=document.getElementById("rustdoc-vars");if(el){return el.attributes["data-"+name].value}else{return null}}function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}(function(){window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate")}());function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2.location");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssFileName){const link=document.createElement("link");link.href=resourcePath(cssFileName,".css");link.type="text/css";link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}(function(){function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss("settings");loadScript(resourcePath("settings",".js"))};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},hideResults:()=>{switchDisplayedElement(null);document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(resourcePath("search",".js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){const search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search);loadSearch()}},};function getPageId(){if(window.location.hash){const tmp=window.location.hash.replace(/^#/,"");if(tmp.length>0){return tmp}}return null}const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}expandSection(savedHash.slice(1))}}function onHashChange(ev){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown");handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();switchDisplayedElement(null);if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}ev.preventDefault();searchState.defocus();window.hidePopoverMenus()}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const div=document.createElement("div");div.className="block "+shortty;const h3=document.createElement("h3");h3.innerHTML=`${longty}`;div.appendChild(h3);const ul=document.createElement("ul");for(const item of filtered){const name=item[0];const desc=item[1];let klass=shortty;let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();if(path===current_page){klass+=" current"}const link=document.createElement("a");link.href=path;link.title=desc;link.className=klass;link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}div.appendChild(ul);sidebar.appendChild(div)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Definitions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector("h1.fqn > .in-band > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const ignoreExternCrates=document.querySelector("script[data-ignore-extern-crates]").getAttribute("data-ignore-extern-crates");for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.indexOf(lib)!==-1){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct.synthetic?synthetic_implementors:implementors;if(struct.synthetic){for(const struct_type of struct.types){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct.text;addClass(code,"code-header");addClass(code,"in-band");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&href.indexOf("http")!==0){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const div=document.createElement("div");div.className="block crate";div.innerHTML="

Crates

";const ul=document.createElement("ul");div.appendChild(ul);for(const crate of window.ALL_CRATES){let klass="crate";if(window.rootPath!=="./"&&crate===window.currentCrate){klass+=" current"}const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";link.className=klass;link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(div)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}let sectionIsCollapsed=false;if(hasClass(innerToggle,"will-expand")){removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hasClass(e,"type-contents-toggle")){e.open=true}});innerToggle.title="collapse all docs"}else{addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});sectionIsCollapsed=true;innerToggle.title="expand all docs"}innerToggle.children[0].innerText=labelForToggleButton(sectionIsCollapsed)}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("rustdoc-toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}});const pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());(function(){let lineNumbersFunc=()=>{};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=x=>{const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{if(hasClass(e,"compile_fail")){e.addEventListener("mouseover",function(){this.parentElement.previousElementSibling.childNodes[0].style.color="#f00"});e.addEventListener("mouseout",function(){this.parentElement.previousElementSibling.childNodes[0].style.color=""})}else if(hasClass(e,"ignore")){e.addEventListener("mouseover",function(){this.parentElement.previousElementSibling.childNodes[0].style.color="#ff9200"});e.addEventListener("mouseout",function(){this.parentElement.previousElementSibling.childNodes[0].style.color=""})}lineNumbersFunc(e)})}());function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}function handleClick(id,f){const elem=document.getElementById(id);if(elem){elem.addEventListener("click",f)}}handleClick(MAIN_ID,()=>{hideSidebar()});onEachLazy(document.getElementsByTagName("a"),el=>{if(el.hash){el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})}});onEachLazy(document.querySelectorAll(".rustdoc-toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});onEachLazy(document.getElementsByClassName("notable-traits"),e=>{e.onclick=function(){this.getElementsByClassName("notable-traits-tooltiptext")[0].classList.toggle("force-tooltip")}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){addClass(sidebar,"shown")}else{removeClass(sidebar,"shown")}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");book_info.className="top";book_info.innerHTML="You can find more information in \ + the rustdoc book.";const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
"+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
"+x[1]+"
").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";const infos=["Prefix searches with a type followed by a colon (e.g., fn:) to \ restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ enum, trait, type, macro, \ and const.","Search functions by type signature (e.g., vec -> usize or \ - * -> vec)","Search multiple things at once by splitting your query with comma (e.g., \ + -> vec)","Search multiple things at once by splitting your query with comma (e.g., \ str,u8 or String,struct:Vec,test)","You can look for items with an exact name by putting double quotes around \ - your request: \"string\"","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

"+x+"

").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);container.appendChild(rustdoc_version);popup.appendChild(container);insertAfter(popup,document.querySelector("main"));buildHelperPopup=()=>{}};onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){let reset_button_timeout=null;window.copy_path=but=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});const el=document.createElement("textarea");el.value=path.join("::");el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el);but.children[0].style.display="none";let tmp;if(but.childNodes.length<2){tmp=document.createTextNode("✓");but.appendChild(tmp)}else{onEachLazy(but.childNodes,e=>{if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent="✓"}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent="";reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file + your request: \"string\"","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

"+x+"

").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");container.className="popover";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;container.onclick=event=>{event.preventDefault()};help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler;return container}window.hidePopoverMenus=function(){onEachLazy(document.querySelectorAll(".search-container .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hidePopoverMenus();menu.style.display=""}}document.querySelector(`#${HELP_BUTTON_ID} > button`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="BUTTON"||target.parentElement.id!==HELP_BUTTON_ID){return}const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}});setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){let reset_button_timeout=null;window.copy_path=but=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});const el=document.createElement("textarea");el.value=path.join("::");el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el);but.children[0].style.display="none";let tmp;if(but.childNodes.length<2){tmp=document.createTextNode("✓");but.appendChild(tmp)}else{onEachLazy(but.childNodes,e=>{if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent="✓"}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent="";reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/docs/api/makers/all.html b/docs/api/makers/all.html index 8d24abd1..61ff7208 100644 --- a/docs/api/makers/all.html +++ b/docs/api/makers/all.html @@ -1,9 +1 @@ -List of all items in this crate - -

List of all items

Functions

- \ No newline at end of file +List of all items in this crate

List of all items

Functions

\ No newline at end of file diff --git a/docs/api/makers/fn.get_name.html b/docs/api/makers/fn.get_name.html index c9705fad..1bb0d467 100644 --- a/docs/api/makers/fn.get_name.html +++ b/docs/api/makers/fn.get_name.html @@ -1,10 +1 @@ -get_name in makers - Rust - -
-

Function makers::get_name

source · []
pub(crate) fn get_name() -> String
- \ No newline at end of file +get_name in makers - Rust
pub(crate) fn get_name() -> String
\ No newline at end of file diff --git a/docs/api/makers/fn.main.html b/docs/api/makers/fn.main.html index d18309d7..365a7981 100644 --- a/docs/api/makers/fn.main.html +++ b/docs/api/makers/fn.main.html @@ -1,10 +1 @@ -main in makers - Rust - -
-

Function makers::main

source · []
pub(crate) fn main()
- \ No newline at end of file +main in makers - Rust

Function makers::main

source · []
pub(crate) fn main()
\ No newline at end of file diff --git a/docs/api/makers/index.html b/docs/api/makers/index.html index 531622c4..ca026613 100644 --- a/docs/api/makers/index.html +++ b/docs/api/makers/index.html @@ -1,12 +1,4 @@ -makers - Rust - -
-

Crate makers

source · []
Expand description

makers

+makers - Rust
Expand description

makers

Rust task runner and build tool.
The makers executable works the same as cargo-make except that it is not invoked as a cargo sub command.

@@ -15,6 +7,4 @@

Contributing

License

Developed by Sagie Gur-Ari and licensed under the Apache 2 open source license.

-

Functions

-
get_name 🔒
main 🔒
- \ No newline at end of file +

Functions

get_name 🔒
main 🔒
\ No newline at end of file diff --git a/docs/api/makers/sidebar-items.js b/docs/api/makers/sidebar-items.js index 807988d0..935f5d16 100644 --- a/docs/api/makers/sidebar-items.js +++ b/docs/api/makers/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["get_name",""],["main",""]]}); \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":[["get_name",""],["main",""]]}; \ No newline at end of file diff --git a/docs/api/rustdoc.css b/docs/api/rustdoc.css index d21de623..2e22b4cf 100644 --- a/docs/api/rustdoc.css +++ b/docs/api/rustdoc.css @@ -1 +1 @@ - @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:20px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}h1.fqn{margin:0;padding:0;}.main-heading{display:flex;flex-wrap:wrap;justify-content:space-between;padding-bottom:6px;margin-bottom:15px;}.main-heading a:hover{text-decoration:underline;}#toggle-all-docs{text-decoration:none;}h2,.top-doc h3,.top-doc h4{border-bottom:1px solid;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;border-bottom-style:none;margin:0;padding:0;margin-top:0.6em;margin-bottom:0.4em;}.impl,.impl-items .method,.methods .method,.impl-items .type,.methods .type,.impl-items .associatedconstant,.methods .associatedconstant,.impl-items .associatedtype,.methods .associatedtype{flex-basis:100%;font-weight:600;position:relative;}div.impl-items>div{padding-left:0;}h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,.item-left>a,.out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,div.impl-items>div:not(.docblock):not(.item-info),.content ul.crate a.crate,a.srclink,#main-content>ul.docblock>li>a{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p{margin:0 0 .75em 0;}summary{outline:none;}td,th{padding:0;}table{border-collapse:collapse;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}button{padding:1px 6px;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.source main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}.source .width-limiter{max-width:unset;}details:not(.rustdoc-toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;}.docblock.item-decl{margin-left:0;}.item-decl pre{overflow-x:auto;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{max-width:none;overflow:visible;margin-left:0px;}nav.sub{position:relative;font-size:1rem;}.sub-container{display:flex;flex-direction:row;flex-wrap:nowrap;}.sub-logo-container{display:none;margin-right:20px;}.source .sub-logo-container{display:block;}.source .sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.sidebar{font-size:0.875rem;width:250px;min-width:200px;overflow-y:scroll;position:sticky;height:100vh;top:0;left:0;}.sidebar-elems,.sidebar>.location{padding-left:24px;}.sidebar .location{overflow-wrap:anywhere;}.rustdoc.source .sidebar{width:50px;min-width:0px;max-width:300px;flex-grow:0;flex-shrink:0;flex-basis:auto;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.source .sidebar>*:not(#sidebar-toggle){opacity:0;visibility:hidden;}.source .sidebar.expanded{overflow-y:auto;}.source .sidebar.expanded>*:not(#sidebar-toggle){opacity:1;visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.hidden{display:none !important;}.sidebar .logo-container{display:flex;margin-top:10px;margin-bottom:10px;justify-content:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}.location:empty{border:none;}.location a:first-of-type{font-weight:500;}.block{padding:0;}.block ul,.block li{padding:0;margin:0;list-style:none;}.block a,h2.location a{display:block;padding:0.25rem;margin-left:-0.25rem;text-overflow:ellipsis;overflow:hidden;}.sidebar h2{border-bottom:none;font-weight:500;padding:0;margin:0;margin-top:0.7rem;margin-bottom:0.7rem;}.sidebar h3{font-size:1.125rem;font-weight:500;padding:0;margin:0;}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;}.mobile-topbar{display:none;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.example-wrap>pre.rust a:hover{text-decoration:underline;}.line-numbers{text-align:right;}.rustdoc:not(.source) .example-wrap>pre:not(.line-number){width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre.line-numbers{width:auto;overflow-x:visible;}.rustdoc .example-wrap>pre{margin:0;}#search{position:relative;}.search-loading{text-align:center;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.information):not(.more-examples-toggle){max-width:100%;overflow-x:auto;}.content .out-of-band{flex-grow:0;font-size:1.125rem;font-weight:normal;float:right;}.method>.code-header,.trait-impl>.code-header{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;overflow-wrap:break-word;overflow-wrap:anywhere;}.in-band>code,.in-band>.code-header{display:inline-block;}#main-content{position:relative;}#main-content>.since{top:inherit;font-family:"Fira Sans",Arial,sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.125rem;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);overflow-x:auto;display:block;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content>.methods>.method{font-size:1rem;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.875rem;}.content .methods>div:not(.notable-traits):not(.method){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.item-info{display:block;}.content .item-info code{font-size:0.875rem;}.content .item-info{position:relative;margin-left:24px;}.sub-variant>div>.item-info{margin-top:initial;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main-content>.item-info{margin-top:0;margin-left:0;}nav.sub{flex-grow:1;margin-bottom:25px;}.source nav.sub{margin-left:32px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}a{text-decoration:none;background:transparent;}.small-section-header{display:flex;justify-content:space-between;position:relative;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.anchor::before{content:'§';}.docblock a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,.docblock-short a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,.item-info a{text-decoration:underline;}.block a.current.crate{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;}.item-row{display:table-row;}.item-left,.item-right{display:table-cell;}.item-left{padding-right:1.25rem;}.search-container{position:relative;display:flex;height:34px;}.search-container>*{height:100%;}.search-results-title{display:inline;}#search-settings{font-size:1.5rem;font-weight:500;margin-bottom:20px;}#crate-search{min-width:115px;margin-top:5px;margin-left:0.25em;padding-left:0.3125em;padding-right:23px;border:1px solid;border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;background-image:url("down-arrow.svg");}.search-container{margin-top:4px;}.search-input{-webkit-appearance:none;-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:1px solid;border-radius:2px;padding:8px;font-size:1rem;transition:border-color 300ms ease;width:100%;}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;margin:0;font-weight:normal;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{text-align:center;display:block;margin:10px 0;border-bottom:1px solid;padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.item-info .stab{display:inline-block;}.stab{padding:3px;margin-bottom:5px;font-size:0.875rem;font-weight:normal;}.stab p{display:inline;}.stab .emoji{font-size:1.25rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:0.875rem;line-height:1.2;margin-bottom:0;margin-left:0.3125em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{font-weight:normal;font-size:1rem;}.rightside{float:right;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;}.example-wrap:hover .test-arrow{visibility:visible;}a.test-arrow:hover{text-decoration:none;}.code-attribute{font-weight:300;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:1.25rem;}h3.variant{font-weight:600;font-size:1.125rem;margin-bottom:10px;border-bottom:none;}.sub-variant h4{font-size:1rem;font-weight:400;border-bottom:none;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}:target>code,:target>.code-header{opacity:1;}:target{padding-right:3px;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:1rem;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:1.25rem;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:1rem;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .notable{margin:0;margin-bottom:13px;font-size:1.1875rem;font-weight:600;display:block;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:1.25rem;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:1.125rem;cursor:pointer;border:0;border-top:2px solid;}#titles>button:first-child:last-child{margin-right:1px;width:calc(100% - 1px);}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:1rem;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}#sidebar-toggle{position:sticky;top:0;left:0;cursor:pointer;font-weight:bold;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:center;align-items:center;z-index:10;}#source-sidebar{width:100%;z-index:1;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid;margin-bottom:6px;}#settings-menu,#help-button{margin-left:4px;outline:none;}#copy-path{height:34px;}#settings-menu>a,#help-button,#copy-path{padding:5px;width:33px;border:1px solid;border-radius:2px;cursor:pointer;}#settings-menu{padding:0;}#settings-menu>a{padding:5px;width:100%;height:100%;display:block;}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}#help-button{font-family:"Fira Sans",Arial,sans-serif;text-align:center;font-size:20px;padding-top:2px;}#copy-path{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);overflow-wrap:normal;}#theme-choices>button:not(:first-child){border-top:1px solid;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:1rem;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:1.125rem;display:block;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main-content>ul{padding-left:10px;}#main-content>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.625rem;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"";cursor:pointer;width:16px;height:16px;background-repeat:no-repeat;background-position:top left;display:inline-block;vertical-align:middle;opacity:.5;}details.rustdoc-toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.rustdoc-toggle>summary.hideme::after{content:"";}details.rustdoc-toggle>summary:focus::before,details.rustdoc-toggle>summary:hover::before{opacity:1;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-family:'Fira Sans';font-size:1rem;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.undocumented[open] >summary::before,details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{background-image:url("toggle-minus.svg");}details.undocumented>summary::before,details.rustdoc-toggle>summary::before{background-image:url("toggle-plus.svg");}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{width:16px;height:16px;background-repeat:no-repeat;background-position:top left;display:inline-block;content:"";}details.rustdoc-toggle[open] >summary::after,details.rustdoc-toggle[open] >summary.hideme::after{content:"Collapse";}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}.sidebar.expanded+main .width-limiter .sub-logo-container.rust-logo{display:none;}.source .sidebar.expanded{width:300px;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{padding-top:0px;display:block;}main{padding-left:15px;padding-top:0px;}.rustdoc,.main-heading{flex-direction:column;}.content .out-of-band{text-align:left;margin-left:initial;padding:initial;}.content .out-of-band .since::before{content:"Since ";}#copy-path{display:none;}.sidebar .sidebar-logo,.sidebar .location{display:none;}.sidebar-elems{margin-top:1em;}.sidebar{position:fixed;top:45px;left:-1000px;margin-left:0;background-color:rgba(0,0,0,0);margin:0;padding:0;z-index:11;height:calc(100vh - 45px);}.source main,.source .sidebar{top:0;padding:0;}.sidebar.shown,.sidebar.expanded,.sidebar:focus-within{left:0;}.rustdoc.source>.sidebar{position:fixed;margin:0;z-index:11;width:0;}.mobile-topbar .location a{padding:0;margin:0;}.mobile-topbar .location{border:none;padding:0;margin:auto 0.5em auto auto;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:24px;}.mobile-topbar .logo-container{max-height:45px;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin-left:20px;margin-top:5px;margin-bottom:5px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.source .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;}.source nav:not(.sidebar).sub{margin-left:32px;}.content{margin-left:0px;}.source .content{margin-top:10px;}#search{margin-left:0;padding:0;}.anchor{display:none !important;}.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main-content>details.rustdoc-toggle>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}.sidebar.expanded #sidebar-toggle{font-size:1.5rem;}.sidebar:not(.expanded) #sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;border:1px solid;border-left:0;}#source-sidebar{z-index:11;}#main-content>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.item-table{display:block;}.item-row{display:flex;flex-flow:column wrap;}.item-left,.item-right{width:100%;}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description,.item-right{padding-left:2em;}.source .sidebar.expanded{max-width:100vw;width:100vw;}details.rustdoc-toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,#main-content>details.rustdoc-toggle:not(.top-doc)>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}}@media print{nav.sub,.content .out-of-band{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main-content>table:not(.table-display) td{word-break:break-word;width:50%;}#crate-search{border-radius:4px;}.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}.sub-container{flex-direction:column;}.sub-logo-container{align-self:center;}.source .sub-logo-container>img{height:35px;width:35px;}.sidebar:not(.expanded) #sidebar-toggle{top:10px;}}.method-toggle summary,.implementors-toggle summary,.impl{margin-bottom:0.75em;}.method-toggle[open]{margin-bottom:2em;}.implementors-toggle[open]{margin-bottom:2em;}#trait-implementations-list .method-toggle,#synthetic-implementations-list .method-toggle,#blanket-implementations-list .method-toggle{margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;background:transparent;border-width:1px;border-style:solid;border-radius:50px;}.scraped-example-title{font-family:'Fira Sans';}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:240px;}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;max-height:240px;padding-bottom:0;}.scraped-example:not(.expanded) .code-wrapper pre.line-numbers{overflow-x:hidden;}.scraped-example .code-wrapper .prev{position:absolute;top:0.25em;right:2.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .next{position:absolute;top:0.25em;right:1.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .expand{position:absolute;top:0.25em;right:0.25em;z-index:100;cursor:pointer;}.scraped-example:not(.expanded) .code-wrapper:before{content:" ";width:100%;height:5px;position:absolute;z-index:100;top:0;}.scraped-example:not(.expanded) .code-wrapper:after{content:" ";width:100%;height:5px;position:absolute;z-index:100;bottom:0;}.scraped-example .code-wrapper .line-numbers{margin:0;padding:14px 0;}.scraped-example .code-wrapper .line-numbers span{padding:0 14px;}.scraped-example .code-wrapper .example-wrap{flex:1;overflow-x:auto;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .code-wrapper .example-wrap pre.rust{overflow-x:inherit;width:inherit;overflow-y:hidden;}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;margin-bottom:5px;cursor:pointer;}.more-examples-toggle summary,.more-examples-toggle .hide-more{font-family:'Fira Sans';}.more-scraped-examples{margin-left:5px;display:flex;flex-direction:row;}.more-scraped-examples-inner{width:calc(100% - 20px);}.toggle-line{align-self:stretch;margin-right:10px;margin-top:5px;padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;}.more-scraped-examples .scraped-example{margin-bottom:20px;}.more-scraped-examples .scraped-example:last-child{margin-bottom:0;}.example-links a{margin-top:20px;font-family:'Fira Sans';}.example-links ul{margin-bottom:0;} \ No newline at end of file + @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:20px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}h1.fqn{margin:0;padding:0;border-bottom-color:var(--headings-border-bottom-color);}h2,h3,h4{border-bottom-color:var(--headings-border-bottom-color);}.main-heading{display:flex;flex-wrap:wrap;justify-content:space-between;padding-bottom:6px;margin-bottom:15px;}.main-heading a:hover{text-decoration:underline;}#toggle-all-docs{text-decoration:none;}h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;border-bottom-style:none;margin:0;padding:0;margin-top:0.6em;margin-bottom:0.4em;}.impl,.impl-items .method,.methods .method,.impl-items .type,.methods .type,.impl-items .associatedconstant,.methods .associatedconstant,.impl-items .associatedtype,.methods .associatedtype{flex-basis:100%;font-weight:600;position:relative;}div.impl-items>div{padding-left:0;}h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,a.source,.search-input,.search-results .result-name,.content table td:first-child>a,.item-left>a,.out-of-band,span.since,#source-sidebar,#sidebar-toggle,details.rustdoc-toggle>summary::before,div.impl-items>div:not(.docblock):not(.item-info),.content ul.crate a.crate,a.srclink,#main-content>.since,#help-button>button,details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before,.scraped-example-title,.more-examples-toggle summary,.more-examples-toggle .hide-more,.example-links a,#main-content>ul.docblock>li>a{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}h1,h2,h3,h4,a#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,pre.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,.in-band a,.search-results a,.module-item .stab,.import-item .stab,.result-name .primitive>i,.result-name .keyword>i,.content .method .where,.content .fn .where,.content .where.fmt-newline{color:var(--main-color);}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p{margin:0 0 .75em 0;}summary{outline:none;}td,th{padding:0;}table{border-collapse:collapse;}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}button{padding:1px 6px;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.source main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}.source .width-limiter{max-width:unset;}details:not(.rustdoc-toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;}.docblock.item-decl{margin-left:0;}.item-decl pre{overflow-x:auto;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{max-width:none;overflow:visible;margin-left:0px;}nav.sub{position:relative;font-size:1rem;}.sub-container{display:flex;flex-direction:row;flex-wrap:nowrap;}.sub-logo-container{display:none;margin-right:20px;}.source .sub-logo-container{display:block;}.source .sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.sidebar,.mobile-topbar,.sidebar-menu-toggle{background-color:var(--sidebar-background-color);}.sidebar{font-size:0.875rem;width:250px;min-width:200px;overflow-y:scroll;position:sticky;height:100vh;top:0;left:0;}.sidebar-elems,.sidebar>.location{padding-left:24px;}.sidebar .location{overflow-wrap:anywhere;}.rustdoc.source .sidebar{width:50px;min-width:0px;max-width:300px;flex-grow:0;flex-shrink:0;flex-basis:auto;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.rustdoc.source .sidebar .sidebar-logo{display:none;}.source .sidebar,#sidebar-toggle,#source-sidebar{background-color:var(--sidebar-background-color);}#sidebar-toggle>button:hover,#sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.source .sidebar>*:not(#sidebar-toggle){opacity:0;visibility:hidden;}.source-sidebar-expanded .source .sidebar{overflow-y:auto;}.source-sidebar-expanded .source .sidebar>*:not(#sidebar-toggle){opacity:1;visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{display:flex;margin-top:10px;margin-bottom:10px;justify-content:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}.location:empty{border:none;}.location a:first-of-type{font-weight:500;}.block{padding:0;}.block ul,.block li{padding:0;margin:0;list-style:none;}.block a,h2.location a{display:block;padding:0.25rem;margin-left:-0.25rem;text-overflow:ellipsis;overflow:hidden;}.sidebar h2{border-bottom:none;font-weight:500;padding:0;margin:0;margin-top:0.7rem;margin-bottom:0.7rem;}.sidebar h3{font-size:1.125rem;font-weight:500;padding:0;margin:0;}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;}.mobile-topbar{display:none;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc .example-wrap{display:inline-flex;margin-bottom:10px;}.example-wrap{position:relative;width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;padding:13px 8px;text-align:right;border-top-left-radius:5px;border-bottom-left-radius:5px;}.example-wrap>pre.rust a:hover{text-decoration:underline;}.line-numbers{text-align:right;}.rustdoc:not(.source) .example-wrap>pre:not(.line-number){width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre.line-numbers{width:auto;overflow-x:visible;}.rustdoc .example-wrap>pre{margin:0;}#search{position:relative;}.search-loading{text-align:center;}#results>table{width:100%;table-layout:fixed;}.content>.example-wrap pre.line-numbers{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock>:not(pre)>code,.docblock-short>:not(pre)>code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5,.docblock h6{border-bottom-color:var(--headings-border-bottom-color);}.docblock{margin-left:24px;position:relative;}.docblock>:not(.information):not(.more-examples-toggle){max-width:100%;overflow-x:auto;}.content .out-of-band{flex-grow:0;font-size:1.125rem;font-weight:normal;float:right;}.method>.code-header,.trait-impl>.code-header{max-width:calc(100% - 41px);display:block;}.content .in-band{flex-grow:1;margin:0px;padding:0px;overflow-wrap:break-word;overflow-wrap:anywhere;}.in-band>code,.in-band>.code-header{display:inline-block;}.docblock code,.docblock-short code,pre,.rustdoc.source .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}#main-content>.since{top:inherit;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.125rem;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);overflow-x:auto;display:block;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content>.methods>.method{font-size:1rem;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.875rem;}.content .methods>div:not(.notable-traits):not(.method){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.item-info{display:block;}.content .item-info code{font-size:0.875rem;}.content .item-info{position:relative;margin-left:24px;}.sub-variant>div>.item-info{margin-top:initial;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main-content>.item-info{margin-top:0;margin-left:0;}nav.sub{flex-grow:1;margin-bottom:25px;}.source nav.sub{margin-left:32px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}a{text-decoration:none;background:transparent;}.small-section-header{display:flex;justify-content:space-between;position:relative;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor,.method.trait-impl:hover>.anchor,.type.trait-impl:hover>.anchor,.associatedconstant.trait-impl:hover>.anchor,.associatedtype.trait-impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.anchor::before{content:'§';}.docblock a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,.docblock-short a:not(.srclink):not(.test-arrow):not(.scrape-help):hover,.item-info a{text-decoration:underline;}.block a.current.crate{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;}.item-row{display:table-row;}.item-left,.item-right{display:table-cell;}.item-left{padding-right:1.25rem;}.search-container{position:relative;display:flex;height:34px;}.search-container>*{height:100%;}.search-results-title{display:inline;}#search-settings{font-size:1.5rem;font-weight:500;margin-bottom:20px;}#crate-search{min-width:115px;margin-top:5px;padding-left:0.15em;padding-right:23px;border:1px solid;border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;background-image:url("down-arrow.svg");max-width:100%;text-overflow:ellipsis;}.search-container{margin-top:4px;}.search-input{-webkit-appearance:none;-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:1px solid;border-radius:2px;padding:8px;font-size:1rem;width:100%;}.search-results{display:none;padding-bottom:2em;}.search-results.active{display:block;clear:both;}.search-results .desc>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results>a{display:block;width:100%;margin-left:2px;margin-right:2px;border-bottom:1px solid #aaa3;}.search-results>a>div{display:flex;flex-flow:row wrap;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:50%;}.search-results .result-name{padding-right:1em;}.search-results .result-name>span{display:inline-block;margin:0;font-weight:normal;}.popover{font-size:1rem;position:absolute;right:0;z-index:2;display:block;margin-top:7px;border-radius:3px;border:1px solid;font-size:1rem;}.popover::before{content:'';position:absolute;right:11px;border:solid;border-width:1px 1px 0 0;display:inline-block;padding:4px;transform:rotate(-45deg);top:-5px;}.popover,.popover::before{background-color:var(--main-background-color);color:var(--main-color);}#help-button .popover{max-width:600px;}#help-button .popover::before{right:48px;}#help-button dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help-button span.top,#help-button span.bottom{text-align:center;display:block;font-size:1.125rem;}#help-button span.top{text-align:center;display:block;margin:10px 0;border-bottom:1px solid;padding-bottom:4px;margin-bottom:6px;}#help-button span.bottom{clear:both;border-top:1px solid;}.side-by-side{text-align:initial;}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{width:fit-content;min-height:36px;display:flex;align-items:center;white-space:pre-wrap;}.stab{padding:3px;margin-bottom:5px;font-size:0.875rem;font-weight:normal;}.stab p{display:inline;margin:0;}.stab .emoji{font-size:1.25rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.module-item .stab,.import-item .stab{border-radius:3px;display:inline-block;font-size:0.875rem;line-height:1.2;margin-bottom:0;margin-left:0.3125em;padding:2px;vertical-align:text-bottom;}.module-item.unstable,.import-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{font-weight:normal;font-size:1rem;}.rightside{float:right;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;}.example-wrap:hover .test-arrow{visibility:visible;}a.test-arrow:hover{text-decoration:none;}.code-attribute{font-weight:300;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:1.25rem;}h3.variant{font-weight:600;font-size:1.125rem;margin-bottom:10px;border-bottom:none;}.sub-variant h4{font-size:1rem;font-weight:400;border-bottom:none;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}:target>code,:target>.code-header{opacity:1;}:target{padding-right:3px;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:1rem;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:1.25rem;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:1rem;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .notable{margin:0;margin-bottom:13px;font-size:1.1875rem;font-weight:600;display:block;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:1.25rem;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:1.125rem;cursor:pointer;border:0;border-top:2px solid;}#titles>button:first-child:last-child{margin-right:1px;width:calc(100% - 1px);}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:1rem;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}#sidebar-toggle{position:sticky;top:0;left:0;font-weight:bold;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:center;align-items:center;z-index:10;}#source-sidebar{width:100%;z-index:1;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid;margin-bottom:6px;}#sidebar-toggle>button{background:none;color:inherit;cursor:pointer;text-align:center;border:none;outline:none;position:absolute;top:0;bottom:0;left:0;right:0;width:100%;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;outline:none;}#copy-path{height:34px;}#settings-menu>a,#help-button>button,#copy-path{padding:5px;width:33px;border:1px solid;border-radius:2px;cursor:pointer;}#settings-menu{padding:0;}#settings-menu>a,#help-button>button{padding:5px;height:100%;display:block;}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}.setting-line .radio-line input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-line .radio-line input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-line .radio-line input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-line .radio-line input:hover{border-color:var(--settings-input-color) !important;}input:checked+.slider{background-color:var(--settings-input-color);}#help-button>button{text-align:center;font-size:20px;padding-top:2px;}#copy-path{background:initial;margin-left:10px;padding:0;padding-left:2px;border:0;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);overflow-wrap:normal;}#theme-choices>button:not(:first-child){border-top:1px solid;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:1rem;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:1.125rem;display:block;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main-content>ul{padding-left:10px;}#main-content>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 13px;list-style-position:outside;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.rustdoc-toggle>summary.hideme{cursor:pointer;}details.rustdoc-toggle>summary{list-style:none;}details.rustdoc-toggle>summary::-webkit-details-marker,details.rustdoc-toggle>summary::marker{display:none;}details.rustdoc-toggle>summary.hideme>span{margin-left:9px;}details.rustdoc-toggle>summary::before{content:"";cursor:pointer;width:16px;height:16px;background-repeat:no-repeat;background-position:top left;display:inline-block;vertical-align:middle;opacity:.5;}details.rustdoc-toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.rustdoc-toggle>summary.hideme::after{content:"";}details.rustdoc-toggle>summary:focus::before,details.rustdoc-toggle>summary:hover::before{opacity:1;}details.rustdoc-toggle.top-doc>summary,details.rustdoc-toggle.top-doc>summary::before,details.rustdoc-toggle.non-exhaustive>summary,details.rustdoc-toggle.non-exhaustive>summary::before{font-size:1rem;}details.non-exhaustive{margin-bottom:8px;}details.rustdoc-toggle>summary.hideme::before{position:relative;}details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.rustdoc-toggle[open] >summary.hideme{position:absolute;}details.rustdoc-toggle{position:relative;}details.rustdoc-toggle[open] >summary.hideme>span{display:none;}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{background-image:url("toggle-minus.svg");}details.rustdoc-toggle>summary::before{background-image:url("toggle-plus.svg");}details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle[open] >summary.hideme::before{width:16px;height:16px;background-repeat:no-repeat;background-position:top left;display:inline-block;content:"";}details.rustdoc-toggle[open] >summary::after,details.rustdoc-toggle[open] >summary.hideme::after{content:"Collapse";}.docblock summary>*{display:inline-block;}@media (min-width:701px){.docblock>.information:first-child>.tooltip{margin-top:16px;}.source-sidebar-expanded .source .sidebar+main .width-limiter .sub-logo-container.rust-logo{display:none;}.source-sidebar-expanded .source .sidebar{width:300px;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{padding-top:0px;display:block;}main{padding-left:15px;padding-top:0px;}.rustdoc,.main-heading{flex-direction:column;}.content .out-of-band{text-align:left;margin-left:initial;padding:initial;}.content .out-of-band .since::before{content:"Since ";}#copy-path{display:none;}.sidebar .sidebar-logo,.sidebar .location{display:none;}.sidebar-elems{margin-top:1em;}.sidebar{position:fixed;top:45px;left:-1000px;margin-left:0;margin:0;padding:0;z-index:11;height:calc(100vh - 45px);}.source main,.rustdoc.source .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.source-sidebar-expanded .source .sidebar,.sidebar:focus-within{left:0;}.rustdoc.source>.sidebar{position:fixed;margin:0;z-index:11;width:0;}.mobile-topbar .location a{padding:0;margin:0;}.mobile-topbar .location{border:none;padding:0;margin:auto 0.5em auto auto;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:24px;}.mobile-topbar .logo-container{max-height:45px;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin-left:20px;margin-top:5px;margin-bottom:5px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.source .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;}.sidebar-elems{background-color:var(--sidebar-background-color);}.source nav:not(.sidebar).sub{margin-left:32px;}.content{margin-left:0px;}.source .content{margin-top:10px;}#search{margin-left:0;padding:0;}.anchor{display:none !important;}.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}#main-content>details.rustdoc-toggle>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}#sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;border:1px solid;border-left:0;}.source-sidebar-expanded #sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#source-sidebar{z-index:11;}#main-content>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}#help-button{display:none;}.item-table{display:block;}.item-row{display:flex;flex-flow:column wrap;}.item-left,.item-right{width:100%;}.search-results>a{border-bottom:1px solid #aaa9;padding:5px 0px;}.search-results .result-name,.search-results div.desc,.search-results .result-description{width:100%;}.search-results div.desc,.search-results .result-description,.item-right{padding-left:2em;}.source-sidebar-expanded .source .sidebar{max-width:100vw;width:100vw;}details.rustdoc-toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.rustdoc-toggle>summary:not(.hideme)::before,#main-content>details.rustdoc-toggle:not(.top-doc)>summary::before,#main-content>div>details.rustdoc-toggle>summary::before{left:-11px;}}@media print{nav.sidebar,nav.sub,.content .out-of-band,a.srclink,#copy-path,details.rustdoc-toggle[open] >summary::before,details.rustdoc-toggle>summary::before,details.rustdoc-toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main-content>table:not(.table-display) td{word-break:break-word;width:50%;}#crate-search{border-radius:4px;}.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}.sub-container{flex-direction:column;}.sub-logo-container{align-self:center;}.source .sub-logo-container>img{height:35px;width:35px;}#sidebar-toggle{top:10px;}.source-sidebar-expanded #sidebar-toggle{top:unset;}}.method-toggle summary,.implementors-toggle summary,.impl{margin-bottom:0.75em;}.method-toggle[open]{margin-bottom:2em;}.implementors-toggle[open]{margin-bottom:2em;}#trait-implementations-list .method-toggle,#synthetic-implementations-list .method-toggle,#blanket-implementations-list .method-toggle{margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;background:transparent;border-width:1px;border-style:solid;border-radius:50px;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:240px;}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;max-height:240px;padding-bottom:0;}.scraped-example:not(.expanded) .code-wrapper pre.line-numbers{overflow-x:hidden;}.scraped-example .code-wrapper .prev{position:absolute;top:0.25em;right:2.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .next{position:absolute;top:0.25em;right:1.25em;z-index:100;cursor:pointer;}.scraped-example .code-wrapper .expand{position:absolute;top:0.25em;right:0.25em;z-index:100;cursor:pointer;}.scraped-example:not(.expanded) .code-wrapper:before{content:" ";width:100%;height:5px;position:absolute;z-index:100;top:0;}.scraped-example:not(.expanded) .code-wrapper:after{content:" ";width:100%;height:5px;position:absolute;z-index:100;bottom:0;}.scraped-example .code-wrapper .line-numbers{margin:0;padding:14px 0;}.scraped-example .code-wrapper .line-numbers span{padding:0 14px;}.scraped-example .code-wrapper .example-wrap{flex:1;overflow-x:auto;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .code-wrapper .example-wrap pre.rust{overflow-x:inherit;width:inherit;overflow-y:hidden;}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;margin-bottom:5px;cursor:pointer;}.more-scraped-examples{margin-left:5px;display:flex;flex-direction:row;}.more-scraped-examples-inner{width:calc(100% - 20px);}.toggle-line{align-self:stretch;margin-right:10px;margin-top:5px;padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;}.more-scraped-examples .scraped-example{margin-bottom:20px;}.more-scraped-examples .scraped-example:last-child{margin-bottom:0;}.example-links a{margin-top:20px;}.example-links ul{margin-bottom:0;} \ No newline at end of file diff --git a/docs/api/search-index.js b/docs/api/search-index.js index 338d0d40..9acc7548 100644 --- a/docs/api/search-index.js +++ b/docs/api/search-index.js @@ -1,7 +1,7 @@ var searchIndex = JSON.parse('{\ -"cargo_make":{"doc":"cargo-make","t":[5,5],"n":["get_name","main"],"q":["cargo_make",""],"d":["",""],"i":[0,0],"f":[[[],["string",3]],[[]]],"p":[]},\ -"cli":{"doc":"cargo-make","t":[5,0,13,13,13,13,3,13,3,3,13,3,3,4,3,3,13,13,13,13,4,4,13,13,4,3,3,4,3,3,3,3,3,3,4,3,3,13,3,3,3,3,13,13,3,4,3,3,13,13,13,3,13,13,13,13,13,13,3,13,13,13,3,13,13,3,4,4,3,3,13,13,3,4,13,13,13,13,3,3,3,3,4,3,13,3,4,13,4,13,13,13,3,3,12,12,12,12,12,11,11,11,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,12,11,11,11,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,12,12,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,12,12,12,12,12,12,11,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12],"n":["run_cli","types","Boolean","Boolean","Boolean","Bounded","Cache","CargoPluginInfo","CliArgs","CommandSpec","Conditional","Config","ConfigSection","CrateDependency","CrateDependencyInfo","CrateInfo","CrateInfo","CtrlCHandling","Decode","Definition","DependencyIdentifier","DeprecationInfo","Details","Enabled","EnvFile","EnvFileInfo","EnvInfo","EnvValue","EnvValueConditioned","EnvValueDecode","EnvValuePathGlob","EnvValueScript","EnvValueUnset","ExecutionPlan","Extend","ExtendOptions","ExternalConfig","File","FileScriptValue","FlowInfo","FlowState","GlobalConfig","Info","Info","InstallCargoPluginInfo","InstallCrate","InstallCrateInfo","InstallRustupComponentInfo","List","List","Message","ModifyConfig","Multiple","Name","Name","Number","Options","Options","PackageInfo","Path","Path","PathGlob","PlatformOverrideTask","Profile","Routing","RunTaskDetails","RunTaskInfo","RunTaskName","RunTaskRoutingInfo","RustVersionCondition","RustupComponentInfo","Script","ScriptSections","ScriptValue","Sections","Simple","Single","SingleLine","Step","Task","TaskCondition","TaskIdentifier","TaskWatchOptions","TestArg","Text","ToolchainBoundedSpecifier","ToolchainSpecifier","Unset","UnstableFeature","Value","Value","Version","WatchOptions","Workspace","absolute_path","additional_profiles","alias","allow_private","allow_private","apply","apply","apply","args","args","args","arguments","base_path","binary","binary","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_file","category","channel","channel","channels","ci_info","cleanup_task","cleanup_task","clear","clear","cli_arguments","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","command","command","command","command","condition","condition","condition","condition","condition","condition_script","condition_script","condition_script","config","config","config","config","crate_info","crate_name","crate_name","cwd","cwd","cwd","default","default","default","default","default","default","default","default","default","default_task_name","default_to_workspace","default_value","defaults_only","dependencies","dependencies","dependencies","deprecated","deprecated","deref","deref_mut","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","diff_execution_plan","disable_check_for_updates","disable_color","disable_color","disable_on_error","disable_on_error","disable_workspace","disable_workspace","disabled","disabled","documentation","end_task","env","env","env","env","env","env","env_contains","env_false","env_file","env_files","env_files","env_files","env_files","env_info","env_not_set","env_scripts","env_scripts","env_set","env_true","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equal","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","exclude","experimental","extend","extend","extend","extend","extend","extend","fail_message","file","file_name","file_name","files_exist","files_not_exist","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","force","force","forced_plugin","fork","fork","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_name","get_actions_count","get_alias","get_load_script","get_namespace_prefix","get_normalized_task","get_platform_name","git_info","glob","hash","homepage","ignore_errors","ignore_errors","ignore_pattern","ignore_type","include_dirs","include_files","init_task","inner","install_command","install_command","install_crate","install_crate","install_crate_args","install_crate_args","install_script","install_script","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","is_actionable","is_env_set","is_modifications_defined","is_valid","last_update_check","legacy_migration_task","license","linux","linux_alias","linux_load_script","list_all_steps","list_category_steps","load_cargo_aliases","load_script","log_level","log_level","mac","mac_alias","mac_load_script","main","main_project_member","mapping","max","members","min","min_version","min_version","min_version","min_version","min_version","modify_core_tasks","multi_line","name","name","name","name","name","name","namespace","ne","ne","ne","ne","ne","ne","new","new","new","new","new","new","new","new","new","new","new","no_git_ignore","on_error_task","optional","output_file","output_format","package","parallel","parallel","path","path","path","path","platforms","plugin","plugin","plugins","plugins","post","postpone","pre","print_only","print_time_summary","private","private","private","profile","profile","profiles","reduce_output","repository","run_task","run_task","rust_info","rust_version","rustup_component_name","rustup_component_name","script","script","script","script_extension","script_extension","script_runner","script_runner","script_runner_args","script_runner_args","search_project_root","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","should_ignore_errors","skip_core_tasks","skip_crate_env_info","skip_git_env_info","skip_init_end_tasks","skip_init_end_tasks","skip_rust_env_info","skip_tasks_pattern","skip_tasks_pattern","source","steps","task","task","tasks","tasks","test_arg","test_arg","time_summary","time_summary","to_env_name","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","toolchain","toolchain","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unset","unstable_features","update_check_minimum_interval","value","version","version","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","watch","watch","watch","windows","windows_alias","windows_load_script","with_namespace","workspace","workspace","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"],"q":["cli","","cli::types","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cli::types::CrateDependency","","cli::types::DependencyIdentifier","","cli::types::DeprecationInfo","","cli::types::EnvFile","","cli::types::EnvValue","","","","","","","","","","cli::types::Extend","","","cli::types::InstallCrate","","","","","cli::types::RunTaskInfo","","","cli::types::RunTaskName","","cli::types::ScriptValue","","","","cli::types::TaskWatchOptions","","cli::types::ToolchainSpecifier",""],"d":["Handles the command line arguments and executes the runner.","types","The value as boolean","True/False to enable/disable watch","True/False flag (true is deprecated)","A toolchain with a minimum version bound","Holds persisted data used by cargo-make","Install cargo plugin info","Holds CLI args","Command info","Conditional env value","Holds the entire configuration such as task definitions …","Holds the configuration found in the makefile toml config …","Holds crate dependency info.","Holds crate dependency info.","Holds crate information loaded from the Cargo.toml file.","Install crate params","Gracefully shutdown and then kill the running command on …","Env decoding info","A full dependency definion (potentially in a different …","A dependency, defined either as a string or as a …","Holds deprecation info such as true/false/message","Run Task Info","Enables to prevent installation flow","Holds the env file path and attributes","Env file path and attributes","Holds env information","Holds the env value or script","Env value set if condition is met","Env value provided by decoding other values","Env value holding a list of paths based on given glob …","Env value provided by a script","Enables to unset env variables","Execution plan which defines all steps to run and the …","Holds makefile extend value","Extend with more fine tuning options","Holds the entire externally read configuration such as …","Script file name","Script file name","Holds flow information","Holds mutable flow state","Holds configuration info for cargo-make","Hold dependency info","Extended info object for env file","Holds instructions how to install the cargo plugin","Install crate name or params","Holds instructions how to install the crate","Holds instructions how to install a rustup component","The value as a list of strings","Multiple extends list","Deprecation message","Holds properties to modify the core tasks","Multiple task names","Task name","A string dependency definition (its name in the current …","The value as number","Extended configuration for watch","Extend options for more fine tune control","Holds crate package information loaded from the Cargo.toml …","The file path as string","Path to another makefile","Path glob","Holds a single task configuration for a specific platform …","Profile env","Task conditional selector","Holds the run task information","Run task info","Holds the run task name/s","Holds the run task routing information","Rust version condition structure","Install rustup component params","Script which will return the value","Script content split to parts to enable a more fine tuned …","Script value (text, file name, …)","Script content split to multiple parts to enable fine …","A string specifying the channel name of the toolchain","Single task name","The script text as single line","Execution plan step to execute","Holds a single task configuration such as command and …","Holds condition attributes","An identifier for a task","Holds watch options or simple true/false value","Arguments used to check whether a crate or rustup …","The script text lines","A toolchain with a minimum version bound","A toolchain, defined either as a string (following the …","Unset env","Unstable cargo-make feature","The value as string","The value as string","Holds the dependency version","Holds watch options","Holds crate workspace info, see …","True for absolute path (default false)","Additional profile names to load","if defined, task points to another task and all other …","Allow invocation of private tasks","Allow invocation of private tasks","Apply modifications","Apply modifications","Apply modifications","The command args","The command args","The command args","additional command line arguments","The path base directory (relative paths are from this base …","The binary file name to be used to test if the crate is …","The binary file name to be used to test if the crate is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The external Makefile.toml path","Category name used to document the task","Return the channel of the toolchain to look for","The channel of the toolchain to use","Channel names (stable, beta, nightly)","CI info","Cleanup task name","Cleanup task name","if true, it should ignore all data in base task","if true, it should ignore all data in base task","additional command line arguments","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The command name","The command to execute","The command to execute","The command to execute","The condition to validate","The condition to validate","if provided all condition values must be met in order for …","if provided all condition values must be met in order for …","if provided all condition values must be met in order for …","if script exit code is not 0, the task will not be invoked","if script exit code is not 0, the command/script of this …","if script exit code is not 0, the command/script of this …","The flow config object","Runtime config","Runtime config","The task config","Crate info","The provided crate to install","The provided crate to install","Current working directory","The working directory for the task to execute its …","The working directory for the task to execute its …","","","","","","","","","","Default task name","The task.workspace default value","The default value in case no decode mapping was found, if …","If true, only set the env vars if not already defined","crate dependencies","A list of tasks to execute before this task","A list of tasks to execute before this task","if not false, this task is defined as deprecated","if not false, this task is defined as deprecated","","","description","Task description","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Diff flows","Disables the update check during startup","Disables colorful output","Default output coloring","Prevent on error flow even if defined in config section","Prevent on error flow even if defined in config section","Prevent workspace support","Prevent workspace support","if true, the command/script of this task will not be …","if true, the command/script of this task will not be …","documentation link","End task name which will be invoked at the end of every run","Environment variables","Environment variables and their values","The env vars to setup before running the task commands","The env vars to setup before running the task commands","The env vars to setup before running the flow","The env vars to setup before running the flow","Environment variables and the values which they are …","Environment variables which are defined as false","Environment variables file","The env files to setup before running the task commands","The env files to setup before running the task commands","The env files to setup before running the flow","The env files to setup before running the flow","The env info","Environment variables which must not be defined","The env scripts to execute before running the flow","The env scripts to execute before running the flow","Environment variables which must be defined","Environment variables which are defined as true","","","","","","","","","","","","","","","specific version number","","","","","","","exclude paths","Allows access unsupported experimental predefined tasks","Copies values from the task into self.","Copies values from the task into self.","Copies values from the config section into self.","Extend any task based on the defined name","Extend any task based on the defined name","Path to another toml file to extend","Failure message","Script file name","File from which the cache file was loaded from","File from which the global config was loaded from","Files exist","Files which do not exist","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","DEPRECATED, replaced with ignore_errors","DEPRECATED, replaced with ignore_errors","forced plugin name","True to fork the task to a new sub process","True to fork the task to a new sub process","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create a new TaskIdentifier referencing a task in the …","Returns the amount of actions defined on the task","Returns the alias value based on the current platform and …","Returns the load script based on the current platform","Returns the namespace prefix for task names","Returns a new task based on the override information and …","Returns the platform name","Git info","The glob used to fetch all paths","","homepage link","if true, any error while executing the task will be …","if true, any error while executing the task will be …","Ignore a glob/gitignore-style pattern","Enables to respect ignore files","True to include directories (default is true if undefined)","True to include files (default is true if undefined)","Init task name which will be invoked at the start of every …","Content of the arguments","Optional alternate ‘install’ command","Optional alternate ‘install’ command","if defined, the provided crate will be installed (if …","if defined, the provided crate will be installed (if …","additional cargo install arguments","additional cargo install arguments","if defined, the provided script will be executed before …","if defined, the provided script will be executed before …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns true if the task has any actions on its own or if …","Is the corresponding env. variable set?","Returns true if config modifications is needed based on …","Returns true if the task is valid","Holds last update check with returned no updates result","The name of the task which runs legacy migration flows","license","override task if runtime OS is Linux (takes precedence …","acts like alias if runtime OS is Linux (takes precedence …","acts like load_script if runtime OS is Linux (takes …","List all known steps","List steps for a given category","Automatically load cargo aliases as cargo-make tasks","Invoked while loading the descriptor file but before …","Log level name","Default log level","override task if runtime OS is Mac (takes precedence over …","acts like alias if runtime OS is Mac (takes precedence …","acts like load_script if runtime OS is Mac (takes …","Script section","The project information member (used by workspaces)","The decoding mapping","max version number","members paths","min version number","Return the minimal version, if any, to look for","Minimal version","Minimal version","The minimum version to match","Minimum cargo-make/makers version","Modify core tasks config","True/False to enable multi line env values","Get the name of a dependency","name","The task name","The task name","The task name to execute","The task name","If set to some value, all core tasks are modified to: …","","","","","","","Creates and returns a new instance.","Returns new instance","Returns new instance","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Do not use .gitignore files","The name of the task to run in case of any error during …","Enable optional extend (default to false)","Output file name","Output format","package info","True to run all tasks in parallel (default false)","True to run all tasks in parallel (default false)","Holds the dependency path","The file path as string","The path to the makefile the task resides in","Path to another makefile","Platform names (linux, windows, mac)","Optional plugin used to execute the task","Optional plugin used to execute the task","All plugin definitions","All plugin definitions","Script section","Postpone first run until a file changes","Script section","Only print the execution plan","Print time summary at end of the flow","if true, the task is hidden from the list of available …","if true, the task is hidden from the list of available …","If true, all core tasks will be set to private (default …","The profile name","The profile name this file is relevant to","Profile names (development, …)","True to reduce console output for non CI execution","repository link","The task name to execute","The task name to execute","Rust info","Rust version condition","If defined, the component to install via rustup","The component to install via rustup","The script to execute to get the env value","If command is not defined, and script is defined, the …","If command is not defined, and script is defined, the …","The script file extension","The script file extension","The script runner (defaults to cmd in windows and sh for …","The script runner (defaults to cmd in windows and sh for …","The script runner arguments before the script file path","The script runner arguments before the script file path","True to search for project root in parent directories if …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns true if the task ignore_errors attribute is …","If true, the default core tasks will not be loaded","do not load current crate env info (save on perf)","do not load git env info (save on perf)","If true, the init and end tasks are skipped","If true, the init and end tasks are skipped","do not load rust env info (save on perf)","Skip tasks that match the provided pattern","Skip tasks that match the provided pattern","The source value (can be an env expression)","A list of steps to execute","The task to invoke","The main task of the flow","All task definitions","All task definitions","Test arguments that will be used to check that the crate …","Test argument that will be used to check that the crate is …","timing info for summary","True to print time summary at the end of the flow","Creates the env. variable name associated to the feature","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The rust toolchain used to invoke the command or install …","The rust toolchain used to invoke the command or install …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","If true, the env variable will be unset, else ignored","Enables unstable cargo-make features","Update check minimum time from the previous check (always, …","The value to set (can be an env expression)","version","Exact version","Watch version to install if not already installed","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Select which files/folders to watch","set to true to watch for file changes and invoke the task …","set to true to watch for file changes and invoke the task …","override task if runtime OS is Windows (takes precedence …","acts like alias if runtime OS is Windows (takes precedence …","acts like load_script if runtime OS is Windows (takes …","Adorn the TaskIdentifier with a namespace","workspace info","set to false to notify cargo-make that this is not a …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,1,2,3,4,0,5,0,0,1,0,0,0,0,0,5,6,1,7,0,0,8,5,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,10,11,0,0,0,0,1,12,3,0,13,8,7,1,2,12,0,11,12,1,0,1,8,0,0,0,0,0,5,1,0,0,9,4,13,9,0,0,0,0,0,0,9,0,0,1,0,1,5,10,0,0,14,15,16,17,18,16,15,19,16,20,21,17,22,23,24,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,52,21,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,52,21,17,16,4,46,34,31,42,43,16,20,18,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,17,16,20,21,35,38,43,16,20,43,16,20,18,19,50,51,31,41,23,17,16,20,25,26,27,28,30,32,16,15,50,26,15,36,22,30,16,20,16,20,40,40,28,16,25,26,27,28,29,10,30,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,17,17,17,26,17,18,17,18,16,20,28,15,17,34,16,20,19,50,34,34,17,16,20,19,50,18,34,19,50,34,34,40,41,23,24,5,13,44,2,3,4,46,7,47,6,33,40,4,46,7,47,6,27,17,16,20,15,16,20,50,34,14,25,26,34,34,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,4,46,46,7,47,47,20,48,12,49,6,15,19,50,51,52,21,16,20,32,42,43,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,4,4,46,7,7,47,20,48,12,49,6,15,19,50,51,52,21,47,16,16,15,49,16,0,31,39,6,28,16,20,44,39,39,39,15,40,41,23,16,20,16,20,16,20,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,7,47,20,48,12,49,6,15,19,50,51,52,21,16,6,49,16,25,15,28,16,16,15,17,17,15,15,17,26,16,16,15,45,15,36,33,27,33,4,41,23,46,15,15,35,7,28,42,43,47,51,49,40,13,4,46,7,47,17,25,26,27,28,30,32,22,16,15,50,44,15,48,17,17,30,42,43,29,22,47,48,34,16,20,19,50,45,44,45,17,17,16,20,49,17,22,34,15,28,16,20,31,34,23,24,35,16,20,16,20,16,20,16,20,26,25,26,27,28,29,10,30,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,16,15,15,15,17,18,15,17,18,36,52,17,18,19,50,23,24,32,15,6,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,4,46,47,16,20,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,52,21,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,52,21,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,52,21,37,15,26,38,28,23,44,17,25,26,27,28,29,10,30,31,18,32,33,34,22,11,35,36,37,38,39,1,40,41,23,24,5,13,42,43,8,44,2,3,14,45,9,16,4,46,7,47,20,48,12,49,6,15,19,50,51,52,21,44,16,20,16,16,15,7,30,16,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91],"f":[[[["string",3],["bool",0]]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["task",3],["modifyconfig",3]]],[[["configsection",3],["modifyconfig",3]]],[[["config",3],["modifyconfig",3]]],null,null,null,null,null,null,null,[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],[[["",0]],["",0]],null,null,[[["toolchainspecifier",4]],["str",0]],null,null,null,null,null,null,null,null,[[["cliargs",3]],["cliargs",3]],[[["cache",3]],["cache",3]],[[["globalconfig",3]],["globalconfig",3]],[[["workspace",3]],["workspace",3]],[[["packageinfo",3]],["packageinfo",3]],[[["cratedependencyinfo",3]],["cratedependencyinfo",3]],[[["cratedependency",4]],["cratedependency",4]],[[["crateinfo",3]],["crateinfo",3]],[[["envinfo",3]],["envinfo",3]],[[["flowinfo",3]],["flowinfo",3]],[[["flowstate",3]],["flowstate",3]],[[["rustversioncondition",3]],["rustversioncondition",3]],[[["taskcondition",3]],["taskcondition",3]],[[["envfileinfo",3]],["envfileinfo",3]],[[["envfile",4]],["envfile",4]],[[["envvaluescript",3]],["envvaluescript",3]],[[["envvaluedecode",3]],["envvaluedecode",3]],[[["envvalueunset",3]],["envvalueunset",3]],[[["envvalueconditioned",3]],["envvalueconditioned",3]],[[["envvaluepathglob",3]],["envvaluepathglob",3]],[[["envvalue",4]],["envvalue",4]],[[["testarg",3]],["testarg",3]],[[["installcargoplugininfo",3]],["installcargoplugininfo",3]],[[["installcrateinfo",3]],["installcrateinfo",3]],[[["installrustupcomponentinfo",3]],["installrustupcomponentinfo",3]],[[["installcrate",4]],["installcrate",4]],[[["runtaskname",4]],["runtaskname",4]],[[["runtaskdetails",3]],["runtaskdetails",3]],[[["runtaskroutinginfo",3]],["runtaskroutinginfo",3]],[[["runtaskinfo",4]],["runtaskinfo",4]],[[["watchoptions",3]],["watchoptions",3]],[[["taskwatchoptions",4]],["taskwatchoptions",4]],[[["deprecationinfo",4]],["deprecationinfo",4]],[[["filescriptvalue",3]],["filescriptvalue",3]],[[["scriptsections",3]],["scriptsections",3]],[[["scriptvalue",4]],["scriptvalue",4]],[[["task",3]],["task",3]],[[["toolchainspecifier",4]],["toolchainspecifier",4]],[[["toolchainboundedspecifier",3]],["toolchainboundedspecifier",3]],[[["dependencyidentifier",4]],["dependencyidentifier",4]],[[["taskidentifier",3]],["taskidentifier",3]],[[["platformoverridetask",3]],["platformoverridetask",3]],[[["extendoptions",3]],["extendoptions",3]],[[["extend",4]],["extend",4]],[[["modifyconfig",3]],["modifyconfig",3]],[[["unstablefeature",4]],["unstablefeature",4]],[[["configsection",3]],["configsection",3]],[[["config",3]],["config",3]],[[["externalconfig",3]],["externalconfig",3]],[[["step",3]],["step",3]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],[[["",0],["",0]]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[],["cache",3]],[[],["globalconfig",3]],[[],["workspace",3]],[[],["packageinfo",3]],[[],["crateinfo",3]],[[],["flowstate",3]],[[],["task",3]],[[],["configsection",3]],[[],["externalconfig",3]],null,null,null,null,null,null,null,null,null,[[["testarg",3]]],[[["testarg",3]]],null,null,[[],["result",4,[["cache",3]]]],[[],["result",4,[["globalconfig",3]]]],[[],["result",4,[["workspace",3]]]],[[],["result",4,[["packageinfo",3]]]],[[],["result",4,[["cratedependencyinfo",3]]]],[[],["result",4,[["cratedependency",4]]]],[[],["result",4,[["crateinfo",3]]]],[[],["result",4,[["rustversioncondition",3]]]],[[],["result",4,[["taskcondition",3]]]],[[],["result",4,[["envfileinfo",3]]]],[[],["result",4,[["envfile",4]]]],[[],["result",4,[["envvaluescript",3]]]],[[],["result",4,[["envvaluedecode",3]]]],[[],["result",4,[["envvalueunset",3]]]],[[],["result",4,[["envvalueconditioned",3]]]],[[],["result",4,[["envvaluepathglob",3]]]],[[],["result",4,[["envvalue",4]]]],[[],["result",4,[["testarg",3]]]],[[],["result",4,[["installcargoplugininfo",3]]]],[[],["result",4,[["installcrateinfo",3]]]],[[],["result",4,[["installrustupcomponentinfo",3]]]],[[],["result",4,[["installcrate",4]]]],[[],["result",4,[["runtaskname",4]]]],[[],["result",4,[["runtaskdetails",3]]]],[[],["result",4,[["runtaskroutinginfo",3]]]],[[],["result",4,[["runtaskinfo",4]]]],[[],["result",4,[["watchoptions",3]]]],[[],["result",4,[["taskwatchoptions",4]]]],[[],["result",4,[["deprecationinfo",4]]]],[[],["result",4,[["filescriptvalue",3]]]],[[],["result",4,[["scriptsections",3]]]],[[],["result",4,[["scriptvalue",4]]]],[[],["result",4,[["task",3]]]],[[],["result",4,[["toolchainspecifier",4]]]],[[],["result",4,[["toolchainboundedspecifier",3]]]],[[],["result",4,[["dependencyidentifier",4]]]],[[],["result",4,[["taskidentifier",3]]]],[[],["result",4,[["platformoverridetask",3]]]],[[],["result",4,[["extendoptions",3]]]],[[],["result",4,[["extend",4]]]],[[],["result",4,[["modifyconfig",3]]]],[[],["result",4,[["unstablefeature",4]]]],[[],["result",4,[["configsection",3]]]],[[],["result",4,[["config",3]]]],[[],["result",4,[["externalconfig",3]]]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["testarg",3],["testarg",3]],["bool",0]],[[["installcargoplugininfo",3],["installcargoplugininfo",3]],["bool",0]],[[["installcrateinfo",3],["installcrateinfo",3]],["bool",0]],[[["installrustupcomponentinfo",3],["installrustupcomponentinfo",3]],["bool",0]],[[["installcrate",4],["installcrate",4]],["bool",0]],[[["runtaskname",4],["runtaskname",4]],["bool",0]],[[["watchoptions",3],["watchoptions",3]],["bool",0]],[[["taskwatchoptions",4],["taskwatchoptions",4]],["bool",0]],[[["deprecationinfo",4],["deprecationinfo",4]],["bool",0]],[[["toolchainspecifier",4],["toolchainspecifier",4]],["bool",0]],[[["toolchainboundedspecifier",3],["toolchainboundedspecifier",3]],["bool",0]],[[["dependencyidentifier",4],["dependencyidentifier",4]],["bool",0]],[[["taskidentifier",3],["taskidentifier",3]],["bool",0]],[[["unstablefeature",4],["unstablefeature",4]],["bool",0]],null,[[["",0],["",0]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["",0]],["bool",0]],[[["",0],["",0]],["bool",0]],null,null,[[["task",3],["task",3]]],[[["platformoverridetask",3],["task",3]]],[[["configsection",3],["configsection",3]]],null,null,null,null,null,null,null,null,null,[[["cliargs",3],["formatter",3]],["result",6]],[[["cache",3],["formatter",3]],["result",6]],[[["globalconfig",3],["formatter",3]],["result",6]],[[["workspace",3],["formatter",3]],["result",6]],[[["packageinfo",3],["formatter",3]],["result",6]],[[["cratedependencyinfo",3],["formatter",3]],["result",6]],[[["cratedependency",4],["formatter",3]],["result",6]],[[["crateinfo",3],["formatter",3]],["result",6]],[[["envinfo",3],["formatter",3]],["result",6]],[[["flowinfo",3],["formatter",3]],["result",6]],[[["flowstate",3],["formatter",3]],["result",6]],[[["rustversioncondition",3],["formatter",3]],["result",6]],[[["taskcondition",3],["formatter",3]],["result",6]],[[["envfileinfo",3],["formatter",3]],["result",6]],[[["envfile",4],["formatter",3]],["result",6]],[[["envvaluescript",3],["formatter",3]],["result",6]],[[["envvaluedecode",3],["formatter",3]],["result",6]],[[["envvalueunset",3],["formatter",3]],["result",6]],[[["envvalueconditioned",3],["formatter",3]],["result",6]],[[["envvaluepathglob",3],["formatter",3]],["result",6]],[[["envvalue",4],["formatter",3]],["result",6]],[[["testarg",3],["formatter",3]],["result",6]],[[["installcargoplugininfo",3],["formatter",3]],["result",6]],[[["installcrateinfo",3],["formatter",3]],["result",6]],[[["installrustupcomponentinfo",3],["formatter",3]],["result",6]],[[["installcrate",4],["formatter",3]],["result",6]],[[["runtaskname",4],["formatter",3]],["result",6]],[[["runtaskdetails",3],["formatter",3]],["result",6]],[[["runtaskroutinginfo",3],["formatter",3]],["result",6]],[[["runtaskinfo",4],["formatter",3]],["result",6]],[[["watchoptions",3],["formatter",3]],["result",6]],[[["taskwatchoptions",4],["formatter",3]],["result",6]],[[["deprecationinfo",4],["formatter",3]],["result",6]],[[["filescriptvalue",3],["formatter",3]],["result",6]],[[["scriptsections",3],["formatter",3]],["result",6]],[[["scriptvalue",4],["formatter",3]],["result",6]],[[["task",3],["formatter",3]],["result",6]],[[["toolchainspecifier",4],["formatter",3]],["result",6]],[[["toolchainspecifier",4],["formatter",3]],["result",6]],[[["toolchainboundedspecifier",3],["formatter",3]],["result",6]],[[["toolchainboundedspecifier",3],["formatter",3]],["result",6]],[[["dependencyidentifier",4],["formatter",3]],["result",6]],[[["taskidentifier",3],["formatter",3]],["result",6]],[[["taskidentifier",3],["formatter",3]],["result",6]],[[["platformoverridetask",3],["formatter",3]],["result",6]],[[["extendoptions",3],["formatter",3]],["result",6]],[[["extend",4],["formatter",3]],["result",6]],[[["modifyconfig",3],["formatter",3]],["result",6]],[[["unstablefeature",4],["formatter",3]],["result",6]],[[["configsection",3],["formatter",3]],["result",6]],[[["config",3],["formatter",3]],["result",6]],[[["externalconfig",3],["formatter",3]],["result",6]],[[["step",3],["formatter",3]],["result",6]],[[["executionplan",3],["formatter",3]],["result",6]],[[["commandspec",3],["formatter",3]],["result",6]],null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["string",3]],["toolchainspecifier",4]],[[["str",0]],["toolchainspecifier",4]],[[]],[[]],[[]],[[["str",0]],["dependencyidentifier",4]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["str",0]],["taskidentifier",3]],[[["task",3]],["u8",0]],[[["task",3]],["option",4,[["string",3]]]],[[["configsection",3]],["option",4,[["scriptvalue",4]]]],[[["modifyconfig",3]],["string",3]],[[["task",3]],["task",3]],[[],["string",3]],null,null,[[["unstablefeature",4],["",0]]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["dependencyidentifier",4]],["taskidentifier",3]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[["task",3]],["bool",0]],[[["unstablefeature",4]],["bool",0]],[[["modifyconfig",3]],["bool",0]],[[["task",3]],["bool",0]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["toolchainspecifier",4]],["option",4,[["str",0]]]],null,null,null,null,null,null,[[["dependencyidentifier",4]],["str",0]],null,null,null,null,null,null,[[["testarg",3],["testarg",3]],["bool",0]],[[["runtaskname",4],["runtaskname",4]],["bool",0]],[[["toolchainspecifier",4],["toolchainspecifier",4]],["bool",0]],[[["toolchainboundedspecifier",3],["toolchainboundedspecifier",3]],["bool",0]],[[["dependencyidentifier",4],["dependencyidentifier",4]],["bool",0]],[[["taskidentifier",3],["taskidentifier",3]],["bool",0]],[[],["cliargs",3]],[[],["cache",3]],[[],["globalconfig",3]],[[],["workspace",3]],[[],["packageinfo",3]],[[],["crateinfo",3]],[[],["flowstate",3]],[[["string",3]],["envfileinfo",3]],[[],["task",3]],[[],["configsection",3]],[[],["externalconfig",3]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["cache",3]],["result",4]],[[["globalconfig",3]],["result",4]],[[["workspace",3]],["result",4]],[[["packageinfo",3]],["result",4]],[[["cratedependencyinfo",3]],["result",4]],[[["cratedependency",4]],["result",4]],[[["crateinfo",3]],["result",4]],[[["rustversioncondition",3]],["result",4]],[[["taskcondition",3]],["result",4]],[[["envfileinfo",3]],["result",4]],[[["envfile",4]],["result",4]],[[["envvaluescript",3]],["result",4]],[[["envvaluedecode",3]],["result",4]],[[["envvalueunset",3]],["result",4]],[[["envvalueconditioned",3]],["result",4]],[[["envvaluepathglob",3]],["result",4]],[[["envvalue",4]],["result",4]],[[["testarg",3]],["result",4]],[[["installcargoplugininfo",3]],["result",4]],[[["installcrateinfo",3]],["result",4]],[[["installrustupcomponentinfo",3]],["result",4]],[[["installcrate",4]],["result",4]],[[["runtaskname",4]],["result",4]],[[["runtaskdetails",3]],["result",4]],[[["runtaskroutinginfo",3]],["result",4]],[[["runtaskinfo",4]],["result",4]],[[["watchoptions",3]],["result",4]],[[["taskwatchoptions",4]],["result",4]],[[["deprecationinfo",4]],["result",4]],[[["filescriptvalue",3]],["result",4]],[[["scriptsections",3]],["result",4]],[[["scriptvalue",4]],["result",4]],[[["task",3]],["result",4]],[[["toolchainspecifier",4]],["result",4]],[[["toolchainboundedspecifier",3]],["result",4]],[[["dependencyidentifier",4]],["result",4]],[[["taskidentifier",3]],["result",4]],[[["platformoverridetask",3]],["result",4]],[[["extendoptions",3]],["result",4]],[[["extend",4]],["result",4]],[[["modifyconfig",3]],["result",4]],[[["unstablefeature",4]],["result",4]],[[["configsection",3]],["result",4]],[[["config",3]],["result",4]],[[["externalconfig",3]],["result",4]],[[["step",3]],["result",4]],[[["task",3]],["bool",0]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[[["unstablefeature",4]],["string",3]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]]],[[["",0]],["string",3]],[[["",0]],["string",3]],[[["",0]],["string",3]],null,null,[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[],["result",4]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],[[["",0]],["typeid",3]],null,null,null,null,null,null,null,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],null,null,null,null,null,null,[[["dependencyidentifier",4],["str",0]],["dependencyidentifier",4]],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"p":[[4,"EnvValue"],[4,"TaskWatchOptions"],[4,"DeprecationInfo"],[4,"ToolchainSpecifier"],[4,"InstallCrate"],[4,"UnstableFeature"],[4,"DependencyIdentifier"],[4,"RunTaskInfo"],[4,"ScriptValue"],[4,"CrateDependency"],[4,"EnvFile"],[4,"Extend"],[4,"RunTaskName"],[3,"FileScriptValue"],[3,"ConfigSection"],[3,"Task"],[3,"CliArgs"],[3,"FlowInfo"],[3,"Config"],[3,"PlatformOverrideTask"],[3,"CommandSpec"],[3,"EnvFileInfo"],[3,"InstallCrateInfo"],[3,"InstallRustupComponentInfo"],[3,"Cache"],[3,"GlobalConfig"],[3,"Workspace"],[3,"PackageInfo"],[3,"CrateDependencyInfo"],[3,"CrateInfo"],[3,"EnvInfo"],[3,"FlowState"],[3,"RustVersionCondition"],[3,"TaskCondition"],[3,"EnvValueScript"],[3,"EnvValueDecode"],[3,"EnvValueUnset"],[3,"EnvValueConditioned"],[3,"EnvValuePathGlob"],[3,"TestArg"],[3,"InstallCargoPluginInfo"],[3,"RunTaskDetails"],[3,"RunTaskRoutingInfo"],[3,"WatchOptions"],[3,"ScriptSections"],[3,"ToolchainBoundedSpecifier"],[3,"TaskIdentifier"],[3,"ExtendOptions"],[3,"ModifyConfig"],[3,"ExternalConfig"],[3,"Step"],[3,"ExecutionPlan"],[13,"Version"],[13,"Info"],[13,"Definition"],[13,"Name"],[13,"Boolean"],[13,"Message"],[13,"Path"],[13,"Info"],[13,"Value"],[13,"Boolean"],[13,"Number"],[13,"List"],[13,"Unset"],[13,"Script"],[13,"Decode"],[13,"Conditional"],[13,"PathGlob"],[13,"Profile"],[13,"Path"],[13,"Options"],[13,"List"],[13,"Enabled"],[13,"Value"],[13,"CrateInfo"],[13,"RustupComponentInfo"],[13,"CargoPluginInfo"],[13,"Name"],[13,"Details"],[13,"Routing"],[13,"Single"],[13,"Multiple"],[13,"SingleLine"],[13,"Text"],[13,"File"],[13,"Sections"],[13,"Boolean"],[13,"Options"],[13,"Simple"],[13,"Bounded"]]},\ -"makers":{"doc":"makers","t":[5,5],"n":["get_name","main"],"q":["makers",""],"d":["",""],"i":[0,0],"f":[[[],["string",3]],[[]]],"p":[]}\ +"cargo_make":{"doc":"cargo-make","t":[5,5],"n":["get_name","main"],"q":["cargo_make",""],"d":["",""],"i":[0,0],"f":[[[],1],[[]]],"p":[[3,"String"]]},\ +"cli":{"doc":"cargo-make","t":[5,0,13,13,13,13,3,13,3,3,13,3,3,4,3,3,13,13,13,13,4,4,13,13,4,3,3,4,3,3,3,3,3,3,4,3,3,13,3,3,3,3,13,13,3,4,3,3,13,13,13,3,13,13,13,13,13,13,3,13,13,13,3,13,13,3,4,4,3,3,13,13,3,4,13,13,13,13,3,3,3,3,4,3,13,3,4,13,4,13,13,13,3,3,12,12,12,12,12,11,11,11,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,12,11,11,11,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,12,12,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,12,12,12,12,12,12,11,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12],"n":["run_cli","types","Boolean","Boolean","Boolean","Bounded","Cache","CargoPluginInfo","CliArgs","CommandSpec","Conditional","Config","ConfigSection","CrateDependency","CrateDependencyInfo","CrateInfo","CrateInfo","CtrlCHandling","Decode","Definition","DependencyIdentifier","DeprecationInfo","Details","Enabled","EnvFile","EnvFileInfo","EnvInfo","EnvValue","EnvValueConditioned","EnvValueDecode","EnvValuePathGlob","EnvValueScript","EnvValueUnset","ExecutionPlan","Extend","ExtendOptions","ExternalConfig","File","FileScriptValue","FlowInfo","FlowState","GlobalConfig","Info","Info","InstallCargoPluginInfo","InstallCrate","InstallCrateInfo","InstallRustupComponentInfo","List","List","Message","ModifyConfig","Multiple","Name","Name","Number","Options","Options","PackageInfo","Path","Path","PathGlob","PlatformOverrideTask","Profile","Routing","RunTaskDetails","RunTaskInfo","RunTaskName","RunTaskRoutingInfo","RustVersionCondition","RustupComponentInfo","Script","ScriptSections","ScriptValue","Sections","Simple","Single","SingleLine","Step","Task","TaskCondition","TaskIdentifier","TaskWatchOptions","TestArg","Text","ToolchainBoundedSpecifier","ToolchainSpecifier","Unset","UnstableFeature","Value","Value","Version","WatchOptions","Workspace","absolute_path","additional_profiles","alias","allow_private","allow_private","apply","apply","apply","args","args","args","arguments","base_path","binary","binary","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_file","category","channel","channel","channels","ci_info","cleanup_task","cleanup_task","clear","clear","cli_arguments","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","command","command","command","command","condition","condition","condition","condition","condition","condition_script","condition_script","condition_script","config","config","config","config","crate_info","crate_name","crate_name","cwd","cwd","cwd","default","default","default","default","default","default","default","default","default","default_task_name","default_to_workspace","default_value","defaults_only","dependencies","dependencies","dependencies","deprecated","deprecated","deref","deref_mut","description","description","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","diff_execution_plan","disable_check_for_updates","disable_color","disable_color","disable_on_error","disable_on_error","disable_workspace","disable_workspace","disabled","disabled","documentation","end_task","env","env","env","env","env","env","env_contains","env_false","env_file","env_files","env_files","env_files","env_files","env_info","env_not_set","env_scripts","env_scripts","env_set","env_true","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equal","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","exclude","experimental","extend","extend","extend","extend","extend","extend","fail_message","file","file_name","file_name","files_exist","files_not_exist","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","force","force","force","force","forced_plugin","fork","fork","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_name","get_actions_count","get_alias","get_load_script","get_namespace_prefix","get_normalized_task","get_platform_name","git_info","glob","hash","homepage","ignore_errors","ignore_errors","ignore_pattern","ignore_type","include_dirs","include_files","init_task","inner","install_command","install_command","install_crate","install_crate","install_crate_args","install_crate_args","install_script","install_script","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","is_actionable","is_env_set","is_modifications_defined","is_valid","last_update_check","legacy_migration_task","license","linux","linux_alias","linux_load_script","list_all_steps","list_category_steps","load_cargo_aliases","load_script","log_level","log_level","mac","mac_alias","mac_load_script","main","main_project_member","mapping","max","members","min","min_version","min_version","min_version","min_version","min_version","modify_core_tasks","multi_line","name","name","name","name","name","name","namespace","ne","ne","ne","ne","ne","ne","new","new","new","new","new","new","new","new","new","new","new","no_git_ignore","on_error_task","optional","output_file","output_format","package","parallel","parallel","path","path","path","path","platforms","plugin","plugin","plugins","plugins","post","postpone","pre","print_only","print_time_summary","private","private","private","profile","profile","profiles","reduce_output","repository","run_task","run_task","rust_info","rust_version","rustup_component_name","rustup_component_name","script","script","script","script_extension","script_extension","script_runner","script_runner","script_runner_args","script_runner_args","search_project_root","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","should_ignore_errors","skip_core_tasks","skip_crate_env_info","skip_git_env_info","skip_init_end_tasks","skip_init_end_tasks","skip_rust_env_info","skip_tasks_pattern","skip_tasks_pattern","source","steps","task","task","tasks","tasks","test_arg","test_arg","time_summary","time_summary","to_env_name","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","toolchain","toolchain","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unset","unstable_features","update_check_minimum_interval","value","version","version","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","watch","watch","watch","windows","windows_alias","windows_load_script","with_namespace","workspace","workspace","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"],"q":["cli","","cli::types","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cli::types::CrateDependency","","cli::types::DependencyIdentifier","","cli::types::DeprecationInfo","","cli::types::EnvFile","","cli::types::EnvValue","","","","","","","","","","cli::types::Extend","","","cli::types::InstallCrate","","","","","cli::types::RunTaskInfo","","","cli::types::RunTaskName","","cli::types::ScriptValue","","","","cli::types::TaskWatchOptions","","cli::types::ToolchainSpecifier",""],"d":["Handles the command line arguments and executes the runner.","types","The value as boolean","True/False to enable/disable watch","True/False flag (true is deprecated)","A toolchain with a minimum version bound","Holds persisted data used by cargo-make","Install cargo plugin info","Holds CLI args","Command info","Conditional env value","Holds the entire configuration such as task definitions …","Holds the configuration found in the makefile toml config …","Holds crate dependency info.","Holds crate dependency info.","Holds crate information loaded from the Cargo.toml file.","Install crate params","Gracefully shutdown and then kill the running command on …","Env decoding info","A full dependency definion (potentially in a different …","A dependency, defined either as a string or as a …","Holds deprecation info such as true/false/message","Run Task Info","Enables to prevent installation flow","Holds the env file path and attributes","Env file path and attributes","Holds env information","Holds the env value or script","Env value set if condition is met","Env value provided by decoding other values","Env value holding a list of paths based on given glob …","Env value provided by a script","Enables to unset env variables","Execution plan which defines all steps to run and the …","Holds makefile extend value","Extend with more fine tuning options","Holds the entire externally read configuration such as …","Script file name","Script file name","Holds flow information","Holds mutable flow state","Holds configuration info for cargo-make","Hold dependency info","Extended info object for env file","Holds instructions how to install the cargo plugin","Install crate name or params","Holds instructions how to install the crate","Holds instructions how to install a rustup component","The value as a list of strings","Multiple extends list","Deprecation message","Holds properties to modify the core tasks","Multiple task names","Task name","A string dependency definition (its name in the current …","The value as number","Extended configuration for watch","Extend options for more fine tune control","Holds crate package information loaded from the Cargo.toml …","The file path as string","Path to another makefile","Path glob","Holds a single task configuration for a specific platform …","Profile env","Task conditional selector","Holds the run task information","Run task info","Holds the run task name/s","Holds the run task routing information","Rust version condition structure","Install rustup component params","Script which will return the value","Script content split to parts to enable a more fine tuned …","Script value (text, file name, …)","Script content split to multiple parts to enable fine …","A string specifying the channel name of the toolchain","Single task name","The script text as single line","Execution plan step to execute","Holds a single task configuration such as command and …","Holds condition attributes","An identifier for a task","Holds watch options or simple true/false value","Arguments used to check whether a crate or rustup …","The script text lines","A toolchain with a minimum version bound","A toolchain, defined either as a string (following the …","Unset env","Unstable cargo-make feature","The value as string","The value as string","Holds the dependency version","Holds watch options","Holds crate workspace info, see …","True for absolute path (default false)","Additional profile names to load","if defined, task points to another task and all other …","Allow invocation of private tasks","Allow invocation of private tasks","Apply modifications","Apply modifications","Apply modifications","The command args","The command args","The command args","additional command line arguments","The path base directory (relative paths are from this base …","The binary file name to be used to test if the crate is …","The binary file name to be used to test if the crate is …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The external Makefile.toml path","Category name used to document the task","Return the channel of the toolchain to look for","The channel of the toolchain to use","Channel names (stable, beta, nightly)","CI info","Cleanup task name","Cleanup task name","if true, it should ignore all data in base task","if true, it should ignore all data in base task","additional command line arguments","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The command name","The command to execute","The command to execute","The command to execute","The condition to validate","The condition to validate","if provided all condition values must be met in order for …","if provided all condition values must be met in order for …","if provided all condition values must be met in order for …","if script exit code is not 0, the task will not be invoked","if script exit code is not 0, the command/script of this …","if script exit code is not 0, the command/script of this …","The flow config object","Runtime config","Runtime config","The task config","Crate info","The provided crate to install","The provided crate to install","Current working directory","The working directory for the task to execute its …","The working directory for the task to execute its …","","","","","","","","","","Default task name","The task.workspace default value","The default value in case no decode mapping was found, if …","If true, only set the env vars if not already defined","crate dependencies","A list of tasks to execute before this task","A list of tasks to execute before this task","if not false, this task is defined as deprecated","if not false, this task is defined as deprecated","","","description","Task description","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Diff flows","Disables the update check during startup","Disables colorful output","Default output coloring","Prevent on error flow even if defined in config section","Prevent on error flow even if defined in config section","Prevent workspace support","Prevent workspace support","if true, the command/script of this task will not be …","if true, the command/script of this task will not be …","documentation link","End task name which will be invoked at the end of every run","Environment variables","Environment variables and their values","The env vars to setup before running the task commands","The env vars to setup before running the task commands","The env vars to setup before running the flow","The env vars to setup before running the flow","Environment variables and the values which they are …","Environment variables which are defined as false","Environment variables file","The env files to setup before running the task commands","The env files to setup before running the task commands","The env files to setup before running the flow","The env files to setup before running the flow","The env info","Environment variables which must not be defined","The env scripts to execute before running the flow","The env scripts to execute before running the flow","Environment variables which must be defined","Environment variables which are defined as true","","","","","","","","","","","","","","","specific version number","","","","","","","exclude paths","Allows access unsupported experimental predefined tasks","Copies values from the task into self.","Copies values from the task into self.","Copies values from the config section into self.","Extend any task based on the defined name","Extend any task based on the defined name","Path to another toml file to extend","Failure message","Script file name","File from which the cache file was loaded from","File from which the global config was loaded from","Files exist","Files which do not exist","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Optional add force flag (if needed), default is true","Optional add force flag (if needed), default is true","DEPRECATED, replaced with ignore_errors","DEPRECATED, replaced with ignore_errors","forced plugin name","True to fork the task to a new sub process","True to fork the task to a new sub process","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create a new TaskIdentifier referencing a task in the …","Returns the amount of actions defined on the task","Returns the alias value based on the current platform and …","Returns the load script based on the current platform","Returns the namespace prefix for task names","Returns a new task based on the override information and …","Returns the platform name","Git info","The glob used to fetch all paths","","homepage link","if true, any error while executing the task will be …","if true, any error while executing the task will be …","Ignore a glob/gitignore-style pattern","Enables to respect ignore files","True to include directories (default is true if undefined)","True to include files (default is true if undefined)","Init task name which will be invoked at the start of every …","Content of the arguments","Optional alternate ‘install’ command","Optional alternate ‘install’ command","if defined, the provided crate will be installed (if …","if defined, the provided crate will be installed (if …","additional cargo install arguments","additional cargo install arguments","if defined, the provided script will be executed before …","if defined, the provided script will be executed before …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns true if the task has any actions on its own or if …","Is the corresponding env. variable set?","Returns true if config modifications is needed based on …","Returns true if the task is valid","Holds last update check with returned no updates result","The name of the task which runs legacy migration flows","license","override task if runtime OS is Linux (takes precedence …","acts like alias if runtime OS is Linux (takes precedence …","acts like load_script if runtime OS is Linux (takes …","List all known steps","List steps for a given category","Automatically load cargo aliases as cargo-make tasks","Invoked while loading the descriptor file but before …","Log level name","Default log level","override task if runtime OS is Mac (takes precedence over …","acts like alias if runtime OS is Mac (takes precedence …","acts like load_script if runtime OS is Mac (takes …","Script section","The project information member (used by workspaces)","The decoding mapping","max version number","members paths","min version number","Return the minimal version, if any, to look for","Minimal version","Minimal version","The minimum version to match","Minimum cargo-make/makers version","Modify core tasks config","True/False to enable multi line env values","Get the name of a dependency","name","The task name","The task name","The task name to execute","The task name","If set to some value, all core tasks are modified to: …","","","","","","","Creates and returns a new instance.","Returns new instance","Returns new instance","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Creates and returns a new instance.","Do not use .gitignore files","The name of the task to run in case of any error during …","Enable optional extend (default to false)","Output file name","Output format","package info","True to run all tasks in parallel (default false)","True to run all tasks in parallel (default false)","Holds the dependency path","The file path as string","The path to the makefile the task resides in","Path to another makefile","Platform names (linux, windows, mac)","Optional plugin used to execute the task","Optional plugin used to execute the task","All plugin definitions","All plugin definitions","Script section","Postpone first run until a file changes","Script section","Only print the execution plan","Print time summary at end of the flow","if true, the task is hidden from the list of available …","if true, the task is hidden from the list of available …","If true, all core tasks will be set to private (default …","The profile name","The profile name this file is relevant to","Profile names (development, …)","True to reduce console output for non CI execution","repository link","The task name to execute","The task name to execute","Rust info","Rust version condition","If defined, the component to install via rustup","The component to install via rustup","The script to execute to get the env value","If command is not defined, and script is defined, the …","If command is not defined, and script is defined, the …","The script file extension","The script file extension","The script runner (defaults to cmd in windows and sh for …","The script runner (defaults to cmd in windows and sh for …","The script runner arguments before the script file path","The script runner arguments before the script file path","True to search for project root in parent directories if …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns true if the task ignore_errors attribute is …","If true, the default core tasks will not be loaded","do not load current crate env info (save on perf)","do not load git env info (save on perf)","If true, the init and end tasks are skipped","If true, the init and end tasks are skipped","do not load rust env info (save on perf)","Skip tasks that match the provided pattern","Skip tasks that match the provided pattern","The source value (can be an env expression)","A list of steps to execute","The task to invoke","The main task of the flow","All task definitions","All task definitions","Test arguments that will be used to check that the crate …","Test argument that will be used to check that the crate is …","timing info for summary","True to print time summary at the end of the flow","Creates the env. variable name associated to the feature","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The rust toolchain used to invoke the command or install …","The rust toolchain used to invoke the command or install …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","If true, the env variable will be unset, else ignored","Enables unstable cargo-make features","Update check minimum time from the previous check (always, …","The value to set (can be an env expression)","version","Exact version","Watch version to install if not already installed","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Select which files/folders to watch","set to true to watch for file changes and invoke the task …","set to true to watch for file changes and invoke the task …","override task if runtime OS is Windows (takes precedence …","acts like alias if runtime OS is Windows (takes precedence …","acts like load_script if runtime OS is Windows (takes …","Adorn the TaskIdentifier with a namespace","workspace info","set to false to notify cargo-make that this is not a …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,29,40,41,7,0,34,0,0,29,0,0,0,0,0,34,51,29,46,0,0,38,34,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,0,0,15,23,0,0,0,0,29,50,41,0,35,38,46,29,40,50,0,23,50,29,0,29,38,0,0,0,0,0,34,29,0,0,44,7,35,44,0,0,0,0,0,0,44,0,0,29,0,29,34,15,0,0,42,5,3,9,18,3,5,6,3,48,58,9,22,32,33,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,57,58,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,57,58,9,3,7,45,21,17,36,37,3,48,18,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,9,3,48,58,24,27,37,3,48,37,3,48,18,6,52,53,17,31,32,9,3,48,10,11,12,13,16,19,3,5,52,11,5,25,22,16,3,48,3,48,30,30,13,3,10,11,12,13,14,15,16,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,9,9,9,11,9,18,9,18,3,48,13,5,9,21,3,48,6,52,21,21,9,3,48,6,52,18,21,6,52,21,21,30,31,32,33,34,35,39,40,41,7,45,46,47,51,20,30,7,45,46,47,51,12,9,3,48,5,3,48,52,21,42,10,11,21,21,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,7,45,45,46,47,47,48,49,50,4,51,5,6,52,53,57,58,31,32,3,48,19,36,37,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,7,7,45,46,46,47,48,49,50,4,51,5,6,52,53,57,58,47,3,3,5,4,3,0,17,28,51,13,3,48,39,28,28,28,5,30,31,32,3,48,3,48,3,48,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,46,47,48,49,50,4,51,5,6,52,53,57,58,3,51,4,3,10,5,13,3,3,5,9,9,5,5,9,11,3,3,5,43,5,25,20,12,20,7,31,32,45,5,5,24,46,13,36,37,47,53,4,30,35,7,45,46,47,9,10,11,12,13,16,19,22,3,5,52,39,5,49,9,9,16,36,37,14,22,47,49,21,3,48,6,52,43,39,43,9,9,3,48,4,9,22,21,5,13,3,48,17,21,32,33,24,3,48,3,48,3,48,3,48,11,10,11,12,13,14,15,16,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,3,5,5,5,9,18,5,9,18,25,57,9,18,6,52,32,33,19,5,51,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,7,45,47,3,48,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,57,58,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,57,58,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,57,58,26,5,11,27,13,32,39,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,3,7,45,46,47,48,49,50,4,51,5,6,52,53,57,58,39,3,48,3,3,5,46,16,3,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100],"f":[[[1,2]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[3,4]],[[5,4]],[[6,4]],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[7,8],0,0,0,0,0,0,0,0,[9,9],[10,10],[11,11],[12,12],[13,13],[14,14],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22],[23,23],[24,24],[25,25],[26,26],[27,27],[28,28],[29,29],[30,30],[31,31],[32,32],[33,33],[34,34],[35,35],[36,36],[37,37],[38,38],[39,39],[40,40],[41,41],[42,42],[43,43],[44,44],[3,3],[7,7],[45,45],[46,46],[47,47],[48,48],[49,49],[50,50],[4,4],[51,51],[5,5],[6,6],[52,52],[53,53],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],10],[[],11],[[],12],[[],13],[[],16],[[],19],[[],3],[[],5],[[],52],0,0,0,0,0,0,0,0,0,[30],[30],0,0,[[],[[54,[10]]]],[[],[[54,[11]]]],[[],[[54,[12]]]],[[],[[54,[13]]]],[[],[[54,[14]]]],[[],[[54,[15]]]],[[],[[54,[16]]]],[[],[[54,[20]]]],[[],[[54,[21]]]],[[],[[54,[22]]]],[[],[[54,[23]]]],[[],[[54,[24]]]],[[],[[54,[25]]]],[[],[[54,[26]]]],[[],[[54,[27]]]],[[],[[54,[28]]]],[[],[[54,[29]]]],[[],[[54,[30]]]],[[],[[54,[31]]]],[[],[[54,[32]]]],[[],[[54,[33]]]],[[],[[54,[34]]]],[[],[[54,[35]]]],[[],[[54,[36]]]],[[],[[54,[37]]]],[[],[[54,[38]]]],[[],[[54,[39]]]],[[],[[54,[40]]]],[[],[[54,[41]]]],[[],[[54,[42]]]],[[],[[54,[43]]]],[[],[[54,[44]]]],[[],[[54,[3]]]],[[],[[54,[7]]]],[[],[[54,[45]]]],[[],[[54,[46]]]],[[],[[54,[47]]]],[[],[[54,[48]]]],[[],[[54,[49]]]],[[],[[54,[50]]]],[[],[[54,[4]]]],[[],[[54,[51]]]],[[],[[54,[5]]]],[[],[[54,[6]]]],[[],[[54,[52]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[30,30],2],[[31,31],2],[[32,32],2],[[33,33],2],[[34,34],2],[[35,35],2],[[39,39],2],[[40,40],2],[[41,41],2],[[7,7],2],[[45,45],2],[[46,46],2],[[47,47],2],[[51,51],2],0,[[],2],[[],2],[[],2],[[],2],[[],2],[[],2],0,0,[[3,3]],[[48,3]],[[5,5]],0,0,0,0,0,0,0,0,0,[[9,55],56],[[10,55],56],[[11,55],56],[[12,55],56],[[13,55],56],[[14,55],56],[[15,55],56],[[16,55],56],[[17,55],56],[[18,55],56],[[19,55],56],[[20,55],56],[[21,55],56],[[22,55],56],[[23,55],56],[[24,55],56],[[25,55],56],[[26,55],56],[[27,55],56],[[28,55],56],[[29,55],56],[[30,55],56],[[31,55],56],[[32,55],56],[[33,55],56],[[34,55],56],[[35,55],56],[[36,55],56],[[37,55],56],[[38,55],56],[[39,55],56],[[40,55],56],[[41,55],56],[[42,55],56],[[43,55],56],[[44,55],56],[[3,55],56],[[7,55],56],[[7,55],56],[[45,55],56],[[45,55],56],[[46,55],56],[[47,55],56],[[47,55],56],[[48,55],56],[[49,55],56],[[50,55],56],[[4,55],56],[[51,55],56],[[5,55],56],[[6,55],56],[[52,55],56],[[53,55],56],[[57,55],56],[[58,55],56],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,7],[8,7],[[]],[[]],[8,46],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,47],[3,59],[3,[[60,[1]]]],[5,[[60,[44]]]],[4,1],[3,3],[[],1],0,0,[51],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[46,47],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[3,2],[51,2],[4,2],[3,2],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[7,[[60,[8]]]],0,0,0,0,0,0,[46,8],0,0,0,0,0,0,[[30,30],2],[[35,35],2],[[7,7],2],[[45,45],2],[[46,46],2],[[47,47],2],[[],9],[[],10],[[],11],[[],12],[[],13],[[],16],[[],19],[1,22],[[],3],[[],5],[[],52],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[10,54],[11,54],[12,54],[13,54],[14,54],[15,54],[16,54],[20,54],[21,54],[22,54],[23,54],[24,54],[25,54],[26,54],[27,54],[28,54],[29,54],[30,54],[31,54],[32,54],[33,54],[34,54],[35,54],[36,54],[37,54],[38,54],[39,54],[40,54],[41,54],[42,54],[43,54],[44,54],[3,54],[7,54],[45,54],[46,54],[47,54],[48,54],[49,54],[50,54],[4,54],[51,54],[5,54],[6,54],[52,54],[53,54],[3,2],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[51,1],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],1],[[],1],[[],1],0,0,[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],[[],61],0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[46,8],46],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"p":[[3,"String"],[15,"bool"],[3,"Task"],[3,"ModifyConfig"],[3,"ConfigSection"],[3,"Config"],[4,"ToolchainSpecifier"],[15,"str"],[3,"CliArgs"],[3,"Cache"],[3,"GlobalConfig"],[3,"Workspace"],[3,"PackageInfo"],[3,"CrateDependencyInfo"],[4,"CrateDependency"],[3,"CrateInfo"],[3,"EnvInfo"],[3,"FlowInfo"],[3,"FlowState"],[3,"RustVersionCondition"],[3,"TaskCondition"],[3,"EnvFileInfo"],[4,"EnvFile"],[3,"EnvValueScript"],[3,"EnvValueDecode"],[3,"EnvValueUnset"],[3,"EnvValueConditioned"],[3,"EnvValuePathGlob"],[4,"EnvValue"],[3,"TestArg"],[3,"InstallCargoPluginInfo"],[3,"InstallCrateInfo"],[3,"InstallRustupComponentInfo"],[4,"InstallCrate"],[4,"RunTaskName"],[3,"RunTaskDetails"],[3,"RunTaskRoutingInfo"],[4,"RunTaskInfo"],[3,"WatchOptions"],[4,"TaskWatchOptions"],[4,"DeprecationInfo"],[3,"FileScriptValue"],[3,"ScriptSections"],[4,"ScriptValue"],[3,"ToolchainBoundedSpecifier"],[4,"DependencyIdentifier"],[3,"TaskIdentifier"],[3,"PlatformOverrideTask"],[3,"ExtendOptions"],[4,"Extend"],[4,"UnstableFeature"],[3,"ExternalConfig"],[3,"Step"],[4,"Result"],[3,"Formatter"],[6,"Result"],[3,"ExecutionPlan"],[3,"CommandSpec"],[15,"u8"],[4,"Option"],[3,"TypeId"],[13,"Version"],[13,"Info"],[13,"Definition"],[13,"Name"],[13,"Boolean"],[13,"Message"],[13,"Path"],[13,"Info"],[13,"Value"],[13,"Boolean"],[13,"Number"],[13,"List"],[13,"Unset"],[13,"Script"],[13,"Decode"],[13,"Conditional"],[13,"PathGlob"],[13,"Profile"],[13,"Path"],[13,"Options"],[13,"List"],[13,"Enabled"],[13,"Value"],[13,"CrateInfo"],[13,"RustupComponentInfo"],[13,"CargoPluginInfo"],[13,"Name"],[13,"Details"],[13,"Routing"],[13,"Single"],[13,"Multiple"],[13,"SingleLine"],[13,"Text"],[13,"File"],[13,"Sections"],[13,"Boolean"],[13,"Options"],[13,"Simple"],[13,"Bounded"]]},\ +"makers":{"doc":"makers","t":[5,5],"n":["get_name","main"],"q":["makers",""],"d":["",""],"i":[0,0],"f":[[[],1],[[]]],"p":[[3,"String"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/docs/api/search.js b/docs/api/search.js index 2c519e7e..d35a7db8 100644 --- a/docs/api/search.js +++ b/docs/api/search.js @@ -1 +1 @@ -"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\"`")}else if(parserState.userQuery[end]!=="\""){throw new Error(`Unexpected \`${parserState.userQuery[end]}\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \`,\`, \` \` or \`${endChar}\`, found \`${c}\``)}throw new Error(`Expected \`,\` or \` \`, found \`${c}\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \`${c}\` (did you mean \`->\`?)`)}throw new Error(`Unexpected \`${c}\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \`,\`, \` \` or \`->\`, found \`${c}\``)}throw new Error(`Expected \`,\`, \` \`, \`:\` or \`->\`, found \`${c}\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="All crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.length<=GENERICS_DATA||row[GENERICS_DATA].length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row[GENERICS_DATA].length>0&&row[GENERICS_DATA][0][NAME]===""){if(row.length>GENERICS_DATA){return checkGenerics(row[GENERICS_DATA][0],elem,defaultLev)}return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}let elem_name;if(elem.generics.length>0&&row[GENERICS_DATA].length>=elem.generics.length){const elems=Object.create(null);for(const entry of row[GENERICS_DATA]){elem_name=entry[NAME];if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row[GENERICS_DATA]){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row[NAME].length===0){if(row.length>GENERICS_DATA){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row[NAME],elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=(row.length>GENERICS_DATA&&row[GENERICS_DATA].length>0);if(checkGeneric&&row[GENERICS_DATA].findIndex(tmp_elem=>tmp_elem[NAME]===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.length>GENERICS_DATA){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type[INPUTS_DATA]&&row.type[INPUTS_DATA].length>0){for(const input of row.type[INPUTS_DATA]){if(!typePassesFilter(typeFilter,input[1])){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.length>OUTPUT_DATA){let ret=row.type[OUTPUT_DATA];if(typeof ret[0]==="string"){ret=[ret]}for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty[1])){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;ilength){break}let lev_total=0;let aborted=false;for(let x=0;xMAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){if(!results_others[fullId]!==undefined){index=row.normalizedName.indexOf(elem.pathLast)}}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function escape(content){const h1=document.createElement("h1");h1.textContent=content;return h1.innerHTML}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" (primitive type)"}else if(type==="keyword"){extra=" (keyword)"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const wrapper=document.createElement("div");const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend"," - see ");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+""+name+extra+"");wrapper.appendChild(resultName);const description=document.createElement("div");description.className="desc";const spanDesc=document.createElement("span");spanDesc.insertAdjacentHTML("beforeend",item.desc);description.appendChild(spanDesc);wrapper.appendChild(description);link.appendChild(wrapper);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";if(window.ALL_CRATES.length>1){crates=" in "}let typeFilter="";if(results.query.typeFilter!==NO_TYPE_FILTER){typeFilter=" (type: "+escape(itemTypes[results.query.typeFilter])+")"}let output="
"+`

Results for ${escape(results.query.userQuery)}`+`${typeFilter}

${crates}
`;if(results.query.error!==null){output+=`

Query parser error: "${results.query.error}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){const params=searchState.getQueryStringParams();const query=parseQuery(searchState.input.value.trim());if(e){e.preventDefault()}if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}let filterCrates=getFilterCrates();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;let len=paths.length;for(i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:itemFunctionSearchTypes[i],id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="All crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file +"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("titles").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb}else if(nb!==0){printTab(0)}}const levenshtein_row2=[];function levenshtein(s1,s2){if(s1===s2){return 0}const s1_len=s1.length,s2_len=s2.length;if(s1_len&&s2_len){let i1=0,i2=0,a,b,c,c2;const row=levenshtein_row2;while(i1-".indexOf(c)!==-1}function isStopCharacter(c){return isWhitespace(c)||isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){for(let i=0,len=itemTypes.length;i0){throw new Error("Cannot use literal search when there is more than one element")}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw new Error("Unclosed `\"`")}else if(parserState.userQuery[end]!=="\""){throw new Error(`Unexpected \`${parserState.userQuery[end]}\` in a string element`)}else if(start===end){throw new Error("Cannot have empty string element")}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","||isWhitespaceCharacter(c)}function isWhitespaceCharacter(c){return c===" "||c==="\t"}function createQueryElement(query,parserState,name,generics,isInGenerics){if(name==="*"||(name.length===0&&generics.length===0)){return}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw new Error("You cannot have more than one element if you use quotes")}const pathSegments=name.split("::");if(pathSegments.length>1){for(let i=0,len=pathSegments.length;i=end){throw new Error("Found generics without a path")}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;while(parserState.pos"){extra="`<`"}else if(endChar===""){extra="`->`"}throw new Error("Unexpected `"+c+"` after "+extra)}if(!foundStopChar){if(endChar!==""){throw new Error(`Expected \`,\`, \` \` or \`${endChar}\`, found \`${c}\``)}throw new Error(`Expected \`,\` or \` \`, found \`${c}\``)}const posBefore=parserState.pos;getNextElem(query,parserState,elems,endChar===">");if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}parserState.pos+=1}function checkExtraTypeFilterCharacters(parserState){const query=parserState.userQuery;for(let pos=0;pos"){if(isReturnArrow(parserState)){break}throw new Error(`Unexpected \`${c}\` (did you mean \`->\`?)`)}throw new Error(`Unexpected \`${c}\``)}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw new Error("Unexpected `:`")}if(query.elems.length===0){throw new Error("Expected type filter before `:`")}else if(query.elems.length!==1||parserState.totalElems!==1){throw new Error("Unexpected `:`")}else if(query.literalSearch){throw new Error("You cannot use quotes on type filter")}checkExtraTypeFilterCharacters(parserState);parserState.typeFilter=query.elems.pop().name;parserState.pos+=1;parserState.totalElems=0;query.literalSearch=false;foundStopChar=true;continue}if(!foundStopChar){if(parserState.typeFilter!==null){throw new Error(`Expected \`,\`, \` \` or \`->\`, found \`${c}\``)}throw new Error(`Expected \`,\`, \` \`, \`:\` or \`->\`, found \`${c}\``)}before=query.elems.length;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}while(parserState.pos`")}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),typeFilter:NO_TYPE_FILTER,elems:[],returned:[],foundElems:0,literalSearch:false,error:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="All crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);if(parserState.typeFilter!==null){let typeFilter=parserState.typeFilter;if(typeFilter==="const"){typeFilter="constant"}query.typeFilter=itemTypeFromName(typeFilter)}}catch(err){query=newParsedQuery(userQuery);query.error=err.message;query.typeFilter=-1;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others={},results_in_args={},results_returned={};function transformResults(results){const duplicates={};const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.lev=result.lev;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates[obj.fullPath]){continue}duplicates[obj.fullPath]=true;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){const userQuery=parsedQuery.userQuery;const ar=[];for(const entry in results){if(hasOwnPropertyRustdoc(results,entry)){const result=results[entry];result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};ar.push(result)}}results=ar;if(results.length===0){return[]}results.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.lev);b=(bbb.lev);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of results){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(results)}function checkGenerics(row,elem,defaultLev){if(row.generics.length===0){return elem.generics.length===0?defaultLev:MAX_LEV_DISTANCE+1}else if(row.generics.length>0&&row.generics[0].name===null){return checkGenerics(row.generics[0],elem,defaultLev)}let elem_name;if(elem.generics.length>0&&row.generics.length>=elem.generics.length){const elems=Object.create(null);for(const entry of row.generics){elem_name=entry.name;if(elem_name===""){if(checkGenerics(entry,elem,MAX_LEV_DISTANCE+1)!==0){return MAX_LEV_DISTANCE+1}continue}if(elems[elem_name]===undefined){elems[elem_name]=0}elems[elem_name]+=1}for(const generic of elem.generics){let match=null;if(elems[generic.name]){match=generic.name}else{for(elem_name in elems){if(!hasOwnPropertyRustdoc(elems,elem_name)){continue}if(elem_name===generic){match=elem_name;break}}}if(match===null){return MAX_LEV_DISTANCE+1}elems[match]-=1;if(elems[match]===0){delete elems[match]}}return 0}return MAX_LEV_DISTANCE+1}function checkIfInGenerics(row,elem){let lev=MAX_LEV_DISTANCE+1;for(const entry of row.generics){lev=Math.min(checkType(entry,elem,true),lev);if(lev===0){break}}return lev}function checkType(row,elem,literalSearch){if(row.name===null){if(row.generics.length>0){return checkIfInGenerics(row,elem)}return MAX_LEV_DISTANCE+1}let lev=levenshtein(row.name,elem.name);if(literalSearch){if(lev!==0){if(elem.generics.length===0){const checkGeneric=row.generics.length>0;if(checkGeneric&&row.generics.findIndex(tmp_elem=>tmp_elem.name===elem.name)!==-1){return 0}}return MAX_LEV_DISTANCE+1}else if(elem.generics.length>0){return checkGenerics(row,elem,MAX_LEV_DISTANCE+1)}return 0}else if(row.generics.length>0){if(elem.generics.length===0){if(lev===0){return 0}lev=checkIfInGenerics(row,elem);return lev+0.5}else if(lev>MAX_LEV_DISTANCE){return checkIfInGenerics(row,elem)}else{const tmp_lev=checkGenerics(row,elem,lev);if(tmp_lev>MAX_LEV_DISTANCE){return MAX_LEV_DISTANCE+1}return(tmp_lev+lev)/2}}else if(elem.generics.length>0){return MAX_LEV_DISTANCE+1}return lev}function findArg(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.inputs&&row.type.inputs.length>0){for(const input of row.type.inputs){if(!typePassesFilter(typeFilter,input.ty)){continue}lev=Math.min(lev,checkType(input,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkReturned(row,elem,typeFilter){let lev=MAX_LEV_DISTANCE+1;if(row&&row.type&&row.type.output.length>0){const ret=row.type.output;for(const ret_ty of ret){if(!typePassesFilter(typeFilter,ret_ty.ty)){continue}lev=Math.min(lev,checkType(ret_ty,elem,parsedQuery.literalSearch));if(lev===0){return 0}}}return parsedQuery.literalSearch?MAX_LEV_DISTANCE+1:lev}function checkPath(contains,ty){if(contains.length===0){return 0}let ret_lev=MAX_LEV_DISTANCE+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return MAX_LEV_DISTANCE+1}for(let i=0;ilength){break}let lev_total=0;let aborted=false;for(let x=0;xMAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(!aborted){ret_lev=Math.min(ret_lev,Math.round(lev_total/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES[filterCrates]&&ALIASES[filterCrates][lowerQuery]){const query_aliases=ALIASES[filterCrates][lowerQuery];for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{Object.keys(ALIASES).forEach(crate=>{if(ALIASES[crate][lowerQuery]){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=ALIASES[crate][lowerQuery];for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}})}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,lev){if(lev===0||(!parsedQuery.literalSearch&&lev<=MAX_LEV_DISTANCE)){if(results[fullId]!==undefined){const result=results[fullId];if(result.dontValidate||result.lev<=lev){return}}results[fullId]={id:id,index:index,dontValidate:parsedQuery.literalSearch,lev:lev,}}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let lev,lev_add=0,index=-1;const fullId=row.id;const in_args=findArg(row,elem,parsedQuery.typeFilter);const returned=checkReturned(row,elem,parsedQuery.typeFilter);addIntoResults(results_in_args,fullId,pos,index,in_args);addIntoResults(results_returned,fullId,pos,index,returned);if(!typePassesFilter(parsedQuery.typeFilter,row.ty)){return}const searchWord=searchWords[pos];if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,-1,0)}return}if(elem.name.length===0){if(row.type!==null){lev=checkGenerics(row.type,elem,MAX_LEV_DISTANCE+1);addIntoResults(results_others,fullId,pos,index,lev)}return}if(elem.fullPath.length>1){lev=checkPath(elem.pathWithoutLast,row);if(lev>MAX_LEV_DISTANCE||(parsedQuery.literalSearch&&lev!==0)){return}else if(lev>0){lev_add=lev/10}}if(searchWord.indexOf(elem.pathLast)>-1||row.normalizedName.indexOf(elem.pathLast)>-1){index=row.normalizedName.indexOf(elem.pathLast)}lev=levenshtein(searchWord,elem.pathLast);if(lev>0&&elem.pathLast.length>2&&searchWord.indexOf(elem.pathLast)>-1){if(elem.pathLast.length<6){lev=1}else{lev=0}}lev+=lev_add;if(lev>MAX_LEV_DISTANCE){return}else if(index!==-1&&elem.fullPath.length<2){lev-=1}if(lev<0){lev=0}addIntoResults(results_others,fullId,pos,index,lev)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let totalLev=0;let nbLev=0;function checkArgs(elems,callback){for(const elem of elems){const lev=callback(row,elem,NO_TYPE_FILTER);if(lev<=1){nbLev+=1;totalLev+=lev}else{return false}}return true}if(!checkArgs(parsedQuery.elems,findArg)){return}if(!checkArgs(parsedQuery.returned,checkReturned)){return}if(nbLev===0){return}const lev=Math.round(totalLev/nbLev);addIntoResults(results,row.id,pos,0,lev)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||levenshtein(name,key)<=MAX_LEV_DISTANCE)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#titles > button").item(searchState.currentTab);if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function escape(content){const h1=document.createElement("h1");h1.textContent=content;return h1.innerHTML}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];length+=1;let extra="";if(type==="primitive"){extra=" (primitive type)"}else if(type==="keyword"){extra=" (keyword)"}const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const wrapper=document.createElement("div");const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend"," - see ");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",item.displayPath+""+name+extra+"");wrapper.appendChild(resultName);const description=document.createElement("div");description.className="desc";const spanDesc=document.createElement("span");spanDesc.insertAdjacentHTML("beforeend",item.desc);description.appendChild(spanDesc);wrapper.appendChild(description);link.appendChild(wrapper);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==searchState.loadingText))){const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in "}let typeFilter="";if(results.query.typeFilter!==NO_TYPE_FILTER){typeFilter=" (type: "+escape(itemTypes[results.query.typeFilter])+")"}let output="
"+`

Results for ${escape(results.query.userQuery)}`+`${typeFilter}

${crates}
`;if(results.query.error!==null){output+=`

Query parser error: "${results.query.error}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("titles").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function search(e,forced){const params=searchState.getQueryStringParams();const query=parseQuery(searchState.input.value.trim());if(e){e.preventDefault()}if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}let filterCrates=getFilterCrates();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";if(browserSupportsHistoryApi()){const newURL=buildUrl(query.original,filterCrates);if(!history.state&&!params.search){history.pushState(null,"",newURL)}else{history.replaceState(null,"",newURL)}}showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{name:pathIndex===0?null:lowercasePaths[pathIndex-1].name,ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];let i,word;let currentIndex=0;let id=0;for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=crateCorpus.q;const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){ALIASES[crate]=Object.create(null);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}if(!hasOwnPropertyRustdoc(ALIASES[crate],alias_name)){ALIASES[crate][alias_name]=[]}for(const local_alias of aliases[alias_name]){ALIASES[crate][alias_name].push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){if(browserSupportsHistoryApi()){history.replaceState(null,window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="All crates"){const params=searchState.getQueryStringParams();const query=searchState.input.value.trim();if(!history.state&&!params.search){history.pushState(null,"",buildUrl(query,null))}else{history.replaceState(null,"",buildUrl(query,null))}}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file diff --git a/docs/api/settings.css b/docs/api/settings.css index 2be35b25..a142e14f 100644 --- a/docs/api/settings.css +++ b/docs/api/settings.css @@ -1 +1 @@ -.setting-line{margin:0.6em 0 0.6em 0.3em;position:relative;}.setting-line .choices{display:flex;flex-wrap:wrap;}.setting-line .radio-line input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:1px solid;outline:none;-webkit-appearance:none;cursor:pointer;border-radius:50%;}.setting-line .radio-line input+span{padding-bottom:1px;}.radio-line .setting-name{width:100%;}.radio-line .choice{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:flex;align-items:center;cursor:pointer;}.radio-line .choice+.choice{margin-left:0.5em;}.toggle{position:relative;display:inline-block;width:100%;height:27px;margin-right:20px;display:flex;align-items:center;cursor:pointer;}.toggle input{opacity:0;position:absolute;}.slider{position:relative;width:45px;display:block;height:28px;margin-right:20px;cursor:pointer;background-color:#ccc;transition:.3s;}.slider:before{position:absolute;content:"";height:19px;width:19px;left:4px;bottom:4px;transition:.3s;}input:checked+.slider:before{transform:translateX(19px);}.setting-line>.sub-settings{padding-left:42px;width:100%;display:block;}div#settings{position:absolute;right:0;z-index:1;display:block;margin-top:7px;border-radius:3px;border:1px solid;}#settings .setting-line{margin:1.2em 0.6em;}div#settings::before{content:'';position:absolute;right:11px;border:solid;border-width:1px 1px 0 0;display:inline-block;padding:4px;transform:rotate(-45deg);top:-5px;} \ No newline at end of file +.setting-line{margin:0.6em 0 0.6em 0.3em;position:relative;}.setting-line .choices{display:flex;flex-wrap:wrap;}.setting-line .radio-line input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:1px solid;outline:none;-webkit-appearance:none;cursor:pointer;border-radius:50%;}.setting-line .radio-line input+span{padding-bottom:1px;}.radio-line .setting-name{width:100%;}.radio-line .choice{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:flex;align-items:center;cursor:pointer;}.radio-line .choice+.choice{margin-left:0.5em;}.toggle{position:relative;width:100%;margin-right:20px;display:flex;align-items:center;cursor:pointer;}.toggle input{opacity:0;position:absolute;}.slider{position:relative;width:45px;min-width:45px;display:block;height:28px;margin-right:20px;cursor:pointer;background-color:#ccc;transition:.3s;}.slider:before{position:absolute;content:"";height:19px;width:19px;left:4px;bottom:4px;transition:.3s;}input:checked+.slider:before{transform:translateX(19px);}.setting-line>.sub-settings{padding-left:42px;width:100%;display:block;}#settings .setting-line{margin:1.2em 0.6em;} \ No newline at end of file diff --git a/docs/api/settings.html b/docs/api/settings.html index 218cf13d..1d7c7381 100644 --- a/docs/api/settings.html +++ b/docs/api/settings.html @@ -1,9 +1 @@ -Rustdoc settings - -

Rustdoc settings

Back
- \ No newline at end of file +Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/docs/api/settings.js b/docs/api/settings.js index 35d65a9f..df27fca4 100644 --- a/docs/api/settings.js +++ b/docs/api/settings.js @@ -8,4 +8,4 @@ \ \ ${setting_name}\ - `}output+=""}return output}function buildSettingsPage(){const themes=getVar("themes").split(",");const settings=[{"name":"Use system theme","js_name":"use-system-theme","default":true,},{"name":"Theme","js_name":"theme","default":"light","options":themes,},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":themes,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":themes,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
${buildSettingsPageSections(settings)}
`;const el=document.createElement(elementKind);el.id="settings";el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display=""}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event){const settingsButton=getSettingsButton();if(!elemIsInParent(document.activeElement,settingsButton)&&!elemIsInParent(event.relatedTarget,settingsButton)){window.hideSettings()}}if(isSettingsPage){getSettingsButton().onclick=function(event){event.preventDefault()}}else{const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");window.hideSettings=function(){settingsMenu.style.display="none"};settingsButton.onclick=function(event){if(elemIsInParent(event.target,settingsMenu)){return}event.preventDefault();if(settingsMenu.style.display!=="none"){window.hideSettings()}else{displaySettings()}};settingsButton.onblur=blurHandler;settingsButton.querySelector("a").onblur=blurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=blurHandler});settingsMenu.onblur=blurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file + `}output+=""}return output}function buildSettingsPage(){const themes=getVar("themes").split(",");const settings=[{"name":"Use system theme","js_name":"use-system-theme","default":true,},{"name":"Theme","js_name":"theme","default":"light","options":themes,},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":themes,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":themes,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
${buildSettingsPageSections(settings)}
`;const el=document.createElement(elementKind);el.id="settings";el.className="popover";el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display=""}function settingsBlurHandler(event){blurHandler(event,getSettingsButton(),window.hidePopoverMenus)}if(isSettingsPage){getSettingsButton().onclick=function(event){event.preventDefault()}}else{const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");settingsButton.onclick=function(event){if(elemIsInParent(event.target,settingsMenu)){return}event.preventDefault();const shouldDisplaySettings=settingsMenu.style.display==="none";window.hidePopoverMenus();if(shouldDisplaySettings){displaySettings()}};settingsButton.onblur=settingsBlurHandler;settingsButton.querySelector("a").onblur=settingsBlurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=settingsBlurHandler});settingsMenu.onblur=settingsBlurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file diff --git a/docs/api/source-files.js b/docs/api/source-files.js index 125f2d0d..73f93150 100644 --- a/docs/api/source-files.js +++ b/docs/api/source-files.js @@ -1,5 +1,6 @@ -var sourcesIndex = {}; -sourcesIndex["cargo_make"] = {"name":"","files":["main.rs"]}; -sourcesIndex["cli"] = {"name":"","dirs":[{"name":"cli_commands","files":["diff_steps.rs","list_steps.rs","mod.rs","print_steps.rs"]},{"name":"descriptor","dirs":[{"name":"makefiles","files":["mod.rs"]}],"files":["cargo_alias.rs","descriptor_deserializer.rs","mod.rs"]},{"name":"environment","files":["crateinfo.rs","mod.rs"]},{"name":"functions","files":["decode_func.rs","getat_func.rs","mod.rs","remove_empty_func.rs","split_func.rs","trim_func.rs"]},{"name":"installer","files":["cargo_plugin_installer.rs","crate_installer.rs","crate_version_check.rs","mod.rs","rustup_component_installer.rs"]},{"name":"plugin","dirs":[{"name":"sdk","files":["cm_plugin_check_task_condition.rs","cm_plugin_force_plugin_clear.rs","cm_plugin_force_plugin_set.rs","cm_plugin_run_task.rs","mod.rs"]}],"files":["descriptor.rs","mod.rs","runner.rs","types.rs"]},{"name":"scriptengine","dirs":[{"name":"duck_script","dirs":[{"name":"sdk","files":["cm_run_task.rs","mod.rs"]}],"files":["mod.rs"]}],"files":["generic_script.rs","mod.rs","os_script.rs","rsscript.rs","script_utils.rs","shebang_script.rs","shell_to_batch.rs"]}],"files":["cache.rs","cli.rs","cli_parser.rs","command.rs","condition.rs","config.rs","execution_plan.rs","io.rs","legacy.rs","logger.rs","mod.rs","profile.rs","proxy_task.rs","recursion_level.rs","runner.rs","storage.rs","time_summary.rs","toolchain.rs","types.rs","version.rs"]}; -sourcesIndex["makers"] = {"name":"","files":["makers.rs"]}; +var sourcesIndex = JSON.parse('{\ +"cargo_make":["",[],["main.rs"]],\ +"cli":["",[["cli_commands",[],["diff_steps.rs","list_steps.rs","mod.rs","print_steps.rs"]],["descriptor",[["makefiles",[],["mod.rs"]]],["cargo_alias.rs","descriptor_deserializer.rs","mod.rs"]],["environment",[],["crateinfo.rs","mod.rs"]],["functions",[],["decode_func.rs","getat_func.rs","mod.rs","remove_empty_func.rs","split_func.rs","trim_func.rs"]],["installer",[],["cargo_plugin_installer.rs","crate_installer.rs","crate_version_check.rs","mod.rs","rustup_component_installer.rs"]],["plugin",[["sdk",[],["cm_plugin_check_task_condition.rs","cm_plugin_force_plugin_clear.rs","cm_plugin_force_plugin_set.rs","cm_plugin_run_custom_task.rs","cm_plugin_run_task.rs","mod.rs"]]],["descriptor.rs","mod.rs","runner.rs","types.rs"]],["scriptengine",[["duck_script",[["sdk",[],["cm_run_task.rs","mod.rs"]]],["mod.rs"]]],["generic_script.rs","mod.rs","os_script.rs","rsscript.rs","script_utils.rs","shebang_script.rs","shell_to_batch.rs"]]],["cache.rs","cli.rs","cli_parser.rs","command.rs","condition.rs","config.rs","execution_plan.rs","io.rs","legacy.rs","logger.rs","mod.rs","profile.rs","proxy_task.rs","recursion_level.rs","runner.rs","storage.rs","time_summary.rs","toolchain.rs","types.rs","version.rs"]],\ +"makers":["",[],["makers.rs"]]\ +}'); createSourceSidebar(); diff --git a/docs/api/source-script.js b/docs/api/source-script.js index 17c16a2c..e0fac073 100644 --- a/docs/api/source-script.js +++ b/docs/api/source-script.js @@ -1 +1 @@ -"use strict";(function(){function getCurrentFilePath(){const parts=window.location.pathname.split("/");const rootPathParts=window.rootPath.split("/");for(const rootPathPart of rootPathParts){if(rootPathPart===".."){parts.pop()}}let file=window.location.pathname.substring(parts.join("/").length);if(file.startsWith("/")){file=file.substring(1)}return file.substring(0,file.length-5)}function createDirEntry(elem,parent,fullPath,currentFile,hasFoundFile){const name=document.createElement("div");name.className="name";fullPath+=elem["name"]+"/";name.onclick=()=>{if(hasClass(this,"expand")){removeClass(this,"expand")}else{addClass(this,"expand")}};name.innerText=elem["name"];const children=document.createElement("div");children.className="children";const folders=document.createElement("div");folders.className="folders";if(elem.dirs){for(const dir of elem.dirs){if(createDirEntry(dir,folders,fullPath,currentFile,hasFoundFile)){addClass(name,"expand");hasFoundFile=true}}}children.appendChild(folders);const files=document.createElement("div");files.className="files";if(elem.files){for(const file_text of elem.files){const file=document.createElement("a");file.innerText=file_text;file.href=window.rootPath+"src/"+fullPath+file_text+".html";if(!hasFoundFile&¤tFile===fullPath+file_text){file.className="selected";addClass(name,"expand");hasFoundFile=true}files.appendChild(file)}}children.appendChild(files);parent.appendChild(name);parent.appendChild(children);return hasFoundFile&¤tFile.startsWith(fullPath)}function toggleSidebar(){const sidebar=document.querySelector("nav.sidebar");const child=this.children[0];if(child.innerText===">"){sidebar.classList.add("expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{sidebar.classList.remove("expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";sidebarToggle.onclick=toggleSidebar;const inner=document.createElement("div");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){if(!window.rootPath.endsWith("/")){window.rootPath+="/"}const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";if(getCurrentValue("source-sidebar-show")!=="true"){container.classList.remove("expanded")}else{container.classList.add("expanded")}const currentFile=getCurrentFilePath();let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key].name=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",currentFile,hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=/^#?(\d+)(?:-(\d+))?$/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to{onEachLazy(e.getElementsByTagName("span"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})() \ No newline at end of file +"use strict";(function(){const rootPath=document.getElementById("rustdoc-vars").attributes["data-root-path"].value;let oldScrollPosition=0;const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;function closeSidebarIfMobile(){if(window.innerWidth"){if(window.innerWidth";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=/^#?(\d+)(?:-(\d+))?$/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to{onEachLazy(e.getElementsByTagName("span"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})() \ No newline at end of file diff --git a/docs/api/src/cargo_make/main.rs.html b/docs/api/src/cargo_make/main.rs.html index 6e31842c..32340ba7 100644 --- a/docs/api/src/cargo_make/main.rs.html +++ b/docs/api/src/cargo_make/main.rs.html @@ -1,11 +1,4 @@ -main.rs - source - -
1
+main.rs - source
1
 2
 3
 4
@@ -84,5 +77,4 @@
     cli::run_cli(name, true);
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/cache.rs.html b/docs/api/src/cli/cache.rs.html index 9a6dde80..a15cd440 100644 --- a/docs/api/src/cli/cache.rs.html +++ b/docs/api/src/cli/cache.rs.html @@ -1,11 +1,4 @@ -cache.rs - source - -
1
+cache.rs - source
1
 2
 3
 4
@@ -212,5 +205,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/cli.rs.html b/docs/api/src/cli/cli.rs.html index 0a6f96b6..51cf0d8c 100644 --- a/docs/api/src/cli/cli.rs.html +++ b/docs/api/src/cli/cli.rs.html @@ -1,11 +1,4 @@ -cli.rs - source - -
1
+cli.rs - source
1
 2
 3
 4
@@ -352,5 +345,4 @@
     run(cli_args, &global_config);
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/cli_commands/diff_steps.rs.html b/docs/api/src/cli/cli_commands/diff_steps.rs.html index 5b29d742..a97dae8e 100644 --- a/docs/api/src/cli/cli_commands/diff_steps.rs.html +++ b/docs/api/src/cli/cli_commands/diff_steps.rs.html @@ -1,11 +1,4 @@ -diff_steps.rs - source - -
1
+diff_steps.rs - source
1
 2
 3
 4
@@ -178,5 +171,4 @@
     info!("Done");
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/cli_commands/list_steps.rs.html b/docs/api/src/cli/cli_commands/list_steps.rs.html index c500d14d..be4d9e32 100644 --- a/docs/api/src/cli/cli_commands/list_steps.rs.html +++ b/docs/api/src/cli/cli_commands/list_steps.rs.html @@ -1,11 +1,4 @@ -list_steps.rs - source - -
1
+list_steps.rs - source
1
 2
 3
 4
@@ -314,5 +307,4 @@
     (buffer, count)
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/cli_commands/mod.rs.html b/docs/api/src/cli/cli_commands/mod.rs.html index 40fc8d8b..36f64b2a 100644 --- a/docs/api/src/cli/cli_commands/mod.rs.html +++ b/docs/api/src/cli/cli_commands/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -22,5 +15,4 @@
 pub(crate) mod list_steps;
 pub(crate) mod print_steps;
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/cli_commands/print_steps.rs.html b/docs/api/src/cli/cli_commands/print_steps.rs.html index e04ae482..d4d71469 100644 --- a/docs/api/src/cli/cli_commands/print_steps.rs.html +++ b/docs/api/src/cli/cli_commands/print_steps.rs.html @@ -1,11 +1,4 @@ -print_steps.rs - source - -
1
+print_steps.rs - source
1
 2
 3
 4
@@ -202,5 +195,4 @@
     };
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/cli_parser.rs.html b/docs/api/src/cli/cli_parser.rs.html index 7dd7883c..836f5e5d 100644 --- a/docs/api/src/cli/cli_parser.rs.html +++ b/docs/api/src/cli/cli_parser.rs.html @@ -1,11 +1,4 @@ -cli_parser.rs - source - -
1
+cli_parser.rs - source
1
 2
 3
 4
@@ -1006,5 +999,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/command.rs.html b/docs/api/src/cli/command.rs.html index 63ba21db..2925944a 100644 --- a/docs/api/src/cli/command.rs.html +++ b/docs/api/src/cli/command.rs.html @@ -1,11 +1,4 @@ -command.rs - source - -
1
+command.rs - source
1
 2
 3
 4
@@ -612,5 +605,4 @@
     };
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/condition.rs.html b/docs/api/src/cli/condition.rs.html index fa9894e8..83f981a2 100644 --- a/docs/api/src/cli/condition.rs.html +++ b/docs/api/src/cli/condition.rs.html @@ -1,11 +1,4 @@ -condition.rs - source - -
1
+condition.rs - source
1
 2
 3
 4
@@ -684,5 +677,4 @@
     )
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/config.rs.html b/docs/api/src/cli/config.rs.html index 39db002b..95d78e27 100644 --- a/docs/api/src/cli/config.rs.html +++ b/docs/api/src/cli/config.rs.html @@ -1,11 +1,4 @@ -config.rs - source - -
1
+config.rs - source
1
 2
 3
 4
@@ -120,5 +113,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/descriptor/cargo_alias.rs.html b/docs/api/src/cli/descriptor/cargo_alias.rs.html index ebb6c837..7251a8de 100644 --- a/docs/api/src/cli/descriptor/cargo_alias.rs.html +++ b/docs/api/src/cli/descriptor/cargo_alias.rs.html @@ -1,11 +1,4 @@ -cargo_alias.rs - source - -
1
+cargo_alias.rs - source
1
 2
 3
 4
@@ -136,5 +129,4 @@
     load_from_file("./.cargo/config.toml")
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/descriptor/descriptor_deserializer.rs.html b/docs/api/src/cli/descriptor/descriptor_deserializer.rs.html index 65db4c30..611b8b81 100644 --- a/docs/api/src/cli/descriptor/descriptor_deserializer.rs.html +++ b/docs/api/src/cli/descriptor/descriptor_deserializer.rs.html @@ -1,11 +1,4 @@ -descriptor_deserializer.rs - source - -
1
+descriptor_deserializer.rs - source
1
 2
 3
 4
@@ -112,5 +105,4 @@
     config
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/descriptor/makefiles/mod.rs.html b/docs/api/src/cli/descriptor/makefiles/mod.rs.html index bf73ef83..d765a88e 100644 --- a/docs/api/src/cli/descriptor/makefiles/mod.rs.html +++ b/docs/api/src/cli/descriptor/makefiles/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -50,5 +43,4 @@
 );
 pub(crate) static BETA: &str = include_str!("beta.toml");
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/descriptor/mod.rs.html b/docs/api/src/cli/descriptor/mod.rs.html index 7d25b336..c02692cd 100644 --- a/docs/api/src/cli/descriptor/mod.rs.html +++ b/docs/api/src/cli/descriptor/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -1380,5 +1373,4 @@
     Ok(config)
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/environment/crateinfo.rs.html b/docs/api/src/cli/environment/crateinfo.rs.html index 8626bb18..ba77c0d1 100644 --- a/docs/api/src/cli/environment/crateinfo.rs.html +++ b/docs/api/src/cli/environment/crateinfo.rs.html @@ -1,11 +1,4 @@ -crateinfo.rs - source - -
1
+crateinfo.rs - source
1
 2
 3
 4
@@ -664,5 +657,4 @@
         .ok()
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/environment/mod.rs.html b/docs/api/src/cli/environment/mod.rs.html index 48d54cb7..2dd63ec2 100644 --- a/docs/api/src/cli/environment/mod.rs.html +++ b/docs/api/src/cli/environment/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -1682,5 +1675,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/execution_plan.rs.html b/docs/api/src/cli/execution_plan.rs.html index e72acd75..6484762a 100644 --- a/docs/api/src/cli/execution_plan.rs.html +++ b/docs/api/src/cli/execution_plan.rs.html @@ -1,11 +1,4 @@ -execution_plan.rs - source - -
1
+execution_plan.rs - source
1
 2
 3
 4
@@ -982,5 +975,4 @@
     ExecutionPlan { steps }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/functions/decode_func.rs.html b/docs/api/src/cli/functions/decode_func.rs.html index 70936924..0f7b1b51 100644 --- a/docs/api/src/cli/functions/decode_func.rs.html +++ b/docs/api/src/cli/functions/decode_func.rs.html @@ -1,11 +1,4 @@ -decode_func.rs - source - -
1
+decode_func.rs - source
1
 2
 3
 4
@@ -122,5 +115,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/functions/getat_func.rs.html b/docs/api/src/cli/functions/getat_func.rs.html index 75512739..56b56474 100644 --- a/docs/api/src/cli/functions/getat_func.rs.html +++ b/docs/api/src/cli/functions/getat_func.rs.html @@ -1,11 +1,4 @@ -getat_func.rs - source - -
1
+getat_func.rs - source
1
 2
 3
 4
@@ -100,5 +93,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/functions/mod.rs.html b/docs/api/src/cli/functions/mod.rs.html index 81138dff..40ba5780 100644 --- a/docs/api/src/cli/functions/mod.rs.html +++ b/docs/api/src/cli/functions/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -260,5 +253,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/functions/remove_empty_func.rs.html b/docs/api/src/cli/functions/remove_empty_func.rs.html index e4bcc17b..ae9afbc5 100644 --- a/docs/api/src/cli/functions/remove_empty_func.rs.html +++ b/docs/api/src/cli/functions/remove_empty_func.rs.html @@ -1,11 +1,4 @@ -remove_empty_func.rs - source - -
1
+remove_empty_func.rs - source
1
 2
 3
 4
@@ -58,5 +51,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/functions/split_func.rs.html b/docs/api/src/cli/functions/split_func.rs.html index 0a6c1c36..04e97e45 100644 --- a/docs/api/src/cli/functions/split_func.rs.html +++ b/docs/api/src/cli/functions/split_func.rs.html @@ -1,11 +1,4 @@ -split_func.rs - source - -
1
+split_func.rs - source
1
 2
 3
 4
@@ -76,5 +69,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/functions/trim_func.rs.html b/docs/api/src/cli/functions/trim_func.rs.html index 57dc45f0..1666e93a 100644 --- a/docs/api/src/cli/functions/trim_func.rs.html +++ b/docs/api/src/cli/functions/trim_func.rs.html @@ -1,11 +1,4 @@ -trim_func.rs - source - -
1
+trim_func.rs - source
1
 2
 3
 4
@@ -90,5 +83,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/installer/cargo_plugin_installer.rs.html b/docs/api/src/cli/installer/cargo_plugin_installer.rs.html index c1636332..4ec7364a 100644 --- a/docs/api/src/cli/installer/cargo_plugin_installer.rs.html +++ b/docs/api/src/cli/installer/cargo_plugin_installer.rs.html @@ -1,11 +1,4 @@ -cargo_plugin_installer.rs - source - -
1
+cargo_plugin_installer.rs - source
1
 2
 3
 4
@@ -163,6 +156,8 @@
 156
 157
 158
+159
+160
 
//! # cargo_plugin_installer
 //!
 //! Installs cargo plugins automatically if needed.
@@ -287,9 +282,11 @@
     validate: bool,
     min_version: &Option<String>,
     install_command: &Option<String>,
+    allow_force: &Option<bool>,
 ) {
     let installed = is_crate_installed(&toolchain, cargo_command);
     let mut force = false;
+    let allow_force_value = allow_force.unwrap_or(true);
     let run_installation = if !installed {
         true
     } else if toolchain.is_none() {
@@ -298,7 +295,7 @@
                 if crate_version_check::is_min_version_valid(&crate_name, version, None) {
                     false
                 } else {
-                    force = true;
+                    force = allow_force_value;
                     true
                 }
             }
@@ -322,5 +319,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/installer/crate_installer.rs.html b/docs/api/src/cli/installer/crate_installer.rs.html index ec8175f4..355ed2df 100644 --- a/docs/api/src/cli/installer/crate_installer.rs.html +++ b/docs/api/src/cli/installer/crate_installer.rs.html @@ -1,11 +1,4 @@ -crate_installer.rs - source - -
1
+crate_installer.rs - source
1
 2
 3
 4
@@ -174,7 +167,7 @@
 
     let install_args = cargo_plugin_installer::get_install_crate_args(
         &info.crate_name,
-        true,
+        info.force.unwrap_or(true),
         &args,
         version_option,
         &info.install_command,
@@ -242,5 +235,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/installer/crate_version_check.rs.html b/docs/api/src/cli/installer/crate_version_check.rs.html index 002a4f83..852d8584 100644 --- a/docs/api/src/cli/installer/crate_version_check.rs.html +++ b/docs/api/src/cli/installer/crate_version_check.rs.html @@ -1,11 +1,4 @@ -crate_version_check.rs - source - -
1
+crate_version_check.rs - source
1
 2
 3
 4
@@ -460,5 +453,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/installer/mod.rs.html b/docs/api/src/cli/installer/mod.rs.html index 8c668d81..adffcee1 100644 --- a/docs/api/src/cli/installer/mod.rs.html +++ b/docs/api/src/cli/installer/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -182,6 +175,9 @@
 175
 176
 177
+178
+179
+180
 
//! # installer
 //!
 //! Installs external dependencies for tasks.<br>
@@ -283,6 +279,7 @@
                     validate,
                     &None,
                     &None,
+                    &None,
                 );
             }
             InstallCrate::CargoPluginInfo(ref install_info) => {
@@ -317,6 +314,7 @@
                     validate,
                     &install_info.min_version,
                     &install_info.install_command,
+                    &install_info.force,
                 );
             }
             InstallCrate::CrateInfo(ref install_info) => crate_installer::install(
@@ -352,6 +350,7 @@
                         validate,
                         &None,
                         &None,
+                        &None,
                     );
                 }
                 None => debug!("No installation script defined."),
@@ -360,5 +359,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/installer/rustup_component_installer.rs.html b/docs/api/src/cli/installer/rustup_component_installer.rs.html index 1a101a73..b773901b 100644 --- a/docs/api/src/cli/installer/rustup_component_installer.rs.html +++ b/docs/api/src/cli/installer/rustup_component_installer.rs.html @@ -1,11 +1,4 @@ -rustup_component_installer.rs - source - -
1
+rustup_component_installer.rs - source
1
 2
 3
 4
@@ -282,5 +275,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/io.rs.html b/docs/api/src/cli/io.rs.html index b274ca07..0d03ce37 100644 --- a/docs/api/src/cli/io.rs.html +++ b/docs/api/src/cli/io.rs.html @@ -1,11 +1,4 @@ -io.rs - source - -
1
+io.rs - source
1
 2
 3
 4
@@ -324,5 +317,4 @@
     fsio_path::canonicalize_or(path_string, path_string)
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/legacy.rs.html b/docs/api/src/cli/legacy.rs.html index 31bc164c..1cad4041 100644 --- a/docs/api/src/cli/legacy.rs.html +++ b/docs/api/src/cli/legacy.rs.html @@ -1,11 +1,4 @@ -legacy.rs - source - -
1
+legacy.rs - source
1
 2
 3
 4
@@ -194,5 +187,4 @@
     );
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/logger.rs.html b/docs/api/src/cli/logger.rs.html index 7117d53a..0d4768c0 100644 --- a/docs/api/src/cli/logger.rs.html +++ b/docs/api/src/cli/logger.rs.html @@ -1,11 +1,4 @@ -logger.rs - source - -
1
+logger.rs - source
1
 2
 3
 4
@@ -358,5 +351,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/mod.rs.html b/docs/api/src/cli/mod.rs.html index 1b4889f2..2556033a 100644 --- a/docs/api/src/cli/mod.rs.html +++ b/docs/api/src/cli/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -230,6 +223,8 @@
 223
 224
 225
+226
+227
 
#![deny(
     absolute_paths_not_starting_with_crate,
     ambiguous_associated_items,
@@ -290,6 +285,7 @@
     missing_fragment_specifier,
     mixed_script_confusables,
     mutable_transmutes,
+    named_arguments_used_positionally,
     named_asm_labels,
     no_mangle_const_items,
     no_mangle_generic_items,
@@ -312,6 +308,7 @@
     proc_macro_derive_resolution_fallback,
     pub_use_of_private_extern_crate,
     redundant_semicolons,
+    repr_transparent_external_private_fields,
     rust_2021_incompatible_closure_captures,
     rust_2021_incompatible_or_patterns,
     rust_2021_prefixes_incompatible_syntax,
@@ -456,5 +453,4 @@
     cli::run_cli(command_name, sub_command)
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/descriptor.rs.html b/docs/api/src/cli/plugin/descriptor.rs.html index e6875018..a21dd296 100644 --- a/docs/api/src/cli/plugin/descriptor.rs.html +++ b/docs/api/src/cli/plugin/descriptor.rs.html @@ -1,11 +1,4 @@ -descriptor.rs - source - -
1
+descriptor.rs - source
1
 2
 3
 4
@@ -144,5 +137,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/mod.rs.html b/docs/api/src/cli/plugin/mod.rs.html index 197def87..04e5017e 100644 --- a/docs/api/src/cli/plugin/mod.rs.html +++ b/docs/api/src/cli/plugin/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -24,5 +17,4 @@
 mod sdk;
 pub(crate) mod types;
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/runner.rs.html b/docs/api/src/cli/plugin/runner.rs.html index 942c8cc5..e932cd0f 100644 --- a/docs/api/src/cli/plugin/runner.rs.html +++ b/docs/api/src/cli/plugin/runner.rs.html @@ -1,11 +1,4 @@ -runner.rs - source - -
1
+runner.rs - source
1
 2
 3
 4
@@ -630,5 +623,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/sdk/cm_plugin_check_task_condition.rs.html b/docs/api/src/cli/plugin/sdk/cm_plugin_check_task_condition.rs.html index 1b2bc10b..7450d5cb 100644 --- a/docs/api/src/cli/plugin/sdk/cm_plugin_check_task_condition.rs.html +++ b/docs/api/src/cli/plugin/sdk/cm_plugin_check_task_condition.rs.html @@ -1,11 +1,4 @@ -cm_plugin_check_task_condition.rs - source - -
1
+cm_plugin_check_task_condition.rs - source
1
 2
 3
 4
@@ -88,5 +81,4 @@
     })
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/sdk/cm_plugin_force_plugin_clear.rs.html b/docs/api/src/cli/plugin/sdk/cm_plugin_force_plugin_clear.rs.html index 317c1dfc..2a2eb139 100644 --- a/docs/api/src/cli/plugin/sdk/cm_plugin_force_plugin_clear.rs.html +++ b/docs/api/src/cli/plugin/sdk/cm_plugin_force_plugin_clear.rs.html @@ -1,11 +1,4 @@ -cm_plugin_force_plugin_clear.rs - source - -
1
+cm_plugin_force_plugin_clear.rs - source
1
 2
 3
 4
@@ -74,5 +67,4 @@
     Box::new(CommandImpl { flow_state })
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/sdk/cm_plugin_force_plugin_set.rs.html b/docs/api/src/cli/plugin/sdk/cm_plugin_force_plugin_set.rs.html index 38d475ff..f55f7223 100644 --- a/docs/api/src/cli/plugin/sdk/cm_plugin_force_plugin_set.rs.html +++ b/docs/api/src/cli/plugin/sdk/cm_plugin_force_plugin_set.rs.html @@ -1,11 +1,4 @@ -cm_plugin_force_plugin_set.rs - source - -
1
+cm_plugin_force_plugin_set.rs - source
1
 2
 3
 4
@@ -90,5 +83,4 @@
     })
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/sdk/cm_plugin_run_custom_task.rs.html b/docs/api/src/cli/plugin/sdk/cm_plugin_run_custom_task.rs.html new file mode 100644 index 00000000..0031b30f --- /dev/null +++ b/docs/api/src/cli/plugin/sdk/cm_plugin_run_custom_task.rs.html @@ -0,0 +1,148 @@ +cm_plugin_run_custom_task.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+
//! # cm_run_task
+//!
+//! Enables to run cargo-make tasks from within duckscript.
+//!
+
+#[cfg(test)]
+#[path = "cm_plugin_run_custom_task_test.rs"]
+mod cm_plugin_run_custom_task_test;
+
+use crate::runner;
+use crate::types::{FlowInfo, FlowState, RunTaskOptions, Step, Task};
+use duckscript::types::command::{Command, CommandResult};
+use serde_json;
+use std::cell::RefCell;
+use std::rc::Rc;
+
+#[derive(Clone)]
+pub(crate) struct CommandImpl {
+    flow_info: FlowInfo,
+    flow_state: Rc<RefCell<FlowState>>,
+    step: Step,
+}
+
+impl Command for CommandImpl {
+    fn name(&self) -> String {
+        "cm_plugin_run_custom_task".to_string()
+    }
+
+    fn clone_and_box(&self) -> Box<dyn Command> {
+        Box::new((*self).clone())
+    }
+
+    fn run(&self, arguments: Vec<String>) -> CommandResult {
+        if arguments.is_empty() {
+            CommandResult::Error("No task data provided.".to_string())
+        } else {
+            let task: Task = match serde_json::from_str(&arguments[0]) {
+                Ok(value) => value,
+                Err(error) => return CommandResult::Error(error.to_string()),
+            };
+
+            let custom_step = Step {
+                name: self.step.name.clone(),
+                config: task,
+            };
+
+            let options = RunTaskOptions {
+                plugins_enabled: false,
+            };
+
+            runner::run_task_with_options(
+                &self.flow_info,
+                self.flow_state.clone(),
+                &custom_step,
+                &options,
+            );
+
+            CommandResult::Continue(Some("true".to_string()))
+        }
+    }
+}
+
+pub(crate) fn create(
+    flow_info: &FlowInfo,
+    flow_state: Rc<RefCell<FlowState>>,
+    step: &Step,
+) -> Box<dyn Command> {
+    Box::new(CommandImpl {
+        flow_info: flow_info.clone(),
+        flow_state,
+        step: step.clone(),
+    })
+}
+
+
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/sdk/cm_plugin_run_task.rs.html b/docs/api/src/cli/plugin/sdk/cm_plugin_run_task.rs.html index dacdcbff..03e850c8 100644 --- a/docs/api/src/cli/plugin/sdk/cm_plugin_run_task.rs.html +++ b/docs/api/src/cli/plugin/sdk/cm_plugin_run_task.rs.html @@ -1,11 +1,4 @@ -cm_plugin_run_task.rs - source - -
1
+cm_plugin_run_task.rs - source
1
 2
 3
 4
@@ -122,5 +115,4 @@
     })
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/sdk/mod.rs.html b/docs/api/src/cli/plugin/sdk/mod.rs.html index 3590074e..f8499bdc 100644 --- a/docs/api/src/cli/plugin/sdk/mod.rs.html +++ b/docs/api/src/cli/plugin/sdk/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -39,6 +32,12 @@
 32
 33
 34
+35
+36
+37
+38
+39
+40
 
//! # sdk
 //!
 //! Loads the cargo-make duckscript plugin SDK.
@@ -47,6 +46,7 @@
 mod cm_plugin_check_task_condition;
 mod cm_plugin_force_plugin_clear;
 mod cm_plugin_force_plugin_set;
+mod cm_plugin_run_custom_task;
 mod cm_plugin_run_task;
 
 use crate::types::{FlowInfo, FlowState, Step};
@@ -65,6 +65,11 @@
     commands.set(cm_plugin_check_task_condition::create(flow_info, step))?;
     commands.set(cm_plugin_force_plugin_clear::create(flow_state.clone()))?;
     commands.set(cm_plugin_force_plugin_set::create(flow_state.clone(), step))?;
+    commands.set(cm_plugin_run_custom_task::create(
+        flow_info,
+        flow_state.clone(),
+        step,
+    ))?;
     commands.set(cm_plugin_run_task::create(
         flow_info,
         flow_state.clone(),
@@ -74,5 +79,4 @@
     Ok(())
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/plugin/types.rs.html b/docs/api/src/cli/plugin/types.rs.html index a71dd022..61561f9c 100644 --- a/docs/api/src/cli/plugin/types.rs.html +++ b/docs/api/src/cli/plugin/types.rs.html @@ -1,11 +1,4 @@ -types.rs - source - -
1
+types.rs - source
1
 2
 3
 4
@@ -74,5 +67,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/profile.rs.html b/docs/api/src/cli/profile.rs.html index 97a4234c..e3ad438c 100644 --- a/docs/api/src/cli/profile.rs.html +++ b/docs/api/src/cli/profile.rs.html @@ -1,11 +1,4 @@ -profile.rs - source - -
1
+profile.rs - source
1
 2
 3
 4
@@ -116,5 +109,4 @@
     envmnt::set_list(ADDITIONAL_PROFILES_ENV_KEY, &nomralized_profiles);
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/proxy_task.rs.html b/docs/api/src/cli/proxy_task.rs.html index bf72a10f..8d41485d 100644 --- a/docs/api/src/cli/proxy_task.rs.html +++ b/docs/api/src/cli/proxy_task.rs.html @@ -1,11 +1,4 @@ -proxy_task.rs - source - -
1
+proxy_task.rs - source
1
 2
 3
 4
@@ -152,5 +145,4 @@
     proxy_task.get_normalized_task()
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/recursion_level.rs.html b/docs/api/src/cli/recursion_level.rs.html index 5e8feab4..eb6f276a 100644 --- a/docs/api/src/cli/recursion_level.rs.html +++ b/docs/api/src/cli/recursion_level.rs.html @@ -1,11 +1,4 @@ -recursion_level.rs - source - -
1
+recursion_level.rs - source
1
 2
 3
 4
@@ -62,5 +55,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/runner.rs.html b/docs/api/src/cli/runner.rs.html index 0d372a19..d04ff7ad 100644 --- a/docs/api/src/cli/runner.rs.html +++ b/docs/api/src/cli/runner.rs.html @@ -1,11 +1,4 @@ -runner.rs - source - -
1
+runner.rs - source
1
 2
 3
 4
@@ -1306,5 +1299,4 @@
     info!("Build Done{}.", &time_string);
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/duck_script/mod.rs.html b/docs/api/src/cli/scriptengine/duck_script/mod.rs.html index 48ce48b7..dfbd948f 100644 --- a/docs/api/src/cli/scriptengine/duck_script/mod.rs.html +++ b/docs/api/src/cli/scriptengine/duck_script/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -204,5 +197,4 @@
     Ok(())
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/duck_script/sdk/cm_run_task.rs.html b/docs/api/src/cli/scriptengine/duck_script/sdk/cm_run_task.rs.html index db706ecb..169ffc23 100644 --- a/docs/api/src/cli/scriptengine/duck_script/sdk/cm_run_task.rs.html +++ b/docs/api/src/cli/scriptengine/duck_script/sdk/cm_run_task.rs.html @@ -1,11 +1,4 @@ -cm_run_task.rs - source - -
1
+cm_run_task.rs - source
1
 2
 3
 4
@@ -144,5 +137,4 @@
     })
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/duck_script/sdk/mod.rs.html b/docs/api/src/cli/scriptengine/duck_script/sdk/mod.rs.html index 26c39bf9..dabb89e9 100644 --- a/docs/api/src/cli/scriptengine/duck_script/sdk/mod.rs.html +++ b/docs/api/src/cli/scriptengine/duck_script/sdk/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -56,5 +49,4 @@
     Ok(())
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/generic_script.rs.html b/docs/api/src/cli/scriptengine/generic_script.rs.html index 0d0aa1cb..ca0786dc 100644 --- a/docs/api/src/cli/scriptengine/generic_script.rs.html +++ b/docs/api/src/cli/scriptengine/generic_script.rs.html @@ -1,11 +1,4 @@ -generic_script.rs - source - -
1
+generic_script.rs - source
1
 2
 3
 4
@@ -110,5 +103,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/mod.rs.html b/docs/api/src/cli/scriptengine/mod.rs.html index e5085728..3dff2dd2 100644 --- a/docs/api/src/cli/scriptengine/mod.rs.html +++ b/docs/api/src/cli/scriptengine/mod.rs.html @@ -1,11 +1,4 @@ -mod.rs - source - -
1
+mod.rs - source
1
 2
 3
 4
@@ -624,5 +617,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/os_script.rs.html b/docs/api/src/cli/scriptengine/os_script.rs.html index 08308b5e..e1f7572a 100644 --- a/docs/api/src/cli/scriptengine/os_script.rs.html +++ b/docs/api/src/cli/scriptengine/os_script.rs.html @@ -1,11 +1,4 @@ -os_script.rs - source - -
1
+os_script.rs - source
1
 2
 3
 4
@@ -44,5 +37,4 @@
     command::run_script_get_exit_code(&script_text, runner, &cli_arguments, validate);
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/rsscript.rs.html b/docs/api/src/cli/scriptengine/rsscript.rs.html index b4248036..bd6a286f 100644 --- a/docs/api/src/cli/scriptengine/rsscript.rs.html +++ b/docs/api/src/cli/scriptengine/rsscript.rs.html @@ -1,11 +1,4 @@ -rsscript.rs - source - -
1
+rsscript.rs - source
1
 2
 3
 4
@@ -124,6 +117,9 @@
 117
 118
 119
+120
+121
+122
 
//! # rsscript
 //!
 //! Compiles and runs rust code.
@@ -171,6 +167,7 @@
                 min_version: None,
                 version: None,
                 install_command: None,
+                force: None,
             };
 
             // due to fornwall/rust-script/issues/42
@@ -186,6 +183,7 @@
             true,
             &None,
             &None,
+            &None,
         ),
         ScriptRunner::CargoPlay => cargo_plugin_installer::install_crate(
             &None,
@@ -195,6 +193,7 @@
             true,
             &None,
             &None,
+            &None,
         ),
     };
 }
@@ -244,5 +243,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/script_utils.rs.html b/docs/api/src/cli/scriptengine/script_utils.rs.html index ae57736b..eaf96aed 100644 --- a/docs/api/src/cli/scriptengine/script_utils.rs.html +++ b/docs/api/src/cli/scriptengine/script_utils.rs.html @@ -1,11 +1,4 @@ -script_utils.rs - source - -
1
+script_utils.rs - source
1
 2
 3
 4
@@ -38,5 +31,4 @@
     io::create_text_file(&text, &extension)
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/shebang_script.rs.html b/docs/api/src/cli/scriptengine/shebang_script.rs.html index 04ddd552..a96fdff7 100644 --- a/docs/api/src/cli/scriptengine/shebang_script.rs.html +++ b/docs/api/src/cli/scriptengine/shebang_script.rs.html @@ -1,11 +1,4 @@ -shebang_script.rs - source - -
1
+shebang_script.rs - source
1
 2
 3
 4
@@ -214,5 +207,4 @@
     };
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/scriptengine/shell_to_batch.rs.html b/docs/api/src/cli/scriptengine/shell_to_batch.rs.html index afc99224..fada6b3d 100644 --- a/docs/api/src/cli/scriptengine/shell_to_batch.rs.html +++ b/docs/api/src/cli/scriptengine/shell_to_batch.rs.html @@ -1,11 +1,4 @@ -shell_to_batch.rs - source - -
1
+shell_to_batch.rs - source
1
 2
 3
 4
@@ -60,5 +53,4 @@
     };
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/storage.rs.html b/docs/api/src/cli/storage.rs.html index ac343680..3d25ee24 100644 --- a/docs/api/src/cli/storage.rs.html +++ b/docs/api/src/cli/storage.rs.html @@ -1,11 +1,4 @@ -storage.rs - source - -
1
+storage.rs - source
1
 2
 3
 4
@@ -94,5 +87,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/time_summary.rs.html b/docs/api/src/cli/time_summary.rs.html index 6d212285..e0bf1a15 100644 --- a/docs/api/src/cli/time_summary.rs.html +++ b/docs/api/src/cli/time_summary.rs.html @@ -1,11 +1,4 @@ -time_summary.rs - source - -
1
+time_summary.rs - source
1
 2
 3
 4
@@ -144,5 +137,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/toolchain.rs.html b/docs/api/src/cli/toolchain.rs.html index 9e97d97f..3e0e0c3f 100644 --- a/docs/api/src/cli/toolchain.rs.html +++ b/docs/api/src/cli/toolchain.rs.html @@ -1,11 +1,4 @@ -toolchain.rs - source - -
1
+toolchain.rs - source
1
 2
 3
 4
@@ -266,5 +259,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/types.rs.html b/docs/api/src/cli/types.rs.html index 8863ed90..54633da7 100644 --- a/docs/api/src/cli/types.rs.html +++ b/docs/api/src/cli/types.rs.html @@ -1,11 +1,4 @@ -types.rs - source - -
1
+types.rs - source
1
 2
 3
 4
@@ -2337,6 +2330,38 @@
 2330
 2331
 2332
+2333
+2334
+2335
+2336
+2337
+2338
+2339
+2340
+2341
+2342
+2343
+2344
+2345
+2346
+2347
+2348
+2349
+2350
+2351
+2352
+2353
+2354
+2355
+2356
+2357
+2358
+2359
+2360
+2361
+2362
+2363
+2364
 
//! # types
 //!
 //! Defines the various types and aliases used by cargo-make.
@@ -2904,6 +2929,8 @@
     pub min_version: Option<String>,
     /// Optional alternate 'install' command
     pub install_command: Option<String>,
+    /// Optional add force flag (if needed), default is true
+    pub force: Option<bool>,
 }
 
 impl PartialEq for InstallCargoPluginInfo {
@@ -2936,7 +2963,7 @@
             return false;
         }
 
-        match self.install_command {
+        same = match self.install_command {
             Some(ref install_command) => match other.install_command {
                 Some(ref other_install_command) => install_command == other_install_command,
                 None => false,
@@ -2945,6 +2972,20 @@
                 None => true,
                 _ => false,
             },
+        };
+        if !same {
+            return false;
+        }
+
+        match self.force {
+            Some(ref force) => match other.force {
+                Some(ref other_force) => force == other_force,
+                None => false,
+            },
+            None => match other.force {
+                None => true,
+                _ => false,
+            },
         }
     }
 }
@@ -2966,6 +3007,8 @@
     pub version: Option<String>,
     /// Optional alternate 'install' command
     pub install_command: Option<String>,
+    /// Optional add force flag (if needed), default is true
+    pub force: Option<bool>,
 }
 
 impl PartialEq for InstallCrateInfo {
@@ -3025,7 +3068,7 @@
             return false;
         }
 
-        match self.install_command {
+        same = match self.install_command {
             Some(ref install_command) => match other.install_command {
                 Some(ref other_install_command) => install_command == other_install_command,
                 None => false,
@@ -3034,6 +3077,20 @@
                 None => true,
                 _ => false,
             },
+        };
+        if !same {
+            return false;
+        }
+
+        match self.force {
+            Some(ref force) => match other.force {
+                Some(ref other_force) => force == other_force,
+                None => false,
+            },
+            None => match other.force {
+                None => true,
+                _ => false,
+            },
         }
     }
 }
@@ -4670,5 +4727,4 @@
     pub args: Option<Vec<String>>,
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/cli/version.rs.html b/docs/api/src/cli/version.rs.html index bb44134e..b12ca0b2 100644 --- a/docs/api/src/cli/version.rs.html +++ b/docs/api/src/cli/version.rs.html @@ -1,11 +1,4 @@ -version.rs - source - -
1
+version.rs - source
1
 2
 3
 4
@@ -520,5 +513,4 @@
     }
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/src/makers/makers.rs.html b/docs/api/src/makers/makers.rs.html index 93f756b5..00207c14 100644 --- a/docs/api/src/makers/makers.rs.html +++ b/docs/api/src/makers/makers.rs.html @@ -1,11 +1,4 @@ -makers.rs - source - -
1
+makers.rs - source
1
 2
 3
 4
@@ -62,5 +55,4 @@
     cli::run_cli(name, false);
 }
 
-
- \ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/storage.js b/docs/api/storage.js index 30ff21b1..07f8962f 100644 --- a/docs/api/storage.js +++ b/docs/api/storage.js @@ -1 +1 @@ -"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newTheme,saveTheme){const newHref=mainStyleElem.href.replace(/\/rustdoc([^/]*)\.css/,"/"+newTheme+"$1"+".css");if(saveTheme){updateLocalStorage("theme",newTheme)}if(styleElem.href===newHref){return}let found=false;if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}onEach(savedHref,el=>{if(el===newHref){found=true;return true}});if(found){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}}) \ No newline at end of file +"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");window.mainTheme=document.getElementById("mainThemeStyle");window.RUSTDOC_MOBILE_BREAKPOINT=701;const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");if(settingsElement===null){return null}const dataset=settingsElement.dataset;if(dataset===undefined){return null}return dataset})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current!==null){return current}if(settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return null}const localStoredTheme=getSettingValue("theme");const savedHref=[];function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(!elem||!elem.classList){return}elem.classList.add(className)}function removeClass(elem,className){if(!elem||!elem.classList){return}elem.classList.remove(className)}function onEach(arr,func,reversed){if(arr&&arr.length>0&&func){if(reversed){const length=arr.length;for(let i=length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}function switchTheme(styleElem,mainStyleElem,newTheme,saveTheme){const newHref=mainStyleElem.href.replace(/\/rustdoc([^/]*)\.css/,"/"+newTheme+"$1"+".css");if(saveTheme){updateLocalStorage("theme",newTheme)}if(styleElem.href===newHref){return}let found=false;if(savedHref.length===0){onEachLazy(document.getElementsByTagName("link"),el=>{savedHref.push(el.href)})}onEach(savedHref,el=>{if(el===newHref){found=true;return true}});if(found){styleElem.href=newHref}}function useSystemTheme(value){if(value===undefined){value=true}updateLocalStorage("use-system-theme",value);const toggle=document.getElementById("use-system-theme");if(toggle&&toggle instanceof HTMLInputElement){toggle.checked=value}}const updateSystemTheme=(function(){if(!window.matchMedia){return()=>{const cssTheme=getComputedStyle(document.documentElement).getPropertyValue("content");switchTheme(window.currentTheme,window.mainTheme,JSON.parse(cssTheme)||"light",true)}}const mql=window.matchMedia("(prefers-color-scheme: dark)");function handlePreferenceChange(mql){const use=theme=>{switchTheme(window.currentTheme,window.mainTheme,theme,true)};if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";if(mql.matches){use(darkTheme)}else{use(lightTheme)}}else{use(getSettingValue("theme"))}}mql.addListener(handlePreferenceChange);return()=>{handlePreferenceChange(mql)}})();function switchToSavedTheme(){switchTheme(window.currentTheme,window.mainTheme,getSettingValue("theme")||"light",false)}if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}updateSystemTheme()}else{switchToSavedTheme()}if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(switchToSavedTheme,0)}}) \ No newline at end of file