Skip to content

Commit 2d98a23

Browse files
committed
Added MSRV version metadata header to Cargo.toml
This is not a breaking change; this library could not compile on prior versions to 1.62.
1 parent 6e27fdd commit 2d98a23

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ repository = "https://github.com/Nydauron/playing-cards"
99
readme = "README.md"
1010
keywords = ["cards", "poker", "hand-evaluation"]
1111
categories = ["games", "simulation"]
12+
rust-version = "1.62"
1213

1314
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1415

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ This library is still in early development. While I will try to mitgate such a c
99
features may be subject to breaking changes across minor version changes. Be sure to check the docs
1010
for updates on any changes and deprecations.
1111

12+
## MSRV (Minimum Supported Rust Version)
13+
Requires rustc 1.62+
14+
1215
## Features
1316

1417
### Core

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
//! This library is still in early development. A lot of features may be subject to breaking
1010
//! changes across minor version changes. Be sure to check the docs for updates on any changes.
1111
//!
12+
//! ## MSRV (Minimum Supported Rust Version)
13+
//! Requires rustc 1.62+
14+
//!
1215
//! ## Breaking Changes in v0.1.0
1316
//! - Rank types are now primarily used for storing hand rankings instead of `u64`s.
1417
//! - The `Evaluator` trait has been removed.

0 commit comments

Comments
 (0)