{"id":22234737,"url":"https://github.com/tejmagar/rusty-web","last_synced_at":"2025-07-27T21:32:27.569Z","repository":{"id":221327211,"uuid":"754044120","full_name":"tejmagar/rusty-web","owner":"tejmagar","description":"The light web framework for Rust. ","archived":false,"fork":false,"pushed_at":"2024-05-08T05:39:28.000Z","size":623,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-07T03:49:39.015Z","etag":null,"topics":["framework","rust","web"],"latest_commit_sha":null,"homepage":"https://tejmagar.github.io/rusty-web/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tejmagar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-02-07T09:40:38.000Z","updated_at":"2024-09-17T13:35:39.000Z","dependencies_parsed_at":"2024-02-07T11:54:26.633Z","dependency_job_id":"e00d1650-de7a-4877-9308-8a271ea74ddf","html_url":"https://github.com/tejmagar/rusty-web","commit_stats":null,"previous_names":["tejmagar/rusty-web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejmagar%2Frusty-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejmagar%2Frusty-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejmagar%2Frusty-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejmagar%2Frusty-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tejmagar","download_url":"https://codeload.github.com/tejmagar/rusty-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227837027,"owners_count":17827066,"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","rust","web"],"created_at":"2024-12-03T02:09:27.466Z","updated_at":"2024-12-03T02:09:28.045Z","avatar_url":"https://github.com/tejmagar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rusty Web\n\n\u003cimg src=\"docs/rusty-web.png\" alt=\"Rusty Web\" width=\"100\"\u003e\n\nRusty web is a simple to use, fully customizable lightweight web framework for rust developers.\n[Learn rusty web](https://tejmagar.github.io/rusty-web/)\n\nConsider using [Racoon](https://github.com/tejmagar/racoon/) if you need asynchronous code.\n\n## Installation\n\n```\n[dependencies]\nrusty-web = \"0.0.2\"\n```\n\n## Sample\n\n```rust\nuse rusty_web::paths::{Path, Paths};\nuse rusty_web::request::Request;\nuse rusty_web::response::Response;\nuse rusty_web::server::run_server;\nuse rusty_web::status::Status;\n\nfn home(request: Request, mut response: Response) {\n    response.html(Status::Ok, \"Home Page\".to_string()).send();\n}\n\nfn about(request: Request, mut response: Response) {\n    response.html(Status::Ok, \"About Us\".to_string()).send();\n}\n\nfn main() {\n    let paths: Paths = vec![\n        Path::new(\"/\", home),\n        Path::new(\"/about/\", about),\n    ];\n\n    run_server(\"0.0.0.0:8080\", paths);\n}\n```\n\n## Conclusion\n\nThis framework don't force you to follow particular format. You can stream response however you like.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejmagar%2Frusty-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftejmagar%2Frusty-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejmagar%2Frusty-web/lists"}