Skip to content

Releases: pizzamig/structopt-flags

0.3.6

28 Jul 17:42
Compare
Choose a tag to compare

Add a workaround against a bug in structopt#333

0.3.4

13 Aug 21:29
Compare
Choose a tag to compare

Updated simplelog to 0.6

0.3.3

13 Aug 20:32
Compare
Choose a tag to compare

Fixed

  • simplelog: silently ignores TermLogger initialization failure

0.3.2

21 May 09:39
Compare
Choose a tag to compare

Documentation fixes mainly.
Internal rework of the LogLevel trait, that now requires only one function to be implemented. A default implementation is provided for the other 2 methods.

0.3.1

18 Apr 07:38
Compare
Choose a tag to compare

Add ForceFlag (-f --force)
Trying to improve docs.rs output

0.3.0

10 Apr 14:09
Compare
Choose a tag to compare

Added

  • features: add simplelog as an optional feature along with the set_log_level() method and the SetLogWithDefault trait
  • ConfigFile and ConfigFileNoDef: options to provide a configuration file

Changed

  • Make the GetWithDefault trait more ergonomic, using the Into trait

0.2.1

02 Nov 15:59
Compare
Choose a tag to compare

Add Host*Param set of options, to get an IP address, mandatorily

  • HostV4Param: ipv4 address mandatory parameter
  • HostV6Param: ipv6 address mandatory parameter
  • HostParam: ip address mandatory parameter

0.2.0

15 Oct 09:18
Compare
Choose a tag to compare
  • Add the GetWithDefault trait, to allow users to define their own defaults
  • LogLevelOpt and LotLevelOptLower, to pass log level as -L or -l
  • VerboseNoDef, LogLevelNoDef, LogLevelNoDefLower: options with a user provided defaults
  • HostV4Opt: first ipv4 address option
  • HostV6Opt: first ipv6 address option
  • HostOpt: first ip address option

0.1.0

07 Oct 10:49
Compare
Choose a tag to compare

First release of the crate, providing different reusable "verbose" flag implementations.