Skip to content

Commit c8c014b

Browse files
authored
Updating Dependencies (#12)
* ... * Fixed Five * Added Five and PokerCard multiples * Fixed clippy * Added Five.sort() * clippy * Added Two and HandValidator * Added HandValidator to Five * Added Three * Added Four * Added Six * Added Seven * bumped * bumped deps * fixed reuse error * Upped minimum rust to 1.65 to match updated deps * Upped minimum rust to 1.65 to match updated deps * Upped minimum rust to 1.65 to match updated deps * Upped minimum rust to 1.70 to match updated deps
1 parent 9220b4d commit c8c014b

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/workflows/CI.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
rust: [beta, stable, 1.63.0]
20+
rust: [beta, stable, 1.70.0]
2121
include:
2222
- rust: nightly
2323
rustflags: --cfg thiserror_nightly_testing
2424
timeout-minutes: 45
2525
steps:
26-
- uses: actions/checkout@v3
26+
- name: Checkout
27+
uses: actions/checkout@v4
2728
- uses: dtolnay/rust-toolchain@master
2829
with:
2930
toolchain: ${{matrix.rust}}
@@ -38,7 +39,10 @@ jobs:
3839
if: github.event_name != 'pull_request'
3940
timeout-minutes: 45
4041
steps:
41-
- uses: actions/checkout@v3
42+
- name: Checkout
43+
uses: actions/checkout@v4
44+
- name: Check semver
45+
uses: obi1kenobi/cargo-semver-checks-action@v2
4246
- uses: dtolnay/rust-toolchain@master
4347
with:
4448
toolchain: stable
@@ -51,7 +55,7 @@ jobs:
5155
if: github.event_name != 'pull_request'
5256
timeout-minutes: 45
5357
steps:
54-
- uses: actions/checkout@v3
58+
- uses: actions/checkout@v4
5559
- uses: dtolnay/rust-toolchain@master
5660
with:
5761
toolchain: stable

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
[package]
22
name = "ckc-rs"
33
description = "Poker hand evaluation library"
4-
version = "0.1.14"
4+
version = "0.1.15"
55
authors = ["electronicpanopticon <[email protected]>"]
66
repository = "https://github.com/ImperialBower/ckc-rs.git"
77
homepage = "https://github.com/ImperialBower/ckc-rs"
88
edition = "2021"
9-
rust-version = "1.63"
9+
rust-version = "1.70"
1010
license = "Apache-2.0"
1111
exclude = [".github/workflows/*", ".gitignore", "Cargo.lock"]
1212

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

1515
[dependencies]
16-
log = { version = "0.4.16", default-features = false }
17-
serde = { version = "1.0.133", default-features = false, features = ["derive"] }
18-
strum = { version = "0.24", features = ["derive"] }
16+
log = { version = "0.4.21", default-features = false }
17+
serde = { version = "1.0.197", default-features = false, features = ["derive"] }
18+
strum = { version = "0.26.2", features = ["derive"] }
1919

2020
[dev-dependencies]
21-
cardpack = "0.4.17"
22-
rstest = "0.16.0"
21+
cardpack = "0.5.1"
22+
rstest = "0.18.2"

src/cards/five.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ impl Shifty for Five {
255255
mod cards__five_tests {
256256
use super::*;
257257
use crate::hand_rank::{HandRankClass, HandRankName};
258-
use crate::CardNumber;
259258
use alloc::format;
260259
#[rustfmt::skip]
261260
#[rstest]

0 commit comments

Comments
 (0)