Skip to content

Commit c50a4e8

Browse files
committed
chore: update to edition 2024 and nextest
1 parent 7dabdf3 commit c50a4e8

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525
- uses: Swatinem/rust-cache@v2
26+
- uses: taiki-e/install-action@nextest
2627
- run: cargo fmt -- --check && cargo clippy --all-targets --all-features -- -D warnings
27-
- run: cargo test
28+
- run: cargo nextest run

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cidrrr"
33
version = "2025.4.18"
4-
edition = "2021"
4+
edition = "2024"
55
authors = ["Stefan Ruzitschka <[email protected]>"]
66
description = "Convert a CIDR block to a list of IPs"
77
keywords = ["ip", "cidr", "ipv4", "ipv6"]
@@ -14,7 +14,7 @@ clap = { version = "4", features = ["cargo", "derive"] }
1414
ipnet = "2"
1515
serde = { version = "1.0.219", features = ["derive"] }
1616

17-
[dev_dependencies]
17+
[dev-dependencies]
1818
pretty_assertions = "1"
1919

2020
[profile.release]

check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ set -euo pipefail
33

44
cargo fmt --all
55
cargo clippy --tests --all-features --all-targets
6-
cargo test --tests --all-features --all-targets
6+
cargo nextest run --all-features --all-targets

0 commit comments

Comments
 (0)