1 use crate::command_prelude
::*;
3 pub fn builtin() -> Vec
<App
> {
9 describe_future_incompatibilities
::cli(),
13 generate_lockfile
::cli(),
17 locate_project
::cli(),
36 verify_project
::cli(),
42 pub fn builtin_exec(cmd
: &str) -> Option
<fn(&mut Config
, &ArgMatches
<'_
>) -> CliResult
> {
44 "bench" => bench
::exec
,
45 "build" => build
::exec
,
46 "check" => check
::exec
,
47 "clean" => clean
::exec
,
48 "describe-future-incompatibilities" => describe_future_incompatibilities
::exec
,
50 "fetch" => fetch
::exec
,
52 "generate-lockfile" => generate_lockfile
::exec
,
53 "git-checkout" => git_checkout
::exec
,
55 "install" => install
::exec
,
56 "locate-project" => locate_project
::exec
,
57 "login" => login
::exec
,
58 "logout" => logout
::exec
,
59 "metadata" => metadata
::exec
,
61 "owner" => owner
::exec
,
62 "package" => package
::exec
,
63 "pkgid" => pkgid
::exec
,
64 "publish" => publish
::exec
,
65 "read-manifest" => read_manifest
::exec
,
67 "rustc" => rustc
::exec
,
68 "rustdoc" => rustdoc
::exec
,
69 "search" => search
::exec
,
72 "uninstall" => uninstall
::exec
,
73 "update" => update
::exec
,
74 "vendor" => vendor
::exec
,
75 "verify-project" => verify_project
::exec
,
76 "version" => version
::exec
,
87 pub mod describe_future_incompatibilities
;
91 pub mod generate_lockfile
;
96 pub mod locate_project
;
105 pub mod read_manifest
;
115 pub mod verify_project
;