deboa-compio 0.1.0

A friendly rest client on top of hyper.
use std::sync::Arc;

use url::Url;

use crate::{Client, Result};

async fn shl() -> Result<()> {
    let client = Client::default();
    let request = &client << "https://httpbin.org/get";

    assert_eq!(request.url(), Arc::new(Url::parse("https://httpbin.org/get").unwrap()));

    Ok(())
}

#[compio::test]
async fn test_shl() -> Result<()> {
    shl().await
}