Sandbox+chroot friendly https client
LGPL-3.0 License
If you ever tried chrooting an https client into an empty folder you probably ran into two problems:
This crate is working around those issues by using:
We're also trying to avoid C dependencies and stick to safe rust as much as possible.
extern crate chrootable_https;
use chrootable_https::{Resolver, Client};
let resolver = Resolver::cloudflare();
let client = Client::new(resolver);
let reply = client.get("https://httpbin.org/anything").expect("request failed");
println!("{:#?}", reply);
LGPL-3+