{"id":13478712,"url":"https://github.com/hyperium/http","last_synced_at":"2025-05-16T08:00:21.867Z","repository":{"id":23439058,"uuid":"84983058","full_name":"hyperium/http","owner":"hyperium","description":"Rust HTTP types","archived":false,"fork":false,"pushed_at":"2025-04-28T19:27:57.000Z","size":709,"stargazers_count":1231,"open_issues_count":160,"forks_count":318,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-05-09T07:43:58.422Z","etag":null,"topics":["http","rust"],"latest_commit_sha":null,"homepage":"","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/hyperium.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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}},"created_at":"2017-03-14T18:21:23.000Z","updated_at":"2025-05-09T06:24:52.000Z","dependencies_parsed_at":"2024-06-18T12:19:55.879Z","dependency_job_id":"d501ea10-7840-41c6-91b2-b886e61fd1c9","html_url":"https://github.com/hyperium/http","commit_stats":{"total_commits":401,"total_committers":110,"mean_commits":"3.6454545454545455","dds":0.7556109725685786,"last_synced_commit":"0136ae7f029ec01496c058e05ef2b509beb9316b"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperium%2Fhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperium%2Fhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperium%2Fhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperium%2Fhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperium","download_url":"https://codeload.github.com/hyperium/http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253342285,"owners_count":21893557,"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","rust"],"created_at":"2024-07-31T16:02:01.374Z","updated_at":"2025-05-16T08:00:21.804Z","avatar_url":"https://github.com/hyperium.png","language":"Rust","readme":"# HTTP\n\nA general purpose library of common HTTP types\n\n[![CI](https://github.com/hyperium/http/workflows/CI/badge.svg)](https://github.com/hyperium/http/actions?query=workflow%3ACI)\n[![Crates.io](https://img.shields.io/crates/v/http.svg)](https://crates.io/crates/http)\n[![Documentation](https://docs.rs/http/badge.svg)][dox]\n\nMore information about this crate can be found in the [crate\ndocumentation][dox].\n\n[dox]: https://docs.rs/http\n\n## Usage\n\nTo use `http`, first add this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nhttp = \"1.0\"\n```\n\nNext, add this to your crate:\n\n```rust\nuse http::{Request, Response};\n\nfn main() {\n    // ...\n}\n```\n\n## Examples\n\nCreate an HTTP request:\n\n```rust\nuse http::Request;\n\nfn main() {\n    let request = Request::builder()\n      .uri(\"https://www.rust-lang.org/\")\n      .header(\"User-Agent\", \"awesome/1.0\")\n      .body(())\n      .unwrap();\n}\n```\n\nCreate an HTTP response:\n\n```rust\nuse http::{Response, StatusCode};\n\nfn main() {\n    let response = Response::builder()\n      .status(StatusCode::MOVED_PERMANENTLY)\n      .header(\"Location\", \"https://www.rust-lang.org/install.html\")\n      .body(())\n      .unwrap();\n}\n```\n\n# Supported Rust Versions\n\nThis project follows the [Tokio MSRV][msrv] and is currently set to `1.49`.\n\n[msrv]: https://github.com/tokio-rs/tokio/#supported-rust-versions\n\n# License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or https://apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or https://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 be\ndual licensed as above, without any additional terms or conditions.\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperium%2Fhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperium%2Fhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperium%2Fhttp/lists"}