Small Rust library to fetch web pages.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src
.editorconfig
.gitignore
.travis.yml
Cargo.lock
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

fetch

Build Status fetch on crates.io

Documentation

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
}

Development

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.

License

Licensed under either of

Contribution

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.