| <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="See https://github.com/matklad/cargo-xtask/."><title>xtask - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="xtask" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0 (1159e78c4 2025-09-14)" data-channel="1.90.0" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-68b7e25d.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../xtask/index.html">xtask</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>xtask</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/xtask/main.rs.html#1-95">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>See <a href="https://github.com/matklad/cargo-xtask/">https://github.com/matklad/cargo-xtask/</a>.</p> |
| <p>This binary defines various auxiliary build commands, which are not |
| expressible with just <code>cargo</code>. Notably, it provides tests via <code>cargo test -p xtask</code> |
| for code generation and <code>cargo xtask install</code> for installation of |
| rust-analyzer server and client.</p> |
| <p>This binary is integrated into the <code>cargo</code> command line by using an alias in |
| <code>.cargo/config</code>.</p> |
| </div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">ยง</a></h2><dl class="item-table"><dt><a class="mod" href="codegen/index.html" title="mod xtask::codegen">codegen</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="mod" href="dist/index.html" title="mod xtask::dist">dist</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="mod" href="flags/index.html" title="mod xtask::flags">flags</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="mod" href="install/index.html" title="mod xtask::install">install</a><span title="Restricted Visibility"> ๐</span> </dt><dd>Installs rust-analyzer language server and/or editor plugin.</dd><dt><a class="mod" href="metrics/index.html" title="mod xtask::metrics">metrics</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="mod" href="pgo/index.html" title="mod xtask::pgo">pgo</a><span title="Restricted Visibility"> ๐</span> </dt><dd>PGO (Profile-Guided Optimization) utilities.</dd><dt><a class="mod" href="publish/index.html" title="mod xtask::publish">publish</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="mod" href="release/index.html" title="mod xtask::release">release</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="mod" href="tidy/index.html" title="mod xtask::tidy">tidy</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="mod" href="util/index.html" title="mod xtask::util">util</a><span title="Restricted Visibility"> ๐</span> </dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">ยง</a></h2><dl class="item-table"><dt><a class="fn" href="fn.date_iso.html" title="fn xtask::date_iso">date_<wbr>iso</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="fn" href="fn.is_release_tag.html" title="fn xtask::is_release_tag">is_<wbr>release_<wbr>tag</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="fn" href="fn.main.html" title="fn xtask::main">main</a><span title="Restricted Visibility"> ๐</span> </dt><dt><a class="fn" href="fn.project_root.html" title="fn xtask::project_root">project_<wbr>root</a><span title="Restricted Visibility"> ๐</span> </dt><dd>Returns the path to the root directory of <code>rust-analyzer</code> project.</dd><dt><a class="fn" href="fn.run_fuzzer.html" title="fn xtask::run_fuzzer">run_<wbr>fuzzer</a><span title="Restricted Visibility"> ๐</span> </dt></dl><script type="text/json" id="notable-traits-data">{"&[u8]":"<h3>Notable traits for <code>&[<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.90.0/std/primitive.u8.html\">u8</a>]</code></h3><pre><code><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.90.0/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a> for &[<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.90.0/std/primitive.u8.html\">u8</a>]</div>","&mut Vec<u8>":"<h3>Notable traits for <code><a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.90.0/std/primitive.u8.html\">u8</a>, A></code></h3><pre><code><div class=\"where\">impl<A> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.90.0/std/io/trait.Write.html\" title=\"trait std::io::Write\">Write</a> for <a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.90.0/std/primitive.u8.html\">u8</a>, A><div class=\"where\">where\n A: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.90.0/core/alloc/trait.Allocator.html\" title=\"trait core::alloc::Allocator\">Allocator</a>,</div></div>","Vec<u8>":"<h3>Notable traits for <code><a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.90.0/std/primitive.u8.html\">u8</a>, A></code></h3><pre><code><div class=\"where\">impl<A> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.90.0/std/io/trait.Write.html\" title=\"trait std::io::Write\">Write</a> for <a class=\"struct\" href=\"https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/1.90.0/std/primitive.u8.html\">u8</a>, A><div class=\"where\">where\n A: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.90.0/core/alloc/trait.Allocator.html\" title=\"trait core::alloc::Allocator\">Allocator</a>,</div></div>"}</script></section></div></main></body></html> |