This section is rendered asynchronously by default
Rust is a systems programming language that is focused on safety, speed, and concurrency.
rust section displays the version of Rust.
This section is displayed only when the current directory is within a Rust project, meaning:
- Upsearch finds
- The current directory contains any
Displaying verbose version¶
By default, this section will strip all of the suffixes from the version. For example,
1.42.0-nightly.2020-06-09 will be displayed as
1.42.0. To disable that behavior use a
SPACESHIP_RUST_VERBOSE_VERSION environment variable.
# Display verbose version SPACESHIP_RUST_VERBOSE_VERSION=true
||Render section asynchronously|
||Symbol displayed before the section|
||Show what branch is being used, if any.|