Skip to content

Commit 6614ffa

Browse files
committed
chore: Release
1 parent a67746e commit 6614ffa

File tree

4 files changed

+22
-19
lines changed

4 files changed

+22
-19
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ _gated behind `unstable-v4`_
3030
<!-- next-header -->
3131
## [Unreleased] - ReleaseDate
3232

33+
## [3.2.8] - 2022-06-30
34+
3335
### Features
3436

3537
- Added `Command::mut_subcommand` to mirror `Command::mut_arg`
@@ -3499,7 +3501,8 @@ Minimum version of Rust is now v1.13.0 (Stable)
34993501
* **arg** allow lifetimes other than 'static in arguments ([9e8c1fb9](https://github.com/clap-rs/clap/commit/9e8c1fb9406f8448873ca58bab07fe905f1551e5))
35003502

35013503
<!-- next-url -->
3502-
[Unreleased]: https://github.com/clap-rs/clap/compare/v3.2.7...HEAD
3504+
[Unreleased]: https://github.com/clap-rs/clap/compare/v3.2.8...HEAD
3505+
[3.2.8]: https://github.com/clap-rs/clap/compare/v3.2.7...v3.2.8
35033506
[3.2.7]: https://github.com/clap-rs/clap/compare/v3.2.6...v3.2.7
35043507
[3.2.6]: https://github.com/clap-rs/clap/compare/v3.2.5...v3.2.6
35053508
[3.2.5]: https://github.com/clap-rs/clap/compare/v3.2.4...v3.2.5

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ members = [
1010

1111
[package]
1212
name = "clap"
13-
version = "3.2.7"
13+
version = "3.2.8"
1414
description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
1515
repository = "https://github.com/clap-rs/clap"
1616
categories = ["command-line-interface"]

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55
66
[![Crates.io](https://img.shields.io/crates/v/clap?style=flat-square)](https://crates.io/crates/clap)
77
[![Crates.io](https://img.shields.io/crates/d/clap?style=flat-square)](https://crates.io/crates/clap)
8-
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.2.7/LICENSE-APACHE)
9-
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.2.7/LICENSE-MIT)
8+
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.2.8/LICENSE-APACHE)
9+
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.2.8/LICENSE-MIT)
1010
[![Build Status](https://img.shields.io/github/workflow/status/clap-rs/clap/CI/staging?style=flat-square)](https://github.com/clap-rs/clap/actions/workflows/ci.yml?query=branch%3Astaging)
1111
[![Coverage Status](https://img.shields.io/coveralls/github/clap-rs/clap/master?style=flat-square)](https://coveralls.io/github/clap-rs/clap?branch=master)
1212
[![Contributors](https://img.shields.io/github/contributors/clap-rs/clap?style=flat-square)](https://github.com/clap-rs/clap/graphs/contributors)
1313

1414
Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT).
1515

1616
1. [About](#about)
17-
2. Tutorial: [Builder API](https://github.com/clap-rs/clap/blob/v3.2.7/examples/tutorial_builder/README.md), [Derive API](https://github.com/clap-rs/clap/blob/v3.2.7/examples/tutorial_derive/README.md)
18-
3. [Examples](https://github.com/clap-rs/clap/blob/v3.2.7/examples/README.md)
17+
2. Tutorial: [Builder API](https://github.com/clap-rs/clap/blob/v3.2.8/examples/tutorial_builder/README.md), [Derive API](https://github.com/clap-rs/clap/blob/v3.2.8/examples/tutorial_derive/README.md)
18+
3. [Examples](https://github.com/clap-rs/clap/blob/v3.2.8/examples/README.md)
1919
4. [API Reference](https://docs.rs/clap)
20-
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.2.7/examples/derive_ref/README.md)
20+
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.2.8/examples/derive_ref/README.md)
2121
- [Feature Flags](#feature-flags)
22-
5. [CHANGELOG](https://github.com/clap-rs/clap/blob/v3.2.7/CHANGELOG.md)
23-
6. [FAQ](https://github.com/clap-rs/clap/blob/v3.2.7/docs/FAQ.md)
22+
5. [CHANGELOG](https://github.com/clap-rs/clap/blob/v3.2.8/CHANGELOG.md)
23+
6. [FAQ](https://github.com/clap-rs/clap/blob/v3.2.8/docs/FAQ.md)
2424
7. [Questions & Discussions](https://github.com/clap-rs/clap/discussions)
25-
8. [Contributing](https://github.com/clap-rs/clap/blob/v3.2.7/CONTRIBUTING.md)
25+
8. [Contributing](https://github.com/clap-rs/clap/blob/v3.2.8/CONTRIBUTING.md)
2626
8. [Sponsors](#sponsors)
2727

2828
## About
@@ -32,8 +32,8 @@ Create your command-line parser, with all of the bells and whistles, declarative
3232
### Example
3333

3434
This uses our
35-
[Derive API](https://github.com/clap-rs/clap/blob/v3.2.7/examples/tutorial_derive/README.md)
36-
which provides access to the [Builder API](https://github.com/clap-rs/clap/blob/v3.2.7/examples/tutorial_builder/README.md) as attributes on a `struct`:
35+
[Derive API](https://github.com/clap-rs/clap/blob/v3.2.8/examples/tutorial_derive/README.md)
36+
which provides access to the [Builder API](https://github.com/clap-rs/clap/blob/v3.2.8/examples/tutorial_builder/README.md) as attributes on a `struct`:
3737

3838
<!-- Copied from examples/demo.{rs,md} -->
3939
```rust,no_run
@@ -63,7 +63,7 @@ fn main() {
6363
Add this to `Cargo.toml`:
6464
```toml
6565
[dependencies]
66-
clap = { version = "3.2.7", features = ["derive"] }
66+
clap = { version = "3.2.8", features = ["derive"] }
6767
```
6868
```bash
6969
$ demo --help
@@ -103,12 +103,12 @@ CLI parsers optimized for other use cases.
103103

104104
### Selecting an API
105105

106-
Why use the declarative [Derive API](https://github.com/clap-rs/clap/blob/v3.2.7/examples/tutorial_derive/README.md):
106+
Why use the declarative [Derive API](https://github.com/clap-rs/clap/blob/v3.2.8/examples/tutorial_derive/README.md):
107107
- Easier to read, write, and modify
108108
- Easier to keep the argument declaration and reading of argument in sync
109109
- Easier to reuse, e.g. [clap-verbosity-flag](https://crates.io/crates/clap-verbosity-flag)
110110

111-
Why use the procedural [Builder API](https://github.com/clap-rs/clap/blob/v3.2.7/examples/tutorial_builder/README.md):
111+
Why use the procedural [Builder API](https://github.com/clap-rs/clap/blob/v3.2.8/examples/tutorial_builder/README.md):
112112
- Faster compile times if you aren't already using other procedural macros
113113
- More flexible, e.g. you can look up how many times an argument showed up,
114114
what its values were, and what were the indexes of those values. The Derive

src/derive.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use std::ffi::OsString;
2020
/// See also [`Subcommand`] and [`Args`].
2121
///
2222
/// See the
23-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.2.7/examples/derive_ref/README.md)
23+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.2.8/examples/derive_ref/README.md)
2424
/// for attributes and best practices.
2525
///
2626
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -373,7 +373,7 @@ pub trait FromArgMatches: Sized {
373373
/// - `Variant(ChildArgs)`: No attribute is used with enum variants that impl `Args`.
374374
///
375375
/// See the
376-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.2.7/examples/derive_ref/README.md)
376+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.2.8/examples/derive_ref/README.md)
377377
/// for attributes and best practices.
378378
///
379379
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -417,7 +417,7 @@ pub trait Args: FromArgMatches + Sized {
417417
/// `Subcommand`.
418418
///
419419
/// See the
420-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.2.7/examples/derive_ref/README.md)
420+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.2.8/examples/derive_ref/README.md)
421421
/// for attributes and best practices.
422422
///
423423
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -461,7 +461,7 @@ pub trait Subcommand: FromArgMatches + Sized {
461461
/// - Allowing using the `#[clap(default_value_t)]` attribute without implementing `Display`.
462462
///
463463
/// See the
464-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.2.7/examples/derive_ref/README.md)
464+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.2.8/examples/derive_ref/README.md)
465465
/// for attributes and best practices.
466466
///
467467
/// **NOTE:** Deriving requires the `derive` feature flag

0 commit comments

Comments
 (0)