From 4f35889f934f1e11f3b729e20f0dca281d8aab3a Mon Sep 17 00:00:00 2001 From: sagie gur ari Date: Mon, 17 Feb 2020 21:55:18 +0000 Subject: [PATCH] release --- CHANGELOG.md | 4 + Cargo.toml | 7 +- docs/api/run_script/types/enum.ErrorInfo.html | 6 +- docs/api/run_script/types/enum.IoOptions.html | 10 +- docs/api/run_script/types/index.html | 2 +- .../run_script/types/struct.ScriptError.html | 8 +- .../types/struct.ScriptOptions.html | 14 +- docs/api/search-index.js | 2 +- docs/api/src/run_script/runner.rs.html | 150 ++---------------- docs/api/src/run_script/types.rs.html | 8 + src/runner.rs | 88 ++-------- src/runner_test.rs | 2 +- src/types.rs | 4 + 13 files changed, 67 insertions(+), 238 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index faa2981..3cad2e9 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## CHANGELOG +### v0.6.2 (2020-02-17) + +* Use fsio crate for file system apis. + ### v0.6.1 (2020-02-08) * New run_or_exit function and run_script_or_exit macro #10 diff --git a/Cargo.toml b/Cargo.toml index 6166c54..eee901e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "run_script" -version = "0.6.1" +version = "0.6.2" authors = ["Sagie Gur-Ari "] description = "Run shell scripts in rust." license = "Apache-2.0" @@ -24,10 +24,7 @@ include = [ ] [dependencies] -rand = "^0.7" - -[target.'cfg(not(windows))'.dependencies] -users = "^0.9" +fsio = { version = "^0.1", features = ["temp-path"] } [badges.travis-ci] branch = "master" diff --git a/docs/api/run_script/types/enum.ErrorInfo.html b/docs/api/run_script/types/enum.ErrorInfo.html index 2089693..dedf38f 100644 --- a/docs/api/run_script/types/enum.ErrorInfo.html +++ b/docs/api/run_script/types/enum.ErrorInfo.html @@ -1,12 +1,14 @@ -run_script::types::ErrorInfo - Rust

[][src]Enum run_script::types::ErrorInfo

pub enum ErrorInfo {
+run_script::types::ErrorInfo - Rust

[][src]Enum run_script::types::ErrorInfo

pub enum ErrorInfo {
     IOError(Error),
+    FsIOError(FsIOError),
     Description(&'static str),
 }

Holds the error information

Variants

IOError(Error)

Root error

+
FsIOError(FsIOError)

Root error

Description(&'static str)

Description text of the error reason

-

Trait Implementations

impl Debug for ErrorInfo[src]

Trait Implementations

impl Debug for ErrorInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]