Skip to content

Commit 1dff4d7

Browse files
committed
update docs
1 parent 95b9e01 commit 1dff4d7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# http_req
22
[![Build Status](https://travis-ci.com/jayjamesjay/http_req.svg?branch=master)](https://travis-ci.com/jayjamesjay/http_req)
3-
[![Crates.io](https://img.shields.io/badge/crates.io-v0.7.2-orange.svg?longCache=true)](https://crates.io/crates/http_req)
3+
[![Crates.io](https://img.shields.io/badge/crates.io-v0.8.0-orange.svg?longCache=true)](https://crates.io/crates/http_req)
44
[![Docs.rs](https://docs.rs/http_req/badge.svg)](https://docs.rs/http_req/0.7.2/http_req/)
55

66
Simple and lightweight HTTP client with built-in HTTPS support.
@@ -27,7 +27,7 @@ fn main() {
2727
In order to use `http_req` with `rustls` in your project, add following lines to `Cargo.toml`:
2828
```toml
2929
[dependencies]
30-
http_req = {version="^0.7", default-features = false, features = ["rust-tls"]}
30+
http_req = {version="^0.8", default-features = false, features = ["rust-tls"]}
3131
```
3232

3333
## License

src/request.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ impl Iterator for Counter {
4949
}
5050

5151
///Copies data from `reader` to `writer` until the `deadline` is reached.
52+
///Limitations of current implementation may cause exceeding the deadline.
5253
///Returns how many bytes has been read.
5354
pub fn copy_with_timeout<R, W>(reader: &mut R, writer: &mut W, deadline: Instant) -> io::Result<u64>
5455
where

0 commit comments

Comments
 (0)