{"id":13412203,"url":"https://github.com/rwf2/Rocket","last_synced_at":"2025-03-14T18:30:26.509Z","repository":{"id":37271382,"uuid":"54168759","full_name":"rwf2/Rocket","owner":"rwf2","description":"A web framework for Rust.","archived":false,"fork":false,"pushed_at":"2024-04-12T19:45:49.000Z","size":7496,"stargazers_count":23300,"open_issues_count":68,"forks_count":1516,"subscribers_count":269,"default_branch":"master","last_synced_at":"2024-04-13T20:26:05.331Z","etag":null,"topics":["framework","rocket","rust","web","web-development","web-framework"],"latest_commit_sha":null,"homepage":"https://rocket.rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rwf2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":"rwf2","open_collective":"rwf2"}},"created_at":"2016-03-18T02:50:18.000Z","updated_at":"2024-04-14T21:28:49.502Z","dependencies_parsed_at":"2023-10-17T06:36:07.550Z","dependency_job_id":"a9d015f5-8d26-45c9-99fa-b3f70716e33f","html_url":"https://github.com/rwf2/Rocket","commit_stats":{"total_commits":2346,"total_committers":296,"mean_commits":7.925675675675675,"dds":"0.25021312872975277","last_synced_commit":"bd26ca462a9aacb697aecc700a8e48c3bf2ac7cb"},"previous_names":["rwf2/rocket","sergiobenitez/rocket"],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwf2%2FRocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwf2%2FRocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwf2%2FRocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwf2%2FRocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwf2","download_url":"https://codeload.github.com/rwf2/Rocket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243625000,"owners_count":20321212,"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","rocket","rust","web","web-development","web-framework"],"created_at":"2024-07-30T20:01:22.085Z","updated_at":"2025-03-14T18:30:25.962Z","avatar_url":"https://github.com/rwf2.png","language":"Rust","readme":"# Rocket\n\n[![Build Status](https://github.com/rwf2/Rocket/workflows/CI/badge.svg)](https://github.com/rwf2/Rocket/actions)\n[![Rocket Homepage](https://img.shields.io/badge/web-rocket.rs-red.svg?style=flat\u0026label=https\u0026colorB=d33847)](https://rocket.rs)\n[![Current Crates.io Version](https://img.shields.io/crates/v/rocket.svg)](https://crates.io/crates/rocket)\n[![Matrix: #rocket:mozilla.org](https://img.shields.io/badge/style-%23rocket:mozilla.org-blue.svg?style=flat\u0026label=[m])](https://chat.mozilla.org/#/room/#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(\"/\u003cname\u003e/\u003cage\u003e\")]\nfn hello(name: \u0026str, age: u8) -\u003e String {\n    format!(\"Hello, {} year old named {}!\", age, name)\n}\n\n#[launch]\nfn rocket() -\u003e _ {\n    rocket::build().mount(\"/hello\", routes![hello])\n}\n```\n\nVisiting `localhost:8000/hello/John/58`, 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\u003e` 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://rocket.rs/guide/quickstart\n[Getting Started]: https://rocket.rs/guide/getting-started\n[Overview]: https://rocket.rs/overview/\n[Guide]: https://rocket.rs/guide/\n[API Documentation]: https://api.rocket.rs\n\nDocumentation for the `master` branch is available at https://rocket.rs/master\nand https://api.rocket.rs/master.\n\nDocumentation for major release version `${x}` is available at\n`https://[api.]rocket.rs/v${x}`. For example, the v0.4 docs are available at\nhttps://rocket.rs/v0.4 and https://api.rocket.rs/v0.4.\n\nFinally, API docs for active git branches are available at\n`https://api.rocket.rs/${branch}`. For example, API docs for the `master` branch\nare available at https://api.rocket.rs/master. 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/hello\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://chat.mozilla.org/#/room/#rocket:mozilla.org\n[via Element]: https://chat.mozilla.org/#/room/#rocket:mozilla.org\n[GitHub discussions questions]: https://github.com/rwf2/Rocket/discussions/categories/questions\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 \u0026 tell].\n\n[issue]: https://github.com/rwf2/Rocket/issues\n[issues that require feedback]: https://github.com/rwf2/Rocket/issues?q=is%3Aissue+is%3Aopen+label%3A%22feedback+wanted%22\n[pull requests]: https://github.com/rwf2/Rocket/pulls\n[CONTRIBUTING]: CONTRIBUTING.md\n[GitHub discussions show \u0026 tell]: https://github.com/rwf2/Rocket/discussions/categories/show-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://www.apache.org/licenses/LICENSE-2.0)\n * MIT License ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\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/LICENSE). Any\ncontribution intentionally submitted for inclusion in the Rocket website docs by\nyou shall be licensed under those terms.\n","funding_links":["https://github.com/sponsors/rwf2","https://opencollective.com/rwf2"],"categories":["Rust","Libraries","HarmonyOS","Backend frameworks","web-development"],"sub_categories":["Web programming","Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwf2%2FRocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwf2%2FRocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwf2%2FRocket/lists"}