Skip to content

Commit

Permalink
Merge #2138
Browse files Browse the repository at this point in the history
2138: Release 3.0.0-beta.2 r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
  • Loading branch information
bors[bot] and pksunkara committed Sep 19, 2020
2 parents 8e676b5 + d881a11 commit 08b2f4d
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines.yml
Expand Up @@ -32,7 +32,7 @@ stages:
displayName: Checkout repository
- script: rustup default $(rust)-$(target)
displayName: Install rust
- script: cargo test --no-default-features --features "std cargo" -p clap:3.0.0-beta.1
- script: cargo test --no-default-features --features "std cargo" -p clap:3.0.0-beta.2
displayName: Test with almost no features
- script: cargo test --features "yaml unstable"
displayName: Test with most features
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -82,7 +82,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.1
args: --target ${{ matrix.target }} --no-default-features --features "std cargo" -p clap:3.0.0-beta.2
- name: Test all features
uses: actions-rs/cargo@v1
if: matrix.features == 'all'
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -33,7 +33,7 @@ jobs:
- rust: nightly
cache: false
script:
- cargo test --no-default-features --features "std cargo" -p clap:3.0.0-beta.1
- cargo test --no-default-features --features "std cargo" -p clap:3.0.0-beta.2
- cargo test --features "yaml unstable doc"
- name: Linting (fmt + clippy)
before_script:
Expand All @@ -58,7 +58,7 @@ jobs:
script:
- cargo tarpaulin --workspace --features "yaml unstable" --ciserver travis-ci --coveralls $TRAVIS_JOB_ID --timeout 300
script:
- cargo test --no-default-features --features "std cargo" -p clap:3.0.0-beta.1
- cargo test --no-default-features --features "std cargo" -p clap:3.0.0-beta.2
- cargo test --features "yaml unstable"
notifications:
email: false
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,9 @@ TODO: Structopt and traits
TODO: `Shell`, `YamlLoader`
TODO: `cargo`, `std` features

<a name="v3.0.0-beta.2"></a>
## v3.0.0-beta.2 (2020-09-18)

#### BREAKING CHANGES

* **Removed**
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "clap"
version = "3.0.0-beta.1"
version = "3.0.0-beta.2"
edition = "2018"
authors = [
"Kevin K. <kbknapp@gmail.com>",
Expand Down Expand Up @@ -77,7 +77,7 @@ atty = { version = "0.2", optional = true }
termcolor = { version = "1.1", optional = true }
terminal_size = { version = "0.1.12", optional = true }
lazy_static = { version = "1", optional = true }
clap_derive = { path = "./clap_derive", version = "3.0.0-beta.1", optional = true }
clap_derive = { path = "./clap_derive", version = "3.0.0-beta.2", optional = true }
regex = { version = "1.0", optional = true }

[dev-dependencies]
Expand Down
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -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.1` prerelease out but we do not give any guarantees that it's 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.2` prerelease out but we do not give any guarantees that it's 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/).
Expand Down Expand Up @@ -123,7 +123,7 @@ Add `clap` to your `Cargo.toml`

```toml
[dependencies]
clap = "3.0.0-beta.1"
clap = "3.0.0-beta.2"
```

#### Using Derive Macros
Expand Down Expand Up @@ -315,7 +315,7 @@ Simply add the `yaml` feature flag to your `Cargo.toml`.

```toml
[dependencies]
clap = { version = "3.0.0-beta.1", features = ["yaml"] }
clap = { version = "3.0.0-beta.2", features = ["yaml"] }
```

Finally we create our `main.rs` file just like we would have with the previous two examples:
Expand Down Expand Up @@ -421,7 +421,7 @@ For full usage, add `clap` as a dependency in your `Cargo.toml` to use from crat

```toml
[dependencies]
clap = "3.0.0-beta.1"
clap = "3.0.0-beta.2"
```

Define a list of valid arguments for your program (see the [documentation][docs] or [examples][examples] directory of this repo)
Expand All @@ -440,15 +440,15 @@ To disable these, add this to your `Cargo.toml`:

```toml
[dependencies.clap]
version = "3.0.0-beta.1"
version = "3.0.0-beta.2"
default-features = false
```

You can also selectively enable only the features you'd like to include, by adding:

```toml
[dependencies.clap]
version = "3.0.0-beta.1"
version = "3.0.0-beta.2"
default-features = false

# Cherry-pick the features you'd like to use
Expand Down Expand Up @@ -503,7 +503,7 @@ In order to keep from being surprised of breaking changes, it is **highly** reco

```toml
[dependencies]
clap = "~3.0.0-beta.1"
clap = "~3.0.0-beta.2"
```

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.
Expand Down
2 changes: 1 addition & 1 deletion clap_derive/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "clap_derive"
version = "3.0.0-beta.1"
version = "3.0.0-beta.2"
edition = "2018"
authors = [
"Guillaume Pinot <texitoi@texitoi.eu>",
Expand Down
4 changes: 2 additions & 2 deletions clap_generate/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "clap_generate"
version = "3.0.0-beta.1"
version = "3.0.0-beta.2"
edition = "2018"
authors = [
"Kevin K. <kbknapp@gmail.com>",
Expand Down Expand Up @@ -35,7 +35,7 @@ is-it-maintained-open-issues = { repository = "clap-rs/clap" }
maintenance = {status = "actively-developed"}

[dependencies]
clap = { path = "../", version = "3.0.0-beta.1" }
clap = { path = "../", version = "3.0.0-beta.2" }

[dev-dependencies]
pretty_assertions = "0.6"
Expand Down
2 changes: 1 addition & 1 deletion clap_generate/src/lib.rs
Expand Up @@ -7,7 +7,7 @@

//! Generates stuff for [`clap`](https://github.com/clap-rs/clap) based CLIs

#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.1")]
#![doc(html_root_url = "https://docs.rs/clap_generate/3.0.0-beta.2")]
#![deny(
missing_docs,
trivial_casts,
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -4,7 +4,7 @@
// notice may not be copied, modified, or distributed except according to those terms.

#![cfg_attr(feature = "doc", feature(external_doc))]
#![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.1")]
#![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.2")]
#![cfg_attr(feature = "doc", doc(include = "../README.md"))]
//! https://github.com/clap-rs/clap
#![crate_type = "lib"]
Expand Down

0 comments on commit 08b2f4d

Please sign in to comment.