mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
Update README.md
This commit is contained in:
parent
299a93f1dc
commit
63c40eb68c
1 changed files with 3 additions and 3 deletions
|
@ -81,16 +81,16 @@ Command Line Argument Parser written in Rust
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
Simply add `clap` as a dependecy in your `Cargo.toml` file:
|
Simply add `clap` as a dependecy in your `Cargo.toml` file to use from crates.io:
|
||||||
|
|
||||||
```
|
```
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "*"
|
clap = "*"
|
||||||
```
|
```
|
||||||
Or to simply track the latest version on the master branch:
|
Or to simply track the latest on the master branch at github:
|
||||||
|
|
||||||
```
|
```
|
||||||
[dependencies.clap]
|
[dependencies.clap]
|
||||||
git = "https://github.com/kbknapp/clap-rs.git"
|
git = "https://github.com/kbknapp/clap-rs.git"
|
||||||
```
|
```
|
||||||
Then run either `cargo build` or `cargo update` for your project.
|
Then run `cargo build` or `cargo update` for your project.
|
||||||
|
|
Loading…
Reference in a new issue