Docs.rs
starship-1.20.1
starship 1.20.1
Permalink
Docs.rs crate page
ISC
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
matchai
davidkna
andytom
Dependencies
chrono ^0.4.38
normal
clap ^4.5.11
normal
clap_complete ^4.5.11
normal
dirs ^5.0.1
normal
dunce ^1.0.4
normal
gethostname ^0.5.0
normal
gix ^0.64.0
normal
gix-features ^0.38.2
normal
optional
guess_host_triple ^0.1.3
normal
home ^0.5.9
normal
indexmap ^2.2.6
normal
log ^0.4.22
normal
notify-rust ^4.11.0
normal
optional
nu-ansi-term ^0.50.1
normal
once_cell ^1.19.0
normal
open ^5.3.0
normal
os_info ^3.8.2
normal
path-slash ^0.2.1
normal
pest ^2.7.11
normal
pest_derive ^2.7.11
normal
process_control ^4.1.0
normal
quick-xml ^0.36.1
normal
rand ^0.8.5
normal
rayon ^1.10.0
normal
regex ^1.10.5
normal
rust-ini ^0.21.0
normal
schemars ^0.8.21
normal
optional
semver ^1.0.23
normal
serde ^1.0.204
normal
serde_json ^1.0.120
normal
sha1 ^0.10.6
normal
shadow-rs ^0.30.0
normal
shell-words ^1.1.0
normal
starship-battery ^0.9.1
normal
optional
strsim ^0.11.1
normal
systemstat =0.2.3
normal
terminal_size ^0.3.0
normal
toml ^0.8.16
normal
toml_edit ^0.22.17
normal
unicode-segmentation ^1.11.0
normal
unicode-width ^0.1.13
normal
urlencoding ^2.1.3
normal
versions ^6.3.0
normal
which ^6.0.1
normal
yaml-rust2 ^0.8.1
normal
mockall ^0.13.0
dev
tempfile ^3.10.1
dev
dunce ^1.0.4
build
shadow-rs ^0.30.0
build
nix ^0.29.0
normal
deelevate ^0.2.0
normal
windows ^0.58.0
normal
winres ^0.1.12
build
Versions
10.79%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
starship
1.20.1
In starship::print
Function
starship
::
print
::
get_prompt
Copy item path
source
ยท
[
−
]
pub fn get_prompt(context:
Context
<'_>) ->
String