Crate stdin_nonblocking

Source

Functionsยง

get_stdin_or_default
Reads stdin if available; otherwise, returns a default value.
spawn_stdin_stream
Spawns a background thread that continuously reads from stdin as a binary stream.