Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid suggesting star dependencies. #294

Merged
merged 2 commits into from
Oct 1, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The following is a list of contributors to the [clap](https://github.com/kbknapp
* [grossws](https://github.com/grossws)
* [Ivan Dmitrievsky](https://github.com/idmit) <<[email protected]>>
* [Homu](https://github.com/homu)
* [Huon Wilson](https://github.com/huonw)
* [J/A](https://github.com/archer884)
* [Jacob Helwig](https://github.com/jhelwig) <<[email protected]>>
* [James McGlashan](https://github.com/james-darkfox)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ fn main() {

If you were to compile any of the above programs and run them with the flag `--help` or `-h` (or `help` subcommand, since we defined `test` as a subcommand) the following would be output

**NOTE**: The YAML option requires adding a special `features` flag when compiling `clap` because it is not compiled by default since it takes additional dependencies that some people may not need. Simply change your `clap = "*"` to `clap = {version = "*", features = ["yaml"]}` in your `Cargo.toml` to use the YAML version.
**NOTE**: The YAML option requires adding a special `features` flag when compiling `clap` because it is not compiled by default since it takes additional dependencies that some people may not need. Simply change your `clap = "1"` to `clap = {version = "1", features = ["yaml"]}` in your `Cargo.toml` to use the YAML version.

```sh
$ myapp --help
Expand Down Expand Up @@ -413,7 +413,7 @@ To test out `clap`'s default auto-generated help/version follow these steps:
*
```toml
[dependencies]
clap = "*"
clap = "1"
```

* Add the following to your `src/main.rs`
Expand All @@ -436,7 +436,7 @@ For full usage, add `clap` as a dependency in your `Cargo.toml` file to use from

```toml
[dependencies]
clap = "*"
clap = "1"
```
Or track the latest on the master branch at github:

Expand All @@ -457,15 +457,15 @@ If you'd like to keep your dependency list to **only** `clap`, you can disable a

```toml
[dependencies.clap]
version = "*"
version = "1"
default-features = false
```

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

```toml
[dependencies.clap]
version = "*"
version = "1"
default-features = false
# Cherry-pick the features you'd like to use
Expand Down