Release 3.0.0-beta.3

clap@3.0.0-beta.3
clap_derive@3.0.0-beta.3
clap_generate@3.0.0-beta.3

Generated by cargo-workspaces
This commit is contained in:
Pavan Kumar Sunkara 2021-08-14 23:01:13 +01:00
parent a9b86ecefc
commit 73b28fb104
9 changed files with 23 additions and 20 deletions

View file

@ -97,7 +97,7 @@ jobs:
if: matrix.features == 'none'
with:
command: test
args: --target ${{ matrix.target }} --no-default-features --features "std cargo" -p clap:3.0.0-beta.2
args: --target ${{ matrix.target }} --no-default-features --features "std cargo" -p clap:3.0.0-beta.3
- name: Test all features
uses: actions-rs/cargo@v1
if: matrix.features == 'all'
@ -139,7 +139,7 @@ jobs:
if: matrix.features == 'none'
with:
command: test
args: --no-default-features --features "std cargo" -p clap:3.0.0-beta.2
args: --no-default-features --features "std cargo" -p clap:3.0.0-beta.3
- name: Test all features
uses: actions-rs/cargo@v1
if: matrix.features == 'all'
@ -196,7 +196,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-default-features --features "std cargo" -p clap:3.0.0-beta.2
args: --no-default-features --features "std cargo" -p clap:3.0.0-beta.3
- name: Clippy for all features
uses: actions-rs/cargo@v1
with:

View file

@ -6,6 +6,13 @@ TODO: `YamlLoader`
<a name="v3.0.0-rc.0"></a>
## v3.0.0-rc.0
#### BREAKING CHANGES
<a name="v3.0.0-beta.3"></a>
## v3.0.0-beta.3 (2021-08-14)
#### Minimum Required Rust
* As of this release, `clap` requires `rustc 1.54.0` or greater.

View file

@ -1,6 +1,6 @@
[package]
name = "clap"
version = "3.0.0-beta.2"
version = "3.0.0-beta.3"
edition = "2018"
authors = [
"Kevin K. <kbknapp@gmail.com>",

View file

@ -17,7 +17,7 @@ It is a simple-to-use, efficient, and full-featured library for parsing command
* [Questions & Discussions](https://github.com/clap-rs/clap/discussions)
* [Website](https://clap.rs/)
We are currently hard at work trying to release `3.0`. We have a `3.0.0-beta.2` prerelease out but we do not give any guarantees that its API is stable. We do not have a changelog yet which will be written down after we are sure about the API stability. We recommend users to not update to the prerelease version yet and to wait for the official `3.0`.
We are currently hard at work trying to release `3.0`. We have a `3.0.0-beta.3` prerelease out but we do not give any guarantees that its API is stable. We do not have a changelog yet which will be written down after we are sure about the API stability. We recommend users to not update to the prerelease version yet and to wait for the official `3.0`.
> If you're looking for the readme & examples for `clap v2.33` - find it on [github](https://github.com/clap-rs/clap/tree/v2.33.0), [crates.io](https://crates.io/crates/clap/2.33.0), [docs.rs](https://docs.rs/clap/2.33.0/clap/).
@ -125,7 +125,7 @@ Add `clap` to your `Cargo.toml`
```toml
[dependencies]
clap = "3.0.0-beta.2"
clap = "3.0.0-beta.3"
```
#### Using Derive Macros
@ -349,7 +349,7 @@ Simply add the `yaml` feature flag to your `Cargo.toml`.
```toml
[dependencies]
clap = { version = "3.0.0-beta.2", features = ["yaml"] }
clap = { version = "3.0.0-beta.3", features = ["yaml"] }
```
Finally we create our `main.rs` file just like we would have with the previous two examples:
@ -455,7 +455,7 @@ For full usage, add `clap` as a dependency in your `Cargo.toml` to use from crat
```toml
[dependencies]
clap = "3.0.0-beta.2"
clap = "3.0.0-beta.3"
```
Define a list of valid arguments for your program (see the [documentation][docs] or [examples][examples] directory of this repo)
@ -480,7 +480,7 @@ To disable these, add this to your `Cargo.toml`:
```toml
[dependencies.clap]
version = "3.0.0-beta.2"
version = "3.0.0-beta.3"
default-features = false
features = ["std"]
```
@ -489,7 +489,7 @@ You can also selectively enable only the features you'd like to include, by addi
```toml
[dependencies.clap]
version = "3.0.0-beta.2"
version = "3.0.0-beta.3"
default-features = false
# Cherry-pick the features you'd like to use
@ -544,17 +544,13 @@ In order to keep from being surprised of breaking changes, it is **highly** reco
```toml
[dependencies]
clap = "~3.0.0-beta.2"
clap = "~3.0.0"
```
This will cause *only* the patch version to be updated upon a `cargo update` call, and therefore cannot break due to new features, or bumped minimum versions of Rust.
#### Minimum Supported Version of Rust (MSRV)
`clap` will officially support current stable Rust, minus two releases, but may work with prior releases as well. For example, current stable Rust at the time of this writing is 1.38.0, meaning `clap` is guaranteed to compile with 1.36.0 and beyond.
At the 1.39.0 stable release, `clap` will be guaranteed to compile with 1.37.0 and beyond, etc.
The following is a list of the minimum required version of Rust to compile `clap` by our `MAJOR.MINOR` version number:
| clap | MSRV |

View file

@ -1,6 +1,6 @@
[package]
name = "clap_derive"
version = "3.0.0-beta.2"
version = "3.0.0-beta.3"
edition = "2018"
authors = [
"Guillaume Pinot <texitoi@texitoi.eu>",

View file

@ -13,7 +13,7 @@
// MIT/Apache 2.0 license.
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
#![doc(html_root_url = "https://docs.rs/clap_derive/3.0.0-beta.2")]
#![doc(html_root_url = "https://docs.rs/clap_derive/3.0.0-beta.3")]
//! This crate is custom derive for clap. It should not be used
//! directly. See [clap documentation](clap)

View file

@ -1,6 +1,6 @@
[package]
name = "clap_generate"
version = "3.0.0-beta.2"
version = "3.0.0-beta.3"
edition = "2018"
authors = [
"Kevin K. <kbknapp@gmail.com>",

View file

@ -8,7 +8,7 @@
//! Generates stuff for [`clap`](https://github.com/clap-rs/clap) based CLIs
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.2")]
#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.3")]
#![deny(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
#![forbid(unsafe_code)]
#![allow(clippy::needless_doctest_main)]

View file

@ -4,7 +4,7 @@
// notice may not be copied, modified, or distributed except according to those terms.
#![doc(html_logo_url = "https://clap.rs/images/media/clap.png")]
#![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.2")]
#![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.3")]
#![doc = include_str!("../README.md")]
//! <https://github.com/clap-rs/clap>
#![crate_type = "lib"]