{"id":13476577,"url":"https://github.com/badboy/makerust","last_synced_at":"2026-01-02T17:06:10.628Z","repository":{"id":154625495,"uuid":"632362916","full_name":"badboy/makerust","owner":"badboy","description":"Rust, but in a Makefile.","archived":false,"fork":false,"pushed_at":"2023-04-25T12:13:45.000Z","size":4,"stargazers_count":66,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T19:52:08.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":false,"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/badboy.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}},"created_at":"2023-04-25T08:52:43.000Z","updated_at":"2024-08-15T23:28:51.000Z","dependencies_parsed_at":"2024-01-13T17:11:35.981Z","dependency_job_id":"40715d9a-8ec2-45ab-9bbd-b090017cb971","html_url":"https://github.com/badboy/makerust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Fmakerust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Fmakerust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Fmakerust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Fmakerust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badboy","download_url":"https://codeload.github.com/badboy/makerust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746133,"owners_count":20341202,"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":[],"created_at":"2024-07-31T16:01:32.174Z","updated_at":"2026-01-02T17:06:10.570Z","avatar_url":"https://github.com/badboy.png","language":"Makefile","funding_links":[],"categories":["Makefile"],"sub_categories":[],"readme":"# makerust\n\n### Rust, but in a Makefile.\n\nHave you ever thought \"I want to write Rust, but in a Makefile\"?\nNo?\nWell, I have.\n\nSo I present to you: `makerust`.\n\n```make\nhello-world:\n\t@fn main() {\n\t\tprintln!(\"hello makerust!\")\n\t}\n```\n\n```console\n$ make hello-world\nhello makerust!\n```\n\nNeed some dependencies?\n`makerust` handles that.\n\n```make\ninfo: dep.xshell dep.anyhow\n\t@\n\tuse anyhow::Result;\n\tuse xshell::{cmd, Shell};\n\t\n\tfn main() -\u003e Result\u003c()\u003e {\n\t\tlet sh = Shell::new()?;\n\t\tlet branch = \"main\";\n\t\tlet commit_hash = cmd!(sh, \"git rev-parse {branch}\").read()?;\n\t\tprintln!(\"makerust running on commit {commit_hash}\");\n\t\tOk(())\n\t}\n```\n\n```console\n$ make info\nmakerust running on commit 5a9c640331fa11cfff0f3147732b49e8b247f687\n```\n\n\n## How?\n\n```make\ninclude makerust.mk\n```\n\nand then get going.\n\n## Why?\n\nmake is good. Rust is good. In combination it can only get better.\n\n## But really ... why?\n\nWe don't ask this question around here.\n\n## Should I really?\n\nCheck with your team first, but I can't see a reason why not.\n\n## This is a joke, right?\n\nI don't make jokes on the internet.\n\n---\n\n```\nAny copyright is dedicated to the Public Domain.\nhttp://creativecommons.org/publicdomain/zero/1.0/\n```\n\n```\nTHE SOFTWARE IS PROVIDED \"AS IS\", BUT ALSO I TAKE FULL RESPONSIBILITY FOR\nTHIS UNNUTTERABLE HORROR AND YOU SHALL RECITE MY NAME FOR FOREVER ALONGSIDE IT.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Fmakerust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadboy%2Fmakerust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Fmakerust/lists"}