-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use async fn in trait for Service definition (#36)
- Loading branch information
Showing
9 changed files
with
222 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
version: | ||
- 1.66.0 # MSRV | ||
- 1.75.0 # MSRV | ||
- stable | ||
- nightly | ||
|
||
|
@@ -34,7 +34,7 @@ jobs: | |
uses: Swatinem/[email protected] | ||
|
||
- name: Cache cargo tarpaulin | ||
if: matrix.version == '1.65.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') | ||
if: matrix.version == '1.75.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.cargo/bin | ||
|
@@ -48,19 +48,19 @@ jobs: | |
args: --all --no-fail-fast --features=ntex/tokio -- --nocapture | ||
|
||
- name: Install tarpaulin | ||
if: matrix.version == '1.65.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') | ||
if: matrix.version == '1.75.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') | ||
continue-on-error: true | ||
run: | | ||
cargo install cargo-tarpaulin | ||
- name: Generate coverage report | ||
if: matrix.version == '1.65.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') | ||
if: matrix.version == '1.75.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') | ||
continue-on-error: true | ||
run: | | ||
cargo tarpaulin --out Xml --all --features=ntex/tokio | ||
- name: Upload to Codecov | ||
if: matrix.version == '1.65.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') | ||
if: matrix.version == '1.75.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') | ||
continue-on-error: true | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
|
@@ -69,7 +69,7 @@ jobs: | |
- name: Install cargo-cache | ||
continue-on-error: true | ||
run: | | ||
cargo install cargo-cache --version 0.6.2 --no-default-features --features ci-autoclean | ||
cargo install cargo-cache --no-default-features --features ci-autoclean | ||
- name: Clear the cargo caches | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ntex-amqp" | ||
version = "0.8.9" | ||
version = "1.0.0-b.0" | ||
authors = ["ntex contributors <[email protected]>"] | ||
description = "AMQP 1.0 Client/Server framework" | ||
documentation = "https://docs.rs/ntex-amqp" | ||
|
@@ -24,7 +24,7 @@ default = [] | |
frame-trace = [] | ||
|
||
[dependencies] | ||
ntex = "0.7.16" | ||
ntex = "1.0.0-b.0" | ||
ntex-amqp-codec = "0.9.1" | ||
|
||
bitflags = "2.4" | ||
|
@@ -36,7 +36,7 @@ uuid = { version = "1", features = ["v4"] } | |
|
||
[dev-dependencies] | ||
env_logger = "0.10" | ||
ntex = { version = "0.7", features = ["tokio"] } | ||
ntex = { version = "1.0.0-b.0", features = ["tokio"] } | ||
|
||
[patch.crates-io] | ||
ntex-amqp = { path = "." } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.