Skip to content

Commit

Permalink
readme: re-word usage to remove version number
Browse files Browse the repository at this point in the history
We cheat a little bit by leveraging 'cargo add'.

Closes #889
  • Loading branch information
BurntSushi committed Jul 19, 2022
1 parent 67824c7 commit fc6f5cc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ can be found on the

### Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
regex = "1.5"
```
To bring this crate into your repository, either add `regex` to your
`Cargo.toml`, or run `cargo add regex`.

Here's a simple example that matches a date in YYYY-MM-DD format and prints the
year, month and day:
Expand Down

0 comments on commit fc6f5cc

Please sign in to comment.