From f14aef476950532123b5bba1f1a8bfd6372f7768 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Mon, 3 Feb 2020 17:04:16 -0500 Subject: [PATCH] chore(bump): v0.34.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/context.rs | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 193460c4..8e23f7b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -848,7 +848,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "starship" -version = "0.34.0" +version = "0.34.1" dependencies = [ "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)", diff --git a/Cargo.toml b/Cargo.toml index c375381b..cda1d110 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "starship" -version = "0.34.0" +version = "0.34.1" edition = "2018" authors = ["Matan Kushner "] homepage = "https://starship.rs" diff --git a/src/context.rs b/src/context.rs index 6faa7884..46c51177 100644 --- a/src/context.rs +++ b/src/context.rs @@ -177,10 +177,6 @@ pub struct DirContents { } impl DirContents { - fn from_path(base: &PathBuf) -> Result { - Self::from_path_with_timeout(base, Duration::from_secs(30)) - } - fn from_path_with_timeout(base: &PathBuf, timeout: Duration) -> Result { let start = SystemTime::now();