{"id":18352330,"url":"https://github.com/limpix31/t0t1","last_synced_at":"2026-02-04T10:16:46.740Z","repository":{"id":244524665,"uuid":"815504866","full_name":"LIMPIX31/t0t1","owner":"LIMPIX31","description":"Expand macro N times for multiple generics","archived":false,"fork":false,"pushed_at":"2024-06-15T11:22:35.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-11T04:37:09.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crates.io/crates/toti","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/LIMPIX31.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":"2024-06-15T11:05:06.000Z","updated_at":"2024-06-15T14:23:01.000Z","dependencies_parsed_at":"2024-06-15T11:31:41.533Z","dependency_job_id":"07100d06-dcf7-4d3e-bf9b-c0fea193b38c","html_url":"https://github.com/LIMPIX31/t0t1","commit_stats":null,"previous_names":["limpix31/t0t1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LIMPIX31/t0t1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Ft0t1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Ft0t1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Ft0t1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Ft0t1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIMPIX31","download_url":"https://codeload.github.com/LIMPIX31/t0t1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Ft0t1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262476060,"owners_count":23317210,"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-11-05T21:35:40.161Z","updated_at":"2026-02-04T10:16:41.718Z","avatar_url":"https://github.com/LIMPIX31.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# T-Zero, T-One \u003csub\u003e\u003csub\u003eaka toti\u003c/sub\u003e\u003c/sub\u003e\n\n## Example\n```rust\n#[toti::expand(10)]\nmacro_rules! impls {\n  ($($T:ident),+) =\u003e {\n    impl\u003c$($T),+\u003e Trait for ($($T,)+) {}\n  };\n}\n```\nExpands into\n```rust\nimpl\u003cT0\u003e Trait for (T0,) {}\nimpl\u003cT0, T1\u003e Trait for (T0, T1) {}\nimpl\u003cT0, T1, T2\u003e Trait for (T0, T1, T2) {}\nimpl\u003cT0, T1, T2, T3\u003e Trait for (T0, T1, T2, T3) {}\nimpl\u003cT0, T1, T2, T3, T4\u003e Trait for (T0, T1, T2, T3, T4) {}\nimpl\u003cT0, T1, T2, T3, T4, T5\u003e Trait for (T0, T1, T2, T3, T4, T5) {}\nimpl\u003cT0, T1, T2, T3, T4, T5, T6\u003e Trait for (T0, T1, T2, T3, T4, T5, T6) {}\nimpl\u003cT0, T1, T2, T3, T4, T5, T6, T7\u003e Trait for (T0, T1, T2, T3, T4, T5, T6, T7) {}\nimpl\u003cT0, T1, T2, T3, T4, T5, T6, T7, T8\u003e Trait for (T0, T1, T2, T3, T4, T5, T6, T7, T8) {}\nimpl\u003cT0, T1, T2, T3, T4, T5, T6, T7, T8, T9\u003e Trait for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) {}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimpix31%2Ft0t1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimpix31%2Ft0t1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimpix31%2Ft0t1/lists"}