Skip to content

Commit 1f4e5a1

Browse files
committed
downgrade ureq to support MSRV 1.41.1
1 parent 4d868ef commit 1f4e5a1

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
strategy:
5858
fail-fast: false
5959
matrix:
60-
toolchain: [ "1.41.1", "1.45.0", "1.46.0", "stable", "nightly" ]
60+
toolchain: [ "1.41.1", "stable", "nightly" ]
6161

6262
steps:
6363
- uses: actions/checkout@v2

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ home = "0.5.3" # use same ver in build-dep
1818
env_logger = "0.8"
1919

2020
[build-dependencies]
21-
ureq = "2.1"
21+
ureq = "<2" # allows to keep MSRV 1.41.1
2222
bitcoin_hashes = "0.10"
2323
flate2 = "1.0"
2424
tar = "0.4"

Readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ let bitcoind = bitcoind::BitcoinD::new("/usr/local/bin/bitcoind").unwrap();
1111
assert_eq!(0, bitcoind.client.get_blockchain_info().unwrap().blocks);
1212
```
1313

14+
## MSRV
15+
16+
1.41.1
17+
1418
## Features
1519

1620
* It waits until bitcoind daemon become ready to accept RPC commands

build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ fn main() {
6060

6161
let _size = ureq::get(&url)
6262
.call()
63-
.unwrap()
6463
.into_reader()
6564
.read_to_end(&mut downloaded_bytes)
6665
.unwrap();

0 commit comments

Comments
 (0)