Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Version 0.0.7 and Hyper 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Nov 15, 2023
1 parent 0d9f5f9 commit fbc9596
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Check Style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Rust (${{ matrix.rust }})
uses: dtolnay/rust-toolchain@master
Expand All @@ -75,27 +75,22 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Rust (${{ matrix.rust }})
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}

- name: Make sure log v0.4.18 is used
run: |
cargo update
cargo update -p log --precise 0.4.18
- run: cargo check
- run: cargo check --features full

miri:
name: Test with Miri
needs: [style]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@nightly
with:
Expand All @@ -112,20 +107,20 @@ jobs:
needs: [style]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@nightly

- uses: taiki-e/install-action@cargo-hack

- run: cargo hack check --feature-powerset --depth 2 -Z avoid-dev-deps
- run: cargo hack --no-dev-deps check --feature-powerset --depth 2

doc:
name: Build docs
needs: [style, test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@nightly

Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "salvo-utils"
version = "0.0.6"
version = "0.0.7"
description = "hyper utilities"
readme = "README.md"
homepage = "https://salvo.rs"
Expand All @@ -13,10 +13,10 @@ categories = ["network-programming", "web-programming::http-client", "web-progra
edition = "2018"

[dependencies]
hyper = "=1.0.0-rc.4"
hyper = "1"
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false }
http = "0.2"
http = "1"

once_cell = "1.17"

Expand All @@ -29,11 +29,11 @@ tower = { version = "0.4", features = ["make", "util"] }

[dev-dependencies]
bytes = "1"
http-body-util = "0.1.0-rc.3"
http-body-util = "0.1"
tokio = { version = "1", features = ["macros", "test-util"] }

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies]
pnet_datalink = "0.27.2"
pnet_datalink = "0.34"

[features]
default = []
Expand Down

0 comments on commit fbc9596

Please sign in to comment.