{"id":19577551,"url":"https://github.com/emoun/eager","last_synced_at":"2025-04-27T06:32:28.851Z","repository":{"id":57622753,"uuid":"140111560","full_name":"Emoun/eager","owner":"Emoun","description":"Rust crate for eager macro expansion","archived":false,"fork":false,"pushed_at":"2020-01-24T14:01:19.000Z","size":18,"stargazers_count":11,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-31T11:25:21.615Z","etag":null,"topics":["crate","eager","macros","rust","rust-library"],"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/Emoun.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}},"created_at":"2018-07-07T19:23:04.000Z","updated_at":"2024-07-29T13:32:17.000Z","dependencies_parsed_at":"2022-08-26T23:51:08.326Z","dependency_job_id":null,"html_url":"https://github.com/Emoun/eager","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/Emoun%2Feager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emoun%2Feager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emoun%2Feager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emoun%2Feager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Emoun","download_url":"https://codeload.github.com/Emoun/eager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224062787,"owners_count":17249291,"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","eager","macros","rust","rust-library"],"created_at":"2024-11-11T07:07:03.181Z","updated_at":"2024-11-11T07:07:03.988Z","avatar_url":"https://github.com/Emoun.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eager\n[![Build Status](https://travis-ci.org/Emoun/eager.svg?branch=master)](https://travis-ci.org/Emoun/eager)\n[![](http://meritbadge.herokuapp.com/eager)](https://crates.io/crates/eager)\n[![](https://docs.rs/eager/badge.svg)](https://docs.rs/eager)\n\n\nRust crate for simulating eager macro expansion.\n\n### Example\n\n```Rust\n#[macro_use]\nextern crate eager;\n\n//Declare an eager macro\neager_macro_rules!{ $eager_1\n    macro_rules! plus_1{\n        ()=\u003e{+ 1};\n    }\n}\n\nfn main(){\n\t// Use the macro inside an eager! call to expand it eagerly\n\tassert_eq!(4, eager!{2 plus_1!() plus_1!()});\n}\n```\n\n### License \n\nLicensed under the MIT license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femoun%2Feager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femoun%2Feager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femoun%2Feager/lists"}