Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Deniskore committed Aug 17, 2023
1 parent 2bd3dbe commit dc81532
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 66 deletions.
72 changes: 13 additions & 59 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,79 +6,33 @@ jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.61.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: check
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.61
- run: cargo check

test:
name: Test Suite
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.61.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.61
- run: cargo test

fmt:
name: Rustfmt
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.61.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.61
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- run: cargo fmt --all -- --check

clippy:
name: Clippy
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.61.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.61
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- run: cargo clippy -- -D warnings
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iptools"
version = "0.2.3"
version = "0.2.4"
authors = ["Denis Avvakumov"]
license = "MIT"
readme = "README.md"
Expand All @@ -14,12 +14,12 @@ categories = ["algorithms", "network-programming"]
edition = "2021"

[dependencies]
regex = "1.7.1"
once_cell = "1.17.0"
ahash = "0.8.2"
regex = "1.9.3"
once_cell = "1.18.0"
ahash = "0.8.3"

[dev-dependencies]
pretty_assertions = "1.3.0"
pretty_assertions = "1.4.0"

[profile.release]
opt-level = 3
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://app.travis-ci.com/Deniskore/iptools.svg?branch=master)](https://app.travis-ci.com/github/Deniskore/iptools)
![Build Status](https://github.com/deniskore/iptools/actions/workflows/rust.yml/badge.svg)
[![Crates.io](https://img.shields.io/crates/v/iptools.svg)](https://crates.io/crates/iptools)
[![API reference](https://docs.rs/iptools/badge.svg)](https://docs.rs/iptools)

Expand All @@ -10,7 +10,7 @@ This is a port of package [iptools](https://github.com/bd808/python-iptools) fro
Add the following dependency to your Cargo manifest:
```
[dependencies]
iptools = "0.2.3"
iptools = "0.2.4"
```

## Example of usage
Expand Down

0 comments on commit dc81532

Please sign in to comment.