{"id":18004789,"url":"https://github.com/abestanis/embed-rust","last_synced_at":"2026-01-30T16:50:50.214Z","repository":{"id":180691362,"uuid":"665536980","full_name":"Abestanis/embed-rust","owner":"Abestanis","description":"A macro that allows to embed a Rust executable.","archived":false,"fork":false,"pushed_at":"2024-05-23T16:27:50.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T07:37:04.059Z","etag":null,"topics":["crate","macros-rust","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Abestanis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-07-12T12:26:48.000Z","updated_at":"2024-05-23T16:27:53.000Z","dependencies_parsed_at":"2024-10-30T00:37:04.196Z","dependency_job_id":null,"html_url":"https://github.com/Abestanis/embed-rust","commit_stats":null,"previous_names":["abestanis/embed_rust"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abestanis%2Fembed-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abestanis%2Fembed-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abestanis%2Fembed-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abestanis%2Fembed-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abestanis","download_url":"https://codeload.github.com/Abestanis/embed-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243848853,"owners_count":20357651,"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":["crate","macros-rust","rust"],"created_at":"2024-10-30T00:16:00.549Z","updated_at":"2026-01-30T16:50:50.208Z","avatar_url":"https://github.com/Abestanis.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Embed Rust\n\nA macro that allows to embed a Rust executable in another Rust program.\nThis can be useful for building small test payloads for other (e.g. embedded) targets.\n\nRequires Rust `1.88` or later.\n\n## Example\n\n```rust\nconst BASIC_EXAMPLE: \u0026[u8] = embed_rust!({\n    source: {\n        fn main() {\n            println!(\"Hello world!\");\n        }\n    },\n});\n```\n\nFor more examples see the [`tests`](tests) directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabestanis%2Fembed-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabestanis%2Fembed-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabestanis%2Fembed-rust/lists"}