{"id":22178129,"url":"https://github.com/jeremydavis519/runtime-macros","last_synced_at":"2025-07-26T17:31:24.964Z","repository":{"id":57664270,"uuid":"131569183","full_name":"jeremydavis519/runtime-macros","owner":"jeremydavis519","description":"Simulate expansion of procedural macros at run time","archived":false,"fork":false,"pushed_at":"2024-07-25T03:51:13.000Z","size":85,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-10T15:18:08.394Z","etag":null,"topics":["code-coverage","macros","proc-macro","rust","testing"],"latest_commit_sha":null,"homepage":null,"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/jeremydavis519.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2018-04-30T07:50:08.000Z","updated_at":"2024-07-25T03:51:11.000Z","dependencies_parsed_at":"2024-07-25T04:46:57.927Z","dependency_job_id":"9e0eee2c-e111-4799-ab76-f4ed895301c6","html_url":"https://github.com/jeremydavis519/runtime-macros","commit_stats":{"total_commits":39,"total_committers":1,"mean_commits":39.0,"dds":0.0,"last_synced_commit":"bcf696de32619f00309dc2b16f313952620ef340"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremydavis519%2Fruntime-macros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremydavis519%2Fruntime-macros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremydavis519%2Fruntime-macros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremydavis519%2Fruntime-macros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremydavis519","download_url":"https://codeload.github.com/jeremydavis519/runtime-macros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227699258,"owners_count":17806353,"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":["code-coverage","macros","proc-macro","rust","testing"],"created_at":"2024-12-02T08:45:32.915Z","updated_at":"2024-12-02T08:45:33.804Z","avatar_url":"https://github.com/jeremydavis519.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# runtime-macros\n\nThis crate offers a way to emulate the process of procedural macro expansion at run time.\nIt is intended for use with code coverage tools like [`cargo-tarpaulin`], which can't measure\nthe code coverage of anything that happens at compile time.\n\nThe `runtime-macros` crate works with `functionlike!`, `#[attributelike]`, and `#[derive(...)]`\nprocedural macros. There are no plans to support declarative macros.\n\n[`cargo-tarpaulin`]: https://crates.io/crates/cargo-tarpaulin\n\nTo use `runtime-macros`, add a test case to your procedural macro crate that calls one of the\n`emulate_*_macro_expansion` functions on a `.rs` file that calls the macro. Most likely, all the\nfiles you'll want to use it on will be in your crate's `/tests` directory. Once you've completed\nthis step, any code coverage tool that works with your crate's test cases will be able to report on\nhow thoroughly you've tested the macro.\n\nSee the `/examples` directory in the [repository] for working examples.\n\n[repository]: https://github.com/jeremydavis519/runtime-macros\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremydavis519%2Fruntime-macros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremydavis519%2Fruntime-macros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremydavis519%2Fruntime-macros/lists"}