9 unstable releases (3 breaking)

✓ Uses Rust 2018 edition

0.4.0 Dec 5, 2019
0.3.0 Jul 11, 2019
0.2.1 Jul 3, 2019
0.2.0 Mar 16, 2018
0.1.0 May 29, 2017

#64 in HTTP client

Download history 17/week @ 2019-11-01 1/week @ 2019-11-08 9/week @ 2019-11-15 10/week @ 2019-11-22 23/week @ 2019-11-29 96/week @ 2019-12-06 6/week @ 2019-12-13 2/week @ 2019-12-20 10/week @ 2019-12-27 7/week @ 2020-01-03 38/week @ 2020-01-10 48/week @ 2020-01-17 2/week @ 2020-01-24 5/week @ 2020-01-31 12/week @ 2020-02-07

78 downloads per month
Used in 3 crates (2 directly)

BSD-3-Clause and MPL-2.0 licenses

1.5K SLoC


Build Status Current Crates.io Version dependency status Latests Documentation

Cabot is a simple Rust library to perform HTTP call.

Take a look at the documentation for usage.

Unlike known alternatives, cabot does not rely on OpenSSL to perform https, but use rustls instead.

Cabot is also a command line tool ala curl: cabot <url>

Use -h for more options


BSD 3-Clause License

Known Alternatives



cabot is a command line tool and a rust library for sending HTTP query. It is a simple implementation of HTTP based on the rust standard library to perform TCP and DNS query, and use rustls for handling HTTPS connection. No tiers library are used for HTTP protocol.

cabot is inspired by the cURL command line tool, but focus on the http protocol which is the referent in HTTP client library.


Command Line:

$ cargo run -- https://www.rust-lang.org/ 2>&1| head -n 20 | grep 'name="description"'
    <meta name="description" content="A language empowering everyone to build reliable and efficient software.">


use async_std::task;
use cabot::{RequestBuilder, Client};

let request = RequestBuilder::new("https://www.rust-lang.org/")
let client = Client::new();
let response = task::block_on(async {client.execute(&request).await.unwrap()});
assert!(response.body_as_string().unwrap().contains("Rust is blazingly fast and memory-efficient"));

Why cabot ?

To get a simple rust native https client. No binding to OpenSSL.


BSD 3-Clause License


~365K SLoC