Skip to content

Releases: z5labs/pflag

v0.6.2

22 Oct 17:03
Compare
Choose a tag to compare

Bug Fixes

  • build: added const_type_id attribute for building on latest rust 1.47.0

v0.6.1

14 Sep 04:36
Compare
Choose a tag to compare

Bug Fixes

  • flag: properly check if flag value is the default value for the type (075bbd3)

v0.6.0

14 Sep 03:42
Compare
Choose a tag to compare

!Breaking Change!

  • value: string::ToString is required to also be implemented by all Values (adee589)

Features

  • flagset: value_of now returns a result with an informative error (54a86e6)

Bug Fixes

  • flagset: default value are now set based on initial value given (#15) (adee589)

v0.5.2

13 Sep 23:43
Compare
Choose a tag to compare

Bug Fixes

  • flagset: recognize single dash as a positional arg (#13) (ec0a5a2)

v0.5.1

13 Sep 23:01
Compare
Choose a tag to compare

Bug Fixes

  • value/slice: multi value flags now append instead of overwriting (c5f2036)

v0.5.0

13 Sep 05:14
Compare
Choose a tag to compare

Features

  • flagset: easily define a flag with a custom Value implementation (#9) (1becf58)
  • flagset: support time duration (#11) (6f680f7)
  • value: support downcasting (#10) (daf478d)

v0.4.1

11 Sep 04:17
Compare
Choose a tag to compare

Bug Fixes

  • flagset: correctly parse shorthand flags with values (#7) (63dd2dd)

v0.4.0

10 Sep 06:30
Compare
Choose a tag to compare

Features

  • flagset: support multi valued flags (#4) (689f31f)
  • value: pass set errors up (cabb017)

v0.3.0

09 Sep 07:27
Compare
Choose a tag to compare

Features

v0.2.1

07 Sep 06:03
Compare
Choose a tag to compare

Bug Fixes

  • build: forgot to bump version in Cargo.toml