Crates.io | fetch |
lib.rs | fetch |
version | 0.7.2 |
source | src |
created_at | 2016-08-06 19:10:51.78045 |
updated_at | 2016-10-15 15:51:14.978283 |
description | Fetch web pages easily (supports compression and non UTF-8 encodings) |
homepage | |
repository | https://github.com/tp/fetch-rs |
max_upload_size | |
id | 5910 |
size | 22,023 |
A small Rust library to fetch web pages.
extern crate fetch;
fn main() {
let body = fetch::fetch_body("https://www.rust-lang.org/en-US/"); // fetch the response body of the given URL as String
}
When running on OS X with a homebrew installed openssl version, make sure the correct paths are passed to cargo. See the scripts
folder for details.
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.