{"id":27205897,"url":"https://github.com/jofas/map_macro","last_synced_at":"2025-04-09T23:03:53.497Z","repository":{"id":37761404,"uuid":"366424770","full_name":"jofas/map_macro","owner":"jofas","description":"Declarative macros for statically initializing collections with ease","archived":false,"fork":false,"pushed_at":"2024-01-29T15:58:51.000Z","size":78,"stargazers_count":23,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T23:03:02.766Z","etag":null,"topics":["collections","hashbrown","hashmap","hashset","macros","map","no-std","rust","rust-crate","set"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jofas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-05-11T15:09:37.000Z","updated_at":"2024-11-26T17:04:39.000Z","dependencies_parsed_at":"2024-01-28T14:43:34.755Z","dependency_job_id":null,"html_url":"https://github.com/jofas/map_macro","commit_stats":{"total_commits":97,"total_committers":3,"mean_commits":"32.333333333333336","dds":"0.12371134020618557","last_synced_commit":"fc4d3259afe50e762a66b68a8fb675b6869ccd9a"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jofas%2Fmap_macro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jofas%2Fmap_macro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jofas%2Fmap_macro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jofas%2Fmap_macro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jofas","download_url":"https://codeload.github.com/jofas/map_macro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125628,"owners_count":21051770,"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":["collections","hashbrown","hashmap","hashset","macros","map","no-std","rust","rust-crate","set"],"created_at":"2025-04-09T23:02:30.942Z","updated_at":"2025-04-09T23:03:53.485Z","avatar_url":"https://github.com/jofas.png","language":"Rust","readme":"# map-macro\n\n[![Build Status](https://github.com/jofas/map_macro/actions/workflows/build.yml/badge.svg)](https://github.com/jofas/map_macro/actions/workflows/build.yml)\n[![Latest Version](https://img.shields.io/crates/v/map-macro.svg)](https://crates.io/crates/map-macro)\n[![Downloads](https://img.shields.io/crates/d/map-macro?label=downloads)](https://crates.io/crates/map-macro)\n[![Docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://docs.rs/map-macro/latest/map_macro)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nThis crate offers declarative macros for initializing collections from the \n[standard library][std] and [hashbrown][hashbrown].\n\nThis crate has zero dependencies and is `#![no_std]` if you opt-out of\nsupport for the standard library collections.\n\n## Example\n\n```rust\nuse map_macro::hash_map;\n\nlet hello = hash_map! {\n    \"en\" =\u003e \"Hello\",\n    \"de\" =\u003e \"Hallo\",\n    \"fr\" =\u003e \"Bonjour\",\n    \"es\" =\u003e \"Hola\",\n    \"cat\" =\u003e \"Hola\",\n    \"🌍\" =\u003e \"👋\",\n};\n```\n\n[std]: https://doc.rust-lang.org/std/collections/index.html\n[hashbrown]: https://docs.rs/hashbrown/latest/hashbrown/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjofas%2Fmap_macro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjofas%2Fmap_macro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjofas%2Fmap_macro/lists"}