Skip to content

Commit 75db81d

Browse files
bjacotgcopybara-github
authored andcommitted
Add minimal version 1.67.0 of rustc to the package.
This is due to the usage of usize::ilog10()[1] in description::Description. [1] https://doc.rust-lang.org/std/primitive.usize.html#method.ilog10 PiperOrigin-RevId: 515614142
1 parent 05d1105 commit 75db81d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ This library brings the rich assertion types of Google's C++ testing library
2525
* A new set of assertion macros offering similar functionality to those of
2626
[GoogleTest](https://google.github.io/googletest/primer.html#assertions).
2727

28-
**We recommend using Rust 1.66 or later with this library.** It does not work
29-
smoothly with prior versions.
28+
**The minimum supported Rust version is 1.67**
3029

3130
> :warning: The API is not fully stable and may still be changed until we
3231
> publish version 1.0.

googletest/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ repository = "https://github.com/google/googletest-rust"
2222
readme = "../README.md"
2323
license = "Apache-2.0"
2424
edition = "2021"
25+
rust-version = "1.67.0"
2526
authors = [
2627
"Bradford Hovinen <hovinen@google.com>",
2728
"Bastien Jacot-Guillarmod <bjacotg@google.com>",

0 commit comments

Comments
 (0)