num_reader

Crates.ionum_reader
lib.rsnum_reader
version0.1.2
sourcesrc
created_at2021-12-18 16:17:09.404994
updated_at2021-12-18 16:31:35.642551
descriptionSmall lib for automating reading numbers from stdin
homepagehttps://github.com/alordash/rs_num_reader
repositoryhttps://github.com/alordash/rs_num_reader
max_upload_size
id500056
size3,700
(alordash)

documentation

README

Description

This library allows to easily read any number from stdin.

Functions

  1. read_num - returns Result<Number, Error>
  2. read_num_with_delimiters - same as read_num, except it also accepts list of delimiters
  3. read_and_handle - infinite loop that breaks on successfull number parse
  4. read_and_handle_with_delimiters - same as read_and_handle, except it also accepts list of delimiters
Commit count: 11

cargo fmt