Skip to content

Commit

Permalink
run_script is used on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
dilawar committed Oct 6, 2024
1 parent ee145e0 commit ac7d5df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ edition = "2021"
[dependencies]
anyhow = "1.0.89"
serde = { version = "1.0.210", features = [ "derive" ]}
run_script = "0.11.0"

[target."cfg(windows)".dependencies]
powershell_script = "1.1.0"

[target."cfg(unix)".dependencies]
run_script = "0.11.0"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Run scripts on Windows, Linux and MacOS.

It uses following crates to run scripts

- [powershell_script](https://crates.io/crates/powershell_script) on Windows.
- [run_script](https://crates.io/crates/rust-script) on Unix like platform.
- [run_script](https://crates.io/crates/rust-script)
- [powershell_script](https://crates.io/crates/powershell_script) on Windows

0 comments on commit ac7d5df

Please sign in to comment.