Skip to content

Commit

Permalink
Merge 864cc89 into 2e95285
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahab96 committed Apr 11, 2024
2 parents 2e95285 + 864cc89 commit 0f85342
Show file tree
Hide file tree
Showing 7 changed files with 1,409 additions and 263 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,21 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
- name: Run tests
- name: Run tests with async off
uses: actions-rs/cargo@v1
with:
command: test
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off"
- name: Run tests with async on
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off"
- name: Gather coverage data
id: coverage
uses: actions-rs/grcov@v0.1
Expand Down
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ edition = "2018"
[features]
default = ["tls"]
tls = ["openssl"]
async = ["tokio"]

[dependencies]
byteorder = "1"
url = "^2.1"
rand = "0.8"
enum_dispatch = "0.3"
openssl = { version = "^0.10", optional = true }
r2d2 = "^0.8"
openssl = { version = "^0.10", optional = true }
tokio = { version = "^1.37", optional = true, features = ["macros", "rt", "time"] }

0 comments on commit 0f85342

Please sign in to comment.