mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-10 23:30:57 +00:00
chore(bump): v0.34.1
This commit is contained in:
parent
0d1578bbe1
commit
f14aef4769
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -848,7 +848,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "starship"
|
name = "starship"
|
||||||
version = "0.34.0"
|
version = "0.34.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ansi_term 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"battery 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"battery 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "starship"
|
name = "starship"
|
||||||
version = "0.34.0"
|
version = "0.34.1"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Matan Kushner <hello@matchai.me>"]
|
authors = ["Matan Kushner <hello@matchai.me>"]
|
||||||
homepage = "https://starship.rs"
|
homepage = "https://starship.rs"
|
||||||
|
@ -177,10 +177,6 @@ pub struct DirContents {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl DirContents {
|
impl DirContents {
|
||||||
fn from_path(base: &PathBuf) -> Result<Self, std::io::Error> {
|
|
||||||
Self::from_path_with_timeout(base, Duration::from_secs(30))
|
|
||||||
}
|
|
||||||
|
|
||||||
fn from_path_with_timeout(base: &PathBuf, timeout: Duration) -> Result<Self, std::io::Error> {
|
fn from_path_with_timeout(base: &PathBuf, timeout: Duration) -> Result<Self, std::io::Error> {
|
||||||
let start = SystemTime::now();
|
let start = SystemTime::now();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user