Expand description
Running external commands with scrubbed credentials.
Structs§
- Exit
Failure - A command that ran to completion and exited unsuccessfully.
- Timed
Out - A command that ran longer than its timeout and was killed.
Constants§
- DEFAULT_
OUTPUT_ LIMIT - How many bytes a driver command may print before it is killed.
- DEFAULT_
TIMEOUT - How long a driver command may run.
Functions§
- argv
["cargo", "publish"]without a.into()on every word.- filter
- Run an argv with stdin piped and stdout captured.
- filter_
limited filterwith an explicit timeout and output limit.- run_in
- Run an argv in
dirwithenvset, no stdin, and stdout captured. A registryqueryruns this way in the package directory, where the registry config of the publisher is in effect. - run_
inherit - Stream the command’s stdout and stderr to this process’s stderr.
Actions then show cargo/bun as they run, and stdout contains only verctl’s
own report, so
--format jsonstays parseable. The error keeps the last 64 KiB of the streamed output. A caller such asreleasereads it to recognise an already-published version. - run_
inherit_ env run_inherit, plusenvset on the command. Only a command that needs a secret takes this path, such as a publisher that reads its registry token.- run_
inherit_ in run_inheritindir, or in this process’s working directory whendirisNone.- run_
limited - Run an argv with no stdin. Used by
release.