diff options
author | Matan Kushner <hello@matchai.dev> | 2020-02-03 17:04:16 -0500 |
---|---|---|
committer | Matan Kushner <hello@matchai.dev> | 2020-02-03 17:04:16 -0500 |
commit | f14aef476950532123b5bba1f1a8bfd6372f7768 (patch) | |
tree | 161bf9cae37b8030d88b7261193f0f7a27f6926e | |
parent | 0d1578bbe10620186bc7eaf99fb2b33214d633af (diff) |
chore(bump): v0.34.1v0.34.1
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/context.rs | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock index 193460c41..8e23f7b92 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 c375381bc..cda1d1102 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 <hello@matchai.me>"] homepage = "https://starship.rs" diff --git a/src/context.rs b/src/context.rs index 6faa78844..46c51177e 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, 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> { let start = SystemTime::now(); |