- RUSTSEC-2023-0075: Update
unsafe-libyaml
to0.2.10
(#353). - GHSA-c827-hfw6-qwvm: Update
rustix
to0.38.30
(#359). - The minimum supported Rust version is now 1.70.0.
- Update dependencies.
- The minimum supported Rust version is now 1.66.
- The lottery model now allows custom reset values for its items #276.
- Update dependencies.
- Update dependencies.
- Update dependencies.
- Update dependencies.
- Update dependencies.
- Fix a publishing error.
- Update dependencies.
- Update dependencies.
- Update dependencies.
- Update dependencies.
- Fix a new lint for Rust 1.52.
- Update to a new statrs.
- Update other dependencies.
- Update dependencies.
- Update generic arracy for RUSTSEC-2020-0146
- Update other dependencies.
- Update rand_core for RUSTSEC-2021-0023.
- Update other dependencies.
This is a backwards breaking change in the crate.
- Redesigned the Engine API. It now requires an instance of a struct that implements the rpick::ui::UI trait. This trait provides a more natural way to interact with the library than streams of bytes.
- The Engine and its Error have been moved into a
rpick::engine
module. - The configuration structs, enums, and functions have been moved into a
rpick::config
module. - The Engine
ValueError
struct was replaced by a newPickError
enum. - Updated dependencies.
- #19 Update rand to 0.8.2.
- #20
cargo test --release
now works. - #22 Use link time optimization for release builds.
- Updated several dependencies.
- Moved the project to GitHub.
- #43 There is now a
--verbose
flag.
- Update Cargo.lock to get new dependencies.
- #39: Add a new inventory model.
- Documented how to install and use rpick on MacOS and Windows.
- #32: Fix an infinite loop when users say no to all possible choices when there are items in the list with no chance of being chosen.
- #27: Add a
--config
flag that allows users to specify a path to rpick's config file.
- #20: Add an LRU model.
- #19: Adjust the tests to pass on 32-bit architectures.
- #5: Introduced a unit test suite.
- #8: Defined a library for rpick so integrators can write their own front end to it. This also aided in testing.
- #11: Added documentation for the library.
- #14: Users will no longer be re-prompted for a choice they've declined in the same process, unless they decline all possible choices in a category.
- d20e491b: Documented installation.
- #3: Added a new
even
distribution model, which does a nice flat random pick. - #4: Added a new
weighted
distribution model, which does a weighted random pick. - 95b32b1e:
Added a new
lottery
distribution model, which gives lottery tickets to unpicked items and resets the picked item's lottery tickets to 0.