Skip to main content

version

Macro version 

Source
macro_rules! version {
    () => { ... };
}
Expand description

<binary> <version>, as the binary this expands in answers --version.

A macro rather than a function because the version has to be the calling crate’s: didbot --list shows one line per installed binary, and a line that reported this library’s version would hide the skew it exists to show.