1
0
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:
Matan Kushner 2020-02-03 17:04:16 -05:00
parent 0d1578bbe1
commit f14aef4769
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4
3 changed files with 2 additions and 6 deletions

2
Cargo.lock generated
View File

@ -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)",

View File

@ -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"

View File

@ -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();