Skip to content

Releases: rust-lang/getopts

v0.2.24

Choose a tag to compare

@github-actions github-actions released this 29 Aug 15:00
4084692

Other

  • Make unicode-width an optional default dependency (#133)

v0.2.23

Choose a tag to compare

@github-actions github-actions released this 09 Jun 06:53

Other

  • Add caching
  • Remove redundant configuration from Cargo.toml
  • Bump unicode-width to 0.2.0
  • Update the MSRV to 1.66 and edition to 2021

v0.2.22

Choose a tag to compare

@github-actions github-actions released this 09 Jun 05:05

Other

  • Add a check for formatting, apply cargo fmt
  • Add a release job
  • Document and start testing the MSRV
  • Test on more platforms, deny warnings
  • Eliminate html_root_url
  • Update version number in html_root_url
  • Use SPDX license format
  • Fix compiler warning in documentation example
  • Merge pull request #100 from zdenek-crha/parse_args_end_position
  • Merge pull request #103 from zdenek-crha/better_usage_examples
  • Add usage examples for methods that add option config
  • Update outdated top level documentation
  • Add triagebot configuration
  • remove deprecated Error::description
  • Update documentation of opt_present() and other functions that might panic
  • Updated tests for opts_str() and opts_str_first() to check order of processing
  • Add opts_present_any() and opts_str_first() interface functions
  • Parse options without names vector

0.2.21

Choose a tag to compare

@JohnTitor JohnTitor released this 15 Nov 19:53

What's Changed

  • Format code using 'cargo fmt' by @Atul9 in #87

New Contributors

  • @Atul9 made their first contribution in #87

Full Changelog: v0.2.20...v0.2.21

0.2.20

Choose a tag to compare

@JohnTitor JohnTitor released this 15 Nov 19:53

What's Changed

Full Changelog: v0.2.19...v0.2.20

0.2.19

Choose a tag to compare

@KodrAus KodrAus released this 02 May 02:17
f457f9a

0.2.18

Choose a tag to compare

@KodrAus KodrAus released this 05 Jul 23:19
a718feb

Key Changes

  • Adds a Matches::opt_get method that can convert a match to any T: FromStr. This should be useful for easily getting matched values as numbers
  • Fixes some long-standing issues around text alignment
  • Specifies a minimum version policy

Changes to minimum Rust

The minimum version of Rust required has been set at 1.18.0. We may change this in patch versions, but will always flag it in the release notes here.

You can always check the .travis.yml file to see the current minimum supported version.

New Dependencies

  • unicode-width for correctly splitting descriptions across multiple lines.

Contributions