Skip to content

Commit 58d2369

Browse files
committed
deps: update ureq to 2.5.0
1 parent 4c3af5c commit 58d2369

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ bitcoin_hashes = "0.11"
2222
tar = "0.4"
2323
zip = "0.5"
2424

25-
# allows to keep MSRV 1.41.1
26-
ureq = "1.0"
25+
ureq = "2.5.0"
2726
filetime = "=0.2.15"
2827
flate2 = "=1.0.22"
2928

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ assert_eq!(0, bitcoind.client.get_blockchain_info().unwrap().blocks);
1717
When a feature like `22_0` is selected, the build script will automatically download the bitcoin core version `22.0`, verify the hashes and place it in the build directory for this crate.
1818
Use utility function `downloaded_exe_path()` to get the downloaded executable path.
1919

20-
### Example
20+
### Example
2121

2222
In your project Cargo.toml, activate the following features
2323

@@ -35,7 +35,7 @@ let bitcoind = bitcoind::BitcoinD::new(bitcoind::downloaded_exe_path().unwrap())
3535

3636
## MSRV
3737

38-
1.41.1
38+
1.53
3939

4040
## Issues with traditional approach
4141

@@ -50,7 +50,7 @@ I used integration testing based on external bash script launching needed extern
5050

5151
* It waits until bitcoind daemon become ready to accept RPC commands
5252
* bitcoind use a temporary directory as datadir. You can specify the root of your temp directories so that you have node's datadir in a RAM disk (eg `/dev/shm`)
53-
* Free ports are asked to the OS (a low probability race condition is still possible)
53+
* Free ports are asked to the OS (a low probability race condition is still possible)
5454
* the process is killed when the struct goes out of scope no matter how the test finishes
5555
* allows easy spawning of dependent process like https://github.com/RCasatta/electrsd
5656

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ fn main() {
103103
);
104104
println!("url:{}", url);
105105
let mut downloaded_bytes = Vec::new();
106-
let resp = ureq::get(&url).call();
106+
let resp = ureq::get(&url).call().unwrap();
107107
assert_eq!(resp.status(), 200, "url {} didn't return 200", url);
108108

109109
let _size = resp

0 commit comments

Comments
 (0)