[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5373":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":34,"discoverSource":35},5373,"Rocket","rwf2\u002FRocket","rwf2","A web framework for Rust.","https:\u002F\u002Frocket.rs",null,"Rust",25737,1629,263,60,0,2,6,28,44.64,"Other",false,"master",[25,26,27,28,29,30],"framework","rocket","rust","web","web-development","web-framework","2026-06-12 02:01:09","# Rocket\n\n[![Build Status](https:\u002F\u002Fgithub.com\u002Frwf2\u002FRocket\u002Fworkflows\u002FCI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Frwf2\u002FRocket\u002Factions)\n[![Rocket Homepage](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fweb-rocket.rs-red.svg?style=flat&label=https&colorB=d33847)](https:\u002F\u002Frocket.rs)\n[![Current Crates.io Version](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Frocket.svg)](https:\u002F\u002Fcrates.io\u002Fcrates\u002Frocket)\n[![Matrix: #rocket:mozilla.org](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstyle-%23rocket:mozilla.org-blue.svg?style=flat&label=[m])](https:\u002F\u002Fchat.mozilla.org\u002F#\u002Froom\u002F#rocket:mozilla.org)\n\nRocket is an async web framework for Rust with a focus on usability, security,\nextensibility, and speed.\n\n```rust\n#[macro_use] extern crate rocket;\n\n#[get(\"\u002F\u003Cname>\u002F\u003Cage>\")]\nfn hello(name: &str, age: u8) -> String {\n    format!(\"Hello, {} year old named {}!\", age, name)\n}\n\n#[launch]\nfn rocket() -> _ {\n    rocket::build().mount(\"\u002Fhello\", routes![hello])\n}\n```\n\nVisiting `localhost:8000\u002Fhello\u002FJohn\u002F58`, for example, will trigger the `hello`\nroute resulting in the string `Hello, 58 year old named John!` being sent to the\nbrowser. If an `\u003Cage>` string was passed in that can't be parsed as a `u8`, the\nroute won't get called, resulting in a 404 error.\n\n## Documentation\n\nRocket is extensively documented:\n\n  * [Overview]: A brief look at what makes Rocket special.\n  * [Quickstart]: How to get started as quickly as possible.\n  * [Getting Started]: How to start your first Rocket project.\n  * [Guide]: A detailed guide and reference to Rocket.\n  * [API Documentation]: The \"rustdocs\".\n\n[Quickstart]: https:\u002F\u002Frocket.rs\u002Fguide\u002Fquickstart\n[Getting Started]: https:\u002F\u002Frocket.rs\u002Fguide\u002Fgetting-started\n[Overview]: https:\u002F\u002Frocket.rs\u002Foverview\u002F\n[Guide]: https:\u002F\u002Frocket.rs\u002Fguide\u002F\n[API Documentation]: https:\u002F\u002Fapi.rocket.rs\n\nDocumentation for the `master` branch is available at https:\u002F\u002Frocket.rs\u002Fmaster\nand https:\u002F\u002Fapi.rocket.rs\u002Fmaster.\n\nDocumentation for major release version `${x}` is available at\n`https:\u002F\u002F[api.]rocket.rs\u002Fv${x}`. For example, the v0.4 docs are available at\nhttps:\u002F\u002Frocket.rs\u002Fv0.4 and https:\u002F\u002Fapi.rocket.rs\u002Fv0.4.\n\nFinally, API docs for active git branches are available at\n`https:\u002F\u002Fapi.rocket.rs\u002F${branch}`. For example, API docs for the `master` branch\nare available at https:\u002F\u002Fapi.rocket.rs\u002Fmaster. Branch rustdocs are built and\ndeployed on every commit.\n\n## Examples\n\nThe [examples](examples#readme) directory contains complete crates that showcase\nRocket's features and usage. Each example can be compiled and run with Cargo.\nFor instance, the following sequence of commands builds and runs the `hello`\nexample:\n\n```sh\ncd examples\u002Fhello\ncargo run\n```\n\n## Getting Help\n\nIf you find yourself needing help outside of the documentation, you may:\n\n  * Ask questions via [GitHub discussions questions].\n  * Chat with us at [`#rocket:mozilla.org`] on Matrix (join [via Element]).\n\n[`#rocket:mozilla.org`]: https:\u002F\u002Fchat.mozilla.org\u002F#\u002Froom\u002F#rocket:mozilla.org\n[via Element]: https:\u002F\u002Fchat.mozilla.org\u002F#\u002Froom\u002F#rocket:mozilla.org\n[GitHub discussions questions]: https:\u002F\u002Fgithub.com\u002Frwf2\u002FRocket\u002Fdiscussions\u002Fcategories\u002Fquestions\n\n## Contributing\n\nContributions are absolutely, positively welcomed and encouraged! If you're\ninterested in contributing code, please first read [CONTRIBUTING] for complete\nguidelines. Additionally, you could:\n\n  1. Submit a feature request or bug report as an [issue].\n  2. Ask for improved documentation as an [issue].\n  3. Comment on [issues that require feedback].\n  4. Answers questions in [GitHub discussions questions].\n  5. Share a project in [GitHub discussions show & tell].\n\n[issue]: https:\u002F\u002Fgithub.com\u002Frwf2\u002FRocket\u002Fissues\n[issues that require feedback]: https:\u002F\u002Fgithub.com\u002Frwf2\u002FRocket\u002Fissues?q=is%3Aissue+is%3Aopen+label%3A%22feedback+wanted%22\n[pull requests]: https:\u002F\u002Fgithub.com\u002Frwf2\u002FRocket\u002Fpulls\n[CONTRIBUTING]: CONTRIBUTING.md\n[GitHub discussions show & tell]: https:\u002F\u002Fgithub.com\u002Frwf2\u002FRocket\u002Fdiscussions\u002Fcategories\u002Fshow-tell\n\n## License\n\nRocket is licensed under either of the following, at your option:\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0)\n * MIT License ([LICENSE-MIT](LICENSE-MIT) or https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in Rocket by you shall be dual licensed under the MIT License and\nApache License, Version 2.0, without any additional terms or conditions.\n\nThe Rocket website docs are licensed under [separate terms](docs\u002FLICENSE). Any\ncontribution intentionally submitted for inclusion in the Rocket website docs by\nyou shall be licensed under those terms.\n","Rocket 是一个专注于易用性、安全性、可扩展性和速度的 Rust 异步 Web 框架。它通过简洁的宏和类型安全的路由处理，使得开发者可以快速构建高性能的 Web 应用。Rocket 支持异步处理，能够充分利用现代 CPU 的多核特性，提供高效的并发处理能力。此外，该框架还提供了详尽的文档支持，包括快速入门指南、详细的使用教程以及全面的 API 文档。Rocket 适用于需要构建可靠且响应迅速的 Web 应用场景，特别适合那些对性能有高要求或希望利用 Rust 语言优势进行后端开发的项目。","2026-06-11 03:02:56","top_language"]