Skip to main content

cargo_update_command

Function cargo_update_command 

Source
pub fn cargo_update_command(program: Program, release: Option<&str>) -> String
Expand description

The cargo install that updates program to release (X.Y.Z), or to the latest when it isn’t known. The crate kanbrain on crates.io is the command line, whose latest cargo installs; the kanban app’s, kanbrain-app, isn’t there (GPUI comes from git), so it comes from the repository, at the release’s tag, else at main, which is the latest release. The app is told apart by its name, kanbrain: Program says nothing else about it, and a field it gained would break code building one.