Releases: thepacketgeek/clap-stdin
Releases · thepacketgeek/clap-stdin
v0.5.1
v0.5.0
- Adding
is_stdin()
fn toMaybeStdin
andFileOrStdin
in lieu of pub access to theSource
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.
- This improves compatibility with clap's
v0.4.0 - Adding Tokio support
FileOrStdin
can now be used with tokio::AsyncRead
using the crate feature tokio
v0.3.0
- Adding
Read
support toFileOrStin
viaFileOrStdin::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
- This is a backwards incompatible change, because the previous behavior or reading the entire contents to string is now only accessible behing
v0.2.2
- Adding
Source
enum toMaybeStdin
andFileOrStdin
structs to expose where the contents came from
Release v0.2.1
- Adding "fix: FileOrStdin generic inner and deref" #1
v0.1.1
Updating build badge and adding repo link to Cargo.toml
v0.1.0
Initial release