{"id":13440351,"url":"https://github.com/seanmonstar/warp","last_synced_at":"2025-05-13T16:05:47.117Z","repository":{"id":37385096,"uuid":"140609832","full_name":"seanmonstar/warp","owner":"seanmonstar","description":"A super-easy, composable, web server framework for warp speeds.","archived":false,"fork":false,"pushed_at":"2024-08-08T12:37:37.000Z","size":927,"stargazers_count":9845,"open_issues_count":232,"forks_count":730,"subscribers_count":111,"default_branch":"master","last_synced_at":"2025-05-03T03:11:11.900Z","etag":null,"topics":["framework","http","rust","server"],"latest_commit_sha":null,"homepage":"https://seanmonstar.com/post/176530511587/warp","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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","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},"funding":{"github":["seanmonstar"]}},"created_at":"2018-07-11T17:43:50.000Z","updated_at":"2025-05-03T00:37:45.000Z","dependencies_parsed_at":"2023-02-16T08:01:58.627Z","dependency_job_id":"98a526b8-bf8a-4d6c-8aba-a17889e0bae2","html_url":"https://github.com/seanmonstar/warp","commit_stats":{"total_commits":574,"total_committers":178,"mean_commits":"3.2247191011235956","dds":"0.40940766550522645","last_synced_commit":"1cbf029b1867505e1e6f75ae9674613ae3533710"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Fwarp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Fwarp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Fwarp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanmonstar%2Fwarp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanmonstar","download_url":"https://codeload.github.com/seanmonstar/warp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252590509,"owners_count":21772934,"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":["framework","http","rust","server"],"created_at":"2024-07-31T03:01:21.958Z","updated_at":"2025-05-05T22:46:54.883Z","avatar_url":"https://github.com/seanmonstar.png","language":"Rust","funding_links":["https://github.com/sponsors/seanmonstar"],"categories":["Rust","Libraries","库 Libraries","Rust 程序设计","server","\u003ca name=\"Rust\"\u003e\u003c/a\u003eRust"],"sub_categories":["Web programming","网络编程 Web programming","网络服务_其他"],"readme":"# warp\n\n[![crates.io](https://img.shields.io/crates/v/warp.svg)](https://crates.io/crates/warp)\n[![Released API docs](https://docs.rs/warp/badge.svg)](https://docs.rs/warp)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n[![GHA Build Status](https://github.com/seanmonstar/warp/workflows/CI/badge.svg)](https://github.com/seanmonstar/warp/actions?query=workflow%3ACI)\n[![Discord chat][discord-badge]][discord-url]\n\nA super-easy, composable, web server framework for warp speeds.\n\nThe fundamental building block of `warp` is the `Filter`: they can be combined\nand composed to express rich requirements on requests.\n\nThanks to its `Filter` system, warp provides these out of the box:\n\n* Path routing and parameter extraction\n* Header requirements and extraction\n* Query string deserialization\n* JSON and Form bodies\n* Multipart form data\n* Static Files and Directories\n* Websockets\n* Access logging\n* Gzip, Deflate, and Brotli compression\n\nSince it builds on top of [hyper](https://hyper.rs), you automatically get:\n\n- HTTP/1\n- HTTP/2\n- Asynchronous\n- One of the fastest HTTP implementations\n- Tested and **correct**\n\n## Example\n\nAdd warp and Tokio to your dependencies:\n\n```toml\ntokio = { version = \"1\", features = [\"full\"] }\nwarp = \"0.3\"\n```\n\nAnd then get started in your `main.rs`:\n\n```rust\nuse warp::Filter;\n\n#[tokio::main]\nasync fn main() {\n    // GET /hello/warp =\u003e 200 OK with body \"Hello, warp!\"\n    let hello = warp::path!(\"hello\" / String)\n        .map(|name| format!(\"Hello, {}!\", name));\n\n    warp::serve(hello)\n        .run(([127, 0, 0, 1], 3030))\n        .await;\n}\n```\n\nFor more information you can check the [docs](https://docs.rs/warp) or the [examples](https://github.com/seanmonstar/warp/tree/master/examples).\n\n[discord-badge]: https://img.shields.io/discord/500028886025895936.svg?logo=discord\n[discord-url]: https://discord.gg/RFsPjyt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmonstar%2Fwarp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanmonstar%2Fwarp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanmonstar%2Fwarp/lists"}