{"id":28500370,"url":"https://github.com/eairp/summer-boot","last_synced_at":"2025-07-19T06:04:09.723Z","repository":{"id":37458845,"uuid":"497329576","full_name":"eairp/summer-boot","owner":"eairp","description":"Summer Boot (async web framework)","archived":false,"fork":false,"pushed_at":"2024-04-15T04:16:11.000Z","size":368,"stargazers_count":130,"open_issues_count":17,"forks_count":28,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-07-01T11:08:19.905Z","etag":null,"topics":["cargo","framework","rust","web"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/summer-boot","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/eairp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"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,"publiccode":null,"codemeta":null}},"created_at":"2022-05-28T13:43:52.000Z","updated_at":"2025-05-23T08:08:22.000Z","dependencies_parsed_at":"2023-08-17T11:45:08.166Z","dependency_job_id":"5055817c-2663-4805-a180-7bb4ecdde445","html_url":"https://github.com/eairp/summer-boot","commit_stats":null,"previous_names":["wansenai/summer-boot","summer-os/summer-boot","eairps/summer-boot","eairp/summer-boot"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eairp/summer-boot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eairp%2Fsummer-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eairp%2Fsummer-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eairp%2Fsummer-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eairp%2Fsummer-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eairp","download_url":"https://codeload.github.com/eairp/summer-boot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eairp%2Fsummer-boot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265518378,"owners_count":23780954,"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":["cargo","framework","rust","web"],"created_at":"2025-06-08T15:06:52.983Z","updated_at":"2025-07-19T06:04:09.711Z","avatar_url":"https://github.com/eairp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSummer Boot\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n \u003cstrong\u003e\n  A web framework for Rust\n \u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003c!-- Crates version --\u003e\n  \u003ca href=\"https://crates.io/crates/summer-boot\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/summer-boot.svg?style=flat-square\"\n    alt=\"Crates.io version\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Downloads --\u003e\n  \u003ca href=\"https://crates.io/crates/summer-boot\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/summer-boot.svg?style=flat-square\"\n      alt=\"Download\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- bors --\u003e\n  \u003ca href=\"https://app.bors.tech/repositories/45710\"\u003e\n    \u003cimg src=\"https://bors.tech/images/badge_small.svg\"\n      alt=\"ors enabled\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://rust-lang.org/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Rust-1.74-red?logo=rust\"\n      alt=\"rust version\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- fossa status --\u003e\n  \u003ca href=\"https://app.fossa.com/projects/git%2Bgithub.com%2Fsummer-os%2Fsummer-boot?ref=badge_shield\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT%20OR%20Apache--2.0-Green\"\n      alt=\"license\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\nEncapsulating [tide](https://github.com/http-rs/tide), combined with the design principles of spring boot.\nwill simplify web development and enable developers to focus more on business API development.\n\n```rust\nsummer_boot::log Logger started\nsummer_boot::log \n    _____                                       ____              _   \n   / ____|                                     |  _ \\            | |  \n  | (___  _   _ _ __ ___  _ __ ___   ___ _ __  | |_) | ___   ___ | |_ \n   \\___ \\| | | | '_ ` _ \\| '_ ` _ \\ / _ \\ '__| |  _ \u003c / _ \\ / _ \\| __|\n   ____) | |_| | | | | | | | | | | |  __/ |    | |_) | (_) | (_) | |_ \n  |_____/ \\__,_|_| |_| |_|_| |_| |_|\\___|_|    |____/ \\___/ \\___/ \\__|\n                                                                      \n  :: Summer Boot Version::             (1.4.2)                                                                    \n \nsummer_boot::server::server Server listening on http://0.0.0.0:8080\n```\n\n## Quick Start\n\nCargo.toml:\n```rust\nsummer-boot = \"1.4.2\"\n```\n\nAdd resuorce configuration file to src directory\n\nsrc/resources/application.yml\n```yml\nprofiles:\n  active: test\n```\nsrc/resources/application-test.yml\n```yml\nserver:\n  port: 8080\n  context_path: /\n```\n\nsrc/main.rs\n```rust\nuse serde::Deserialize;\nuse summer_boot::{Request, Result};\nuse summer_boot::log;\n\n#[derive(Debug, Deserialize)]\nstruct User {\n    name: String,\n    age: u16,\n}\n\n#[summer_boot::auto_scan]\n#[summer_boot::main]\nasync fn main() {\n    summer_boot::run();\n}\n\n#[summer_boot::post(\"/test/api\")]\nasync fn test_api(mut req: Request\u003c()\u003e) -\u003e Result {\n    let User { name, age } = req.body_json().await?;\n    Ok(format!(\"Hello, {}!  {} years old\", name, age).into())\n}\n```\n\n## License\n\nLicensed under either of\n\n- [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsummer-os%2Fsummer-boot.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsummer-os%2Fsummer-boot?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feairp%2Fsummer-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feairp%2Fsummer-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feairp%2Fsummer-boot/lists"}