aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-19 16:51:51 -0700
committerJoel Galenson <jgalenson@google.com>2021-05-19 16:51:51 -0700
commit3874808a33005b78d4dcbc84fc41afe856c2904c (patch)
tree02c0b3035a3cf71f10f04c344fb3e636a1090409 /README.md
parentffb6030a530f824e597fae242b0c77c0743fc545 (diff)
downloadregex-3874808a33005b78d4dcbc84fc41afe856c2904c.tar.gz
Upgrade rust/crates/regex to 1.5.4
Test: make Change-Id: I0eab39246dc2aea41a62c15661e350b490f06c1d
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 3 insertions, 9 deletions
diff --git a/README.md b/README.md
index f7a2554..86d6996 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ by [RE2](https://github.com/google/re2).
[![Build status](https://github.com/rust-lang/regex/workflows/ci/badge.svg)](https://github.com/rust-lang/regex/actions)
[![](https://meritbadge.herokuapp.com/regex)](https://crates.io/crates/regex)
-[![Rust](https://img.shields.io/badge/rust-1.28.0%2B-blue.svg?maxAge=3600)](https://github.com/rust-lang/regex)
+[![Rust](https://img.shields.io/badge/rust-1.41.1%2B-blue.svg?maxAge=3600)](https://github.com/rust-lang/regex)
### Documentation
@@ -27,13 +27,7 @@ Add this to your `Cargo.toml`:
```toml
[dependencies]
-regex = "1"
-```
-
-and this to your crate root (if you're using Rust 2015):
-
-```rust
-extern crate regex;
+regex = "1.5"
```
Here's a simple example that matches a date in YYYY-MM-DD format and prints the
@@ -228,7 +222,7 @@ The full set of features one can disable are
### Minimum Rust version policy
-This crate's minimum supported `rustc` version is `1.28.0`.
+This crate's minimum supported `rustc` version is `1.41.1`.
The current **tentative** policy is that the minimum Rust version required
to use this crate can be increased in minor version updates. For example, if