clap-verbosity-flag
Easily add a `--verbose` flag to CLIs using Clap
3.0.4
17M downloads/mo
#2260 most downloaded on crates.io
clap-rs/clap-verbosity-flag
What this package is like to depend on
Last release 1 years ago
19 Aug 2025
Release timing varies
gaps range from 1 weeks to 7 months
Nearly every release is documented
notes for 22 of 23 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
24 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
24 releases · May 2018 to Aug 2025Releases
latest 24-
3.0.419 Aug 2025Release notes
Open source →Features
- Add
serdefeature for when mixing CLI and config - Add comparison operators to types
- Add conversions between
VerbosityandVerbosityFilter
- Add
-
3.0.320 May 2025 -
3.0.216 Dec 2024 -
3.0.126 Nov 2024Release notes
Open source →Features
- Add
impl From<Verbosity>for logging level and level-filter types
- Add
-
3.0.020 Nov 2024Release notes
Open source →Breaking Changes
- Log support put behind the default
logfeature LogLevel::defaultrenamed toLogLevel::default_filterand now returnsVerbosityFilterLevelandLevelFilterare moved into thelogmod
Features
- Add
tracingfeature withVerbosity::tracing_levelandVerbosity::tracing_level_filter
- Log support put behind the default
-
2.2.316 Nov 2024 -
2.2.226 Sep 2024 -
2.2.125 Jul 2024 -
2.2.014 Feb 2024Release notes
Open source →Compatibility
- Raised MSRV to 1.73
Features
- Add
is_present()to see if one of the flags is present on the command-line
-
2.1.216 Jan 2024 -
2.1.115 Dec 2023Release notes
Open source →Fixes
- Tried to clarify help output for
-v/-q
Documentation
- Tried to clarify role of
LogLeveltrait
- Tried to clarify help output for
-
2.1.023 Oct 2023 -
2.0.131 Mar 2023 -
2.0.028 Sep 2022Release notes
Open source →Breaking Changes
- Upgraded to clap v4
Compatibility
- Raised MSRV to 1.60.0
-
1.0.113 Jun 2022 -
1.0.009 Feb 2022Release notes
Open source →Breaking Changes
set_defaulthas been removed in favor of being generic overLogLevel.--verboseand--quietare now global
Features
- Allow customizing help text
Fixes
--verboseand--quietare now global
-
0.4.127 Jan 2022Release notes
Open source →Features
- Added
log_level_filterfor convenience
Fixes
Displaynow shows the combination of quiet and verbose- Improved examples in documentation
- Added
-
0.4.031 Dec 2021 -
0.3.207 Aug 2021 -
0.3.116 Jan 2020Release notes
Open source →Fixed
- Workaround bug in structopt causing
clap-verbosity-flags doc-comment to win out over the caller's
- Workaround bug in structopt causing
-
0.3.017 Oct 2019Release notes
Open source →Added
- Support
.set_default_level()for configuring the default level --quietis now supported- Support Logging being disabled via
None
Breaking Changes
structopt0.3 is now required- Removed
setuop_env_logger. requiring you to configure the logger yourself. --verbosiychanged to--verboselog_levelnow returns anOptionwith the intention thatNonemeans no user-visible outpiut (including logging)
- Support
-
0.3.0-alpha.017 Oct 2019 pre-releaseNothing published for this version
-
0.2.006 Aug 2018Release notes
Open source →<!-- next-url --> [Unreleased]: https://github.com/clap-rs/clap-verbosity-flag/compare/v3.0.4...HEAD [3.0.4]: https://github.com/clap-rs/clap-verbosity-flag/compare/v3.0.3...v3.0.4 [3.0.3]: https://github.com/clap-rs/clap-verbosity-flag/compare/v3.0.2...v3.0.3 [3.0.2]: https://github.com/clap-rs/clap-verbosity-flag/compare/v3.0.1...v3.0.2 [3.0.1]: https://github.com/clap-rs/clap-verbosity-flag/compare/v3.0.0...v3.0.1 [3.0.0]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.2.3...v3.0.0 [2.2.3]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.2.2...v2.2.3 [2.2.2]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.2.1...v2.2.2 [2.2.1]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.2.0...v2.2.1 [2.2.0]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.1.2...v2.2.0 [2.1.2]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.1.1...v2.1.2 [2.1.1]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.1.0...v2.1.1 [2.1.0]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.0.1...v2.1.0 [2.0.1]: https://github.com/clap-rs/clap-verbosity-flag/compare/v2.0.0...v2.0.1 [2.0.0]: https://github.com/clap-rs/clap-verbosity-flag/compare/v1.0.1...v2.0.0 [1.0.1]: https://github.com/clap-rs/clap-verbosity-flag/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/clap-rs/clap-verbosity-flag/compare/v0.4.1...v1.0.0 [0.4.1]: https://github.com/clap-rs/clap-verbosity-flag/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/clap-rs/clap-verbosity-flag/compare/v0.3.2...v0.4.0 [0.3.2]: https://github.com/clap-rs/clap-verbosity-flag/compare/v0.3.1...v0.3.2 [0.3.1]: https://github.com/clap-rs/clap-verbosity-flag/compare/v0.3.0...v0.3.1 [0.3.0]: https://github.com/clap-rs/clap-verbosity-flag/compare/0.2.0...v0.3.0 [0.2.0]: https://github.com/clap-rs/clap-verbosity-flag/compare/v0.1.0...0.2.0
-
0.1.029 May 2018Nothing published for this version