Skip to content

Commit ea7699c

Browse files
committed
chore: Release
1 parent d09188a commit ea7699c

File tree

6 files changed

+24
-21
lines changed

6 files changed

+24
-21
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
<!-- next-header -->
88
## [Unreleased] - ReleaseDate
99

10+
## [3.0.12] - 2022-01-24
11+
1012
### Features
1113

1214
- *(derive)* Support for `default_value_os_t`
@@ -3101,7 +3103,8 @@ Minimum version of Rust is now v1.13.0 (Stable)
31013103
* **arg** allow lifetimes other than 'static in arguments ([9e8c1fb9](https://github.com/clap-rs/clap/commit/9e8c1fb9406f8448873ca58bab07fe905f1551e5))
31023104

31033105
<!-- next-url -->
3104-
[Unreleased]: https://github.com/clap-rs/clap/compare/v3.0.11...HEAD
3106+
[Unreleased]: https://github.com/clap-rs/clap/compare/v3.0.12...HEAD
3107+
[3.0.12]: https://github.com/clap-rs/clap/compare/v3.0.11...v3.0.12
31053108
[3.0.11]: https://github.com/clap-rs/clap/compare/v3.0.10...v3.0.11
31063109
[3.0.10]: https://github.com/clap-rs/clap/compare/v3.0.9...v3.0.10
31073110
[3.0.9]: https://github.com/clap-rs/clap/compare/v3.0.8...v3.0.9

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ members = [
99

1010
[package]
1111
name = "clap"
12-
version = "3.0.11"
12+
version = "3.0.12"
1313
description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
1414
repository = "https://github.com/clap-rs/clap"
1515
documentation = "https://docs.rs/clap/"

README.md

+12-12
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.0.11/LICENSE-APACHE)
9-
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.0.11/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.0.12/LICENSE-APACHE)
9+
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/v3.0.12/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.0.11/examples/tutorial_builder/README.md), [Derive API](https://github.com/clap-rs/clap/blob/v3.0.11/examples/tutorial_derive/README.md)
18-
3. [Examples](https://github.com/clap-rs/clap/blob/v3.0.11/examples/README.md)
17+
2. Tutorial: [Builder API](https://github.com/clap-rs/clap/blob/v3.0.12/examples/tutorial_builder/README.md), [Derive API](https://github.com/clap-rs/clap/blob/v3.0.12/examples/tutorial_derive/README.md)
18+
3. [Examples](https://github.com/clap-rs/clap/blob/v3.0.12/examples/README.md)
1919
4. [API Reference](https://docs.rs/clap)
20-
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.0.11/examples/derive_ref/README.md)
20+
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.0.12/examples/derive_ref/README.md)
2121
- [Feature Flags](#feature-flags)
22-
5. [CHANGELOG](https://github.com/clap-rs/clap/blob/v3.0.11/CHANGELOG.md)
23-
6. [FAQ](https://github.com/clap-rs/clap/blob/v3.0.11/docs/FAQ.md)
22+
5. [CHANGELOG](https://github.com/clap-rs/clap/blob/v3.0.12/CHANGELOG.md)
23+
6. [FAQ](https://github.com/clap-rs/clap/blob/v3.0.12/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.0.11/CONTRIBUTING.md)
25+
8. [Contributing](https://github.com/clap-rs/clap/blob/v3.0.12/CONTRIBUTING.md)
2626
8. [Sponsors](#sponsors)
2727

2828
## About
@@ -32,7 +32,7 @@ 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.0.11/examples/derive_ref/README.md)
35+
[Derive API](https://github.com/clap-rs/clap/blob/v3.0.12/examples/derive_ref/README.md)
3636
which provides access to the [Builder API](https://docs.rs/clap) as attributes on a `struct`:
3737

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

105105
### Selecting an API
106106

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

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

clap_derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clap_derive"
3-
version = "3.0.11"
3+
version = "3.0.12"
44
edition = "2018"
55
include = [
66
"src/**/*",

clap_derive/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Macro implementation for clap's derives.
44

55
[docs.rs](https://docs.rs/clap)
6-
- [Derive Tutorial](https://github.com/clap-rs/clap/blob/v3.0.11/examples/tutorial_derive/README.md)
7-
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.0.11/examples/derive_ref/README.md)
6+
- [Derive Tutorial](https://github.com/clap-rs/clap/blob/v3.0.12/examples/tutorial_derive/README.md)
7+
- [Derive Reference](https://github.com/clap-rs/clap/blob/v3.0.12/examples/derive_ref/README.md)
88

99
## License
1010

src/derive.rs

+4-4
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.0.11/examples/derive_ref/README.md)
23+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.12/examples/derive_ref/README.md)
2424
/// for attributes and best practices.
2525
///
2626
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -285,7 +285,7 @@ pub trait FromArgMatches: Sized {
285285
/// - `Variant(ChildArgs)`: No attribute is used with enum variants that impl `Args`.
286286
///
287287
/// See the
288-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.11/examples/derive_ref/README.md)
288+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.12/examples/derive_ref/README.md)
289289
/// for attributes and best practices.
290290
///
291291
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -329,7 +329,7 @@ pub trait Args: FromArgMatches + Sized {
329329
/// `Subcommand`.
330330
///
331331
/// See the
332-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.11/examples/derive_ref/README.md)
332+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.12/examples/derive_ref/README.md)
333333
/// for attributes and best practices.
334334
///
335335
/// **NOTE:** Deriving requires the `derive` feature flag
@@ -373,7 +373,7 @@ pub trait Subcommand: FromArgMatches + Sized {
373373
/// - Allowing using the `#[clap(default_value_t)]` attribute without implementing `Display`.
374374
///
375375
/// See the
376-
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.11/examples/derive_ref/README.md)
376+
/// [derive reference](https://github.com/clap-rs/clap/blob/v3.0.12/examples/derive_ref/README.md)
377377
/// for attributes and best practices.
378378
///
379379
/// **NOTE:** Deriving requires the `derive` feature flag

0 commit comments

Comments
 (0)