{"id":57704,"library":"reqwest-middleware","title":"Reqwest Middleware","description":"Wrapper around reqwest to allow for client middleware chains.","status":"active","version":"0.5.1","language":"rust","source_language":null,"source_url":"https://github.com/TrueLayer/reqwest-middleware","tags":["http-client","middleware","reqwest","async"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nreqwest-middleware = \"0.5.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add reqwest-middleware","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"ClientBuilder","correct":"use reqwest_middleware::ClientBuilder;"}],"quickstart":{"code":"use reqwest_middleware::ClientBuilder;\nuse reqwest::Client;\n\n#[tokio::main]\nasync fn main() {\n    let client = ClientBuilder::new(Client::new()).build();\n    let resp = client.get(\"https://httpbin.org/get\").send().await.unwrap();\n    println!(\"Status: {}\", resp.status());\n}","lang":"rust","description":"Creates a reqwest client with middleware support."},"warnings":[{"fix":"Add reqwest = { version = \"0.11\", features = [\"middleware\"] } to Cargo.toml.","message":"Requires reqwest as a dependency with the 'middleware' feature enabled.","severity":"gotcha","affected_versions":">=0.5.0"}],"env_vars":null,"search_vec":"'allow':7 'around':4 'async':17 'chain':11 'client':9,14 'http':13 'http-client':12 'middlewar':2,10,15 'reqwest':1,5,16 'wrapper':3","created_at":"2026-06-16T15:54:25.099917+00:00","updated_at":"2026-06-16T15:54:25.099917+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/TrueLayer/reqwest-middleware","github":"https://github.com/TrueLayer/reqwest-middleware","docs":"https://docs.rs/reqwest-middleware/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}