{"id":13440182,"url":"https://github.com/seanmonstar/reqwest","last_synced_at":"2025-05-12T18:22:17.783Z","repository":{"id":37444975,"uuid":"62350380","full_name":"seanmonstar/reqwest","owner":"seanmonstar","description":"An easy and powerful Rust HTTP Client","archived":false,"fork":false,"pushed_at":"2025-04-29T17:47:36.000Z","size":2167,"stargazers_count":10566,"open_issues_count":461,"forks_count":1222,"subscribers_count":75,"default_branch":"master","last_synced_at":"2025-05-05T15:51:04.425Z","etag":null,"topics":["http","http-client","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/reqwest","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seanmonstar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["seanmonstar"]}},"created_at":"2016-07-01T00:23:08.000Z","updated_at":"2025-05-05T11:58:12.000Z","dependencies_parsed_at":"2023-12-28T00:00:07.955Z","dependency_job_id":"f6cc4bcd-aad6-4a2e-84d0-39881f43117d","html_url":"https://github.com/seanmonstar/reqwest","commit_stats":{"total_commits":1019,"total_committers":351,"mean_commits":2.903133903133903,"dds":0.6918547595682041,"last_synced_commit":"8ed106529776805c7c2e6c626e3f248ff758de19"},"previous_names":[],"tags_count":104,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Freqwest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Freqwest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Freqwest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Freqwest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanmonstar","download_url":"https://codeload.github.com/seanmonstar/reqwest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253650947,"owners_count":21942232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","http-client","rust"],"created_at":"2024-07-31T03:01:20.488Z","updated_at":"2025-05-12T18:22:17.762Z","avatar_url":"https://github.com/seanmonstar.png","language":"Rust","funding_links":["https://github.com/sponsors/seanmonstar"],"categories":["Libraries","Rust","Programming","库 Libraries","Repository","库","HarmonyOS","Rust 程序设计","Web Framework","Awesome Tools","rust","Recently Updated","http","\u003ca name=\"Rust\"\u003e\u003c/a\u003eRust","Programming Languages"],"sub_categories":["Web programming","Rust 🦀","网络编程 Web programming","HTTP","网页编程","Windows Manager","网络服务_其他","Languages","[Apr 03, 2025](/content/2025/04/03/README.md)","Rust libraries","web编程 Web programming","Web","Rust"],"readme":"# reqwest\n\n[![crates.io](https://img.shields.io/crates/v/reqwest.svg)](https://crates.io/crates/reqwest)\n[![Documentation](https://docs.rs/reqwest/badge.svg)](https://docs.rs/reqwest)\n[![MIT/Apache-2 licensed](https://img.shields.io/crates/l/reqwest.svg)](./LICENSE-APACHE)\n[![CI](https://github.com/seanmonstar/reqwest/workflows/CI/badge.svg)](https://github.com/seanmonstar/reqwest/actions?query=workflow%3ACI)\n\nAn ergonomic, batteries-included HTTP Client for Rust.\n\n- Async and blocking `Client`s\n- Plain bodies, JSON, urlencoded, multipart\n- Customizable redirect policy\n- HTTP Proxies\n- HTTPS via system-native TLS (or optionally, rustls)\n- Cookie Store\n- WASM\n\n\n## Example\n\nThis asynchronous example uses [Tokio](https://tokio.rs) and enables some\noptional features, so your `Cargo.toml` could look like this:\n\n```toml\n[dependencies]\nreqwest = { version = \"0.12\", features = [\"json\"] }\ntokio = { version = \"1\", features = [\"full\"] }\n```\n\nAnd then the code:\n\n```rust,no_run\nuse std::collections::HashMap;\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let resp = reqwest::get(\"https://httpbin.org/ip\")\n        .await?\n        .json::\u003cHashMap\u003cString, String\u003e\u003e()\n        .await?;\n    println!(\"{resp:#?}\");\n    Ok(())\n}\n```\n\n## Commercial Support\n\nFor private advice, support, reviews, access to the maintainer, and the like, reach out for [commercial support][sponsor].\n\n## Requirements\n\nOn Linux:\n\n- OpenSSL with headers. See https://docs.rs/openssl for supported versions\n  and more details. Alternatively you can enable the `native-tls-vendored`\n  feature to compile a copy of OpenSSL. Or, you can use [rustls](https://github.com/rustls/rustls)\n  via `rustls-tls` or other `rustls-tls-*` features.\n\nOn Windows and macOS:\n\n- Nothing.\n\nBy default, Reqwest uses [rust-native-tls](https://github.com/sfackler/rust-native-tls),\nwhich will use the operating system TLS framework if available, meaning Windows\nand macOS. On Linux, it will use the available OpenSSL or fail to build if\nnot found.\n\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n\n## Sponsors\n\nSupport this project by becoming a [sponsor][].\n\n[sponsor]: https://seanmonstar.com/sponsor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmonstar%2Freqwest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanmonstar%2Freqwest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmonstar%2Freqwest/lists"}