Skip to content

sheller 0.5.0

Choose a tag to compare

@harryplusplus harryplusplus released this 09 Feb 19:20
· 10 commits to main since this release

Features

  • Added enum sheller::Error for supports static error type handling. The added error types are as follows.
    • Io(std::io::Error)
    • ExitCode(i32)
    • Signal(i32)
    • NoExitCodeAndSignal
  • Added type sheller::Result<T> = std::result::Result<T, sheller::Error>.

BREAKING CHANGES

  • Removed struct sheller::Config and all methods related to sheller::Config. The deleted methods are as follows.
    • Sheller::run_with_config
    • Sheller::try_run_with_config
    • CommandExt::run_with_config
    • CommandExt::try_run_with_config
  • Sheller::try_run and CommandExt::try_run return sheller::Result<()> instead of std::io::Result<()>.