{"id":20515374,"url":"https://github.com/guilt/rust-web-starter","last_synced_at":"2025-08-02T14:09:26.883Z","repository":{"id":49842495,"uuid":"283978178","full_name":"guilt/Rust-Web-Starter","owner":"guilt","description":"Basic Rust Web Server template based on rocket-rs.","archived":false,"fork":false,"pushed_at":"2023-03-09T21:55:21.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T13:37:46.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/guilt.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":"2020-07-31T08:00:35.000Z","updated_at":"2022-07-26T23:26:24.000Z","dependencies_parsed_at":"2024-11-15T21:22:52.556Z","dependency_job_id":"fee6068a-79e0-4a5a-afca-657a19081046","html_url":"https://github.com/guilt/Rust-Web-Starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/guilt/Rust-Web-Starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilt%2FRust-Web-Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilt%2FRust-Web-Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilt%2FRust-Web-Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilt%2FRust-Web-Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guilt","download_url":"https://codeload.github.com/guilt/Rust-Web-Starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilt%2FRust-Web-Starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268401594,"owners_count":24244464,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-15T21:21:14.920Z","updated_at":"2025-08-02T14:09:26.859Z","avatar_url":"https://github.com/guilt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Web Starter\n\nBasic Rust Web Server template based on `rocket-rs`. \n\n# Dependencies\n\nWe need `rust 1.67+` or above *stable* installed. They all have the\nimprovements we need for building things fast and known compatibility\nfor Rocket v0.5rc3+.\n\nRust Configuration in your `.bashrc` and `.zshrc`\n\n```bash\nexport CARGO_HOME=$HOME/.cargo\nPATH=$PATH:$CARGO_HOME/bin\n```\n\nTo speed up builds, it is suggested you use the **mold** linker, currently\nsupported on *Linux* and *Darwin*. You can set this up in your Cargo\nConfiguration in `~/.cargo/config.toml`.\n\nYou could set up **sccache** as well but there are some crates where\nit does not make a real difference.\n\n```toml\n[build]\n# rustc-wrapper = \"sccache\"\n\n[target.x86_64-apple-darwin]\n#linker = \"/usr/bin/clang\"\nrustflags = [\"-C\", \"link-arg=--ld-path=/path/to/ld64.mold\"]\n\n[target.aarch64-apple-darwin]\n#linker = \"/usr/bin/clang\"\nrustflags = [\"-C\", \"link-arg=--ld-path=/path/to/ld64.mold\"]\n\n[target.i686-pc-windows-msvc]\n#rustflags = []\n\n[target.x86_64-pc-windows-msvc]\n#rustflags = []\n\n[target.i686-unknown-linux-gnu]\n#linker = \"/usr/bin/gcc\"\nrustflags = [\"-C\", \"link-arg=-fuse-ld=mold\"]\n\n[target.x86_64-unknown-linux-gnu]\n#linker = \"/usr/bin/gcc\"\nrustflags = [\"-C\", \"link-arg=-fuse-ld=mold\"]\n\n[target.aarch64-unknown-linux-gnu]\n#linker = \"/usr/bin/gcc\"\nrustflags = [\"-C\", \"link-arg=-fuse-ld=mold\"]\n```\n# Notes on Compilation\n\n## Building for Local\n```bash\ncargo build\n```\n\n## Building for Release\n\n```bash\ncargo build --release\n```\n\n# Notes on Running\n\n```bash\nRUST_LOG=info ROCKET_CLI_COLORS=true cargo run --release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilt%2Frust-web-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguilt%2Frust-web-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilt%2Frust-web-starter/lists"}