Skip to content

Releases: thepacketgeek/clap-stdin

v0.5.1

12 Jul 17:24
d86df0c
Compare
Choose a tag to compare
  • Bringing back access to the original filename passed to FileOrStdin through FileOrStdin::filename
    • Added tests to make sure I don't remove this again

v0.5.0

06 Jul 15:00
1db76ba
Compare
Choose a tag to compare
  • Adding is_stdin() fn to MaybeStdin and FileOrStdin in lieu of pub access to the Source member
  • Fixing #9 by checking for duplicated stdin arg usage when stdin is read, instead of definition
    • This improves compatibility with clap's global=true Arg option that caused the duplicate stdin usage error even when an stdin arg was only used once.

v0.4.0 - Adding Tokio support

08 Jan 05:31
Compare
Choose a tag to compare

FileOrStdin can now be used with tokio::AsyncRead using the crate feature tokio

v0.3.0

10 Dec 16:58
Compare
Choose a tag to compare
  • Adding Read support to FileOrStin via FileOrStdin::into_reader()
    • This is a backwards incompatible change, because the previous behavior or reading the entire contents to string is now only accessible behing FileOrStdin::contents

v0.2.2

06 Dec 00:20
Compare
Choose a tag to compare
  • Adding Source enum to MaybeStdin and FileOrStdin structs to expose where the contents came from

Release v0.2.1

30 Jul 03:49
Compare
Choose a tag to compare
  • Adding "fix: FileOrStdin generic inner and deref" #1

v0.1.1

26 Apr 20:11
Compare
Choose a tag to compare

Updating build badge and adding repo link to Cargo.toml

v0.1.0

26 Apr 16:49
Compare
Choose a tag to compare

Initial release