shortcut::with_description
marked as deprecated due to the depreciation ofstd::error::Error::description
. Please useshortcut::with_description
instead.
- Added
InputBuilder::try_get
andInputBuilderOnce::try_get
.
- Non-breaking internal code cleanups and warning fixes.
- Non-breaking internal code cleanups.
- Allow default on empty input all times rather then only on first input. (Thanks NLL)
- Modules and traits needed have been changed (should not affect prelude)
- Rename
input_new()
toinput()
. - Rename
input_new_d()
toinput_d()
.
- Small updates and clean ups in examples.
- Added
shortcut::input_inside
. - Added
.inside()
. - Added
.min()
. - Added
.max()
. - Added
.min_max()
. - Added
.not()
. - Added
.min_err()
. - Added
.max_err()
. - Added
.min_max_err()
. - Added
.not_err()
.
- Update description
- New
InputBuilderOnce
struct
to make the builder more flexible. - Make methods take
impl ToString
rather than&str
to improve flexibility. - New
input_new_d()
function.
- Module restructure.
- Move to
edition = "2018"
- fix broken links
- Added
with_description
.
- Add
match_num_err
example.
- Change fall back error message slightly.
- Add URL example
- Fix tiny error in readme
- Make examples downloadable
- Small internal changes
- fix tiny error in readme
- add information about using
match
with input. - fix version number stated in readme.
- Added
match
example
- Added
.repeat_msg()
.
- Document new features
- Make point_input example use new feature
- Make things more clear in readme
- Say a little more about type annotations in readme.
- fix inaccuracy in readme
- Add keywords and categories to
cargo.toml
- Fix incorrect formatting in readme
- Add API docs to the code
- Fix incorrect version in readme tutorial
- The
.test()
method has been made private. You will now need to use.add_test()
and.add_err_test()
. These are documented in readme. - Closures are now taken without having to be behind a
&
. This will affects.add_test()
and.add_err_test()
- Added
err_match()
method for custom errors
- Added
point_input
example
- Remove the word simple from readme.
read_input
is not just for simple programs - Add
point_input
to examples list in readme - Document
err_match()
in readme - Restructure readme
- Add missing
;
s to readme examples
- Added chrono example
- place read_input in `` in readme
- List example programs in readme
- Note crates that implement
std::str::FromStr
in readme
- Make readme more clear.
- Make readme more clear.
- Document simple_input() and valid_input() in readme.md
- Update readme.
- Added simple guessing game example.
- Added guessing game example.
- Started logging changes.