From dc81532ce346965e1e37c51426ea7bd76723b36e Mon Sep 17 00:00:00 2001 From: Denis Date: Thu, 17 Aug 2023 08:56:48 +0300 Subject: [PATCH] Update dependencies --- .github/workflows/rust.yml | 72 +++++++------------------------------- Cargo.toml | 10 +++--- README.md | 4 +-- 3 files changed, 20 insertions(+), 66 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8661abe..1990149 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index c9d5112..fa2f835 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iptools" -version = "0.2.3" +version = "0.2.4" authors = ["Denis Avvakumov"] license = "MIT" readme = "README.md" @@ -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 diff --git a/README.md b/README.md index a199219..abd4e75 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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