rustlavel-client 0.5.0

Rustlavel outbound HTTP client, written on Tokio with TLS from rustls
Documentation

rustlavel-client: the outbound HTTP client.

Written on Tokio's TCP the same way the server is, with TLS delegated to rustls — the framework writes its own protocols but never its own cryptography. It exists because the AI and MCP packages need to call out, and because an application often does too.

let response = Client::new()
    .post("https://api.example.com/v1/things")
    .header("authorization", format!("Bearer {token}"))
    .json(Json::object([("name", "widget".into())]))
    .send()
    .await?;