Skip to content

Commit e81ebe2

Browse files
committed
made async-minreq as experimental feature
1 parent 25d8d47 commit e81ebe2

4 files changed

Lines changed: 260 additions & 92 deletions

File tree

.github/workflows/cont_integration.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
- async-https-native
3131
- async-https-rustls
3232
- async-https-rustls-manual-roots
33+
- async-minreq
34+
- async-minreq-https
35+
- async-minreq-https-native
36+
- async-minreq-https-rustls
37+
- async-minreq-https-rustls-manual-roots
3338
steps:
3439
- name: Checkout
3540
uses: actions/checkout@v4
@@ -54,13 +59,17 @@ jobs:
5459
- name: Pin dependencies for MSRV
5560
if: matrix.rust.version == '1.71.0'
5661
run: |
62+
cargo update -p reqwest --precise "0.12.4"
5763
cargo update -p minreq --precise "2.13.2"
5864
cargo update -p home --precise "0.5.5"
59-
cargo update -p security-framework-sys --precise "2.14.0"
65+
cargo update -p url --precise "2.5.0"
66+
cargo update -p tokio --precise "1.44.0"
67+
cargo update -p security-framework-sys --precise "2.11.1"
6068
cargo update -p native-tls --precise "0.2.13"
6169
cargo update -p ring --precise "0.17.12"
6270
cargo update -p flate2 --precise "1.0.35"
6371
cargo update -p once_cell --precise "1.20.3"
72+
cargo update -p tracing-core --precise "0.1.33"
6473
cargo update -p parking_lot --precise "0.12.3"
6574
cargo update -p parking_lot_core --precise "0.9.10"
6675
cargo update -p lock_api --precise "0.4.12"

Cargo.toml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ bitcoin = { version = "0.32", features = ["serde", "std"], default-features = fa
2222
hex = { version = "0.2", package = "hex-conservative" }
2323
log = "^0.4"
2424
minreq = { version = "2.11.0", features = ["json-using-serde"], optional = true }
25-
async_minreq = { git = "https://github.com/BEULAHEVANJALIN/async-minreq", default-features = false, features = ["json-using-serde"], optional = true }
25+
async_minreq = { version = "0.1.0", default-features = false, features = ["json-using-serde"], optional = true }
26+
reqwest = { version = "0.12", features = ["json"], default-features = false, optional = true }
2627

2728
# default async runtime
2829
tokio = { version = "1", features = ["time"], optional = true }
@@ -42,8 +43,13 @@ blocking-https-native = ["blocking", "minreq/https-native"]
4243
blocking-https-bundled = ["blocking", "minreq/https-bundled"]
4344

4445
tokio = ["dep:tokio"]
45-
async = ["async_minreq", "async_minreq/proxy", "tokio?/time"]
46-
async-https = ["async", "async_minreq/https"]
47-
async-https-native = ["async", "async_minreq/https-native"]
48-
async-https-rustls = ["async", "async_minreq/https-rustls"]
49-
async-https-rustls-manual-roots = ["async"]
46+
async = ["reqwest", "reqwest/socks", "tokio?/time"]
47+
async-https = ["async", "reqwest/default-tls"]
48+
async-https-native = ["async", "reqwest/native-tls"]
49+
async-https-rustls = ["async", "reqwest/rustls-tls"]
50+
async-https-rustls-manual-roots = ["async", "reqwest/rustls-tls-manual-roots"]
51+
async-minreq = ["async_minreq", "async_minreq/proxy", "tokio?/time"]
52+
async-minreq-https = ["async-minreq", "async_minreq/https"]
53+
async-minreq-https-native = ["async-minreq", "async_minreq/https-native"]
54+
async-minreq-https-rustls = ["async-minreq", "async_minreq/https-rustls"]
55+
async-minreq-https-rustls-manual-roots = ["async-minreq"]

0 commit comments

Comments
 (0)