{"id":33936570,"url":"https://github.com/leudz/beach_map","last_synced_at":"2025-12-12T14:22:22.501Z","repository":{"id":55471634,"uuid":"178580432","full_name":"leudz/beach_map","owner":"leudz","description":"Implementation of a slotmap","archived":false,"fork":false,"pushed_at":"2025-11-24T16:07:54.000Z","size":53,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-28T04:39:48.327Z","etag":null,"topics":["data-structures"],"latest_commit_sha":null,"homepage":null,"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/leudz.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-30T16:02:16.000Z","updated_at":"2025-11-24T16:07:59.000Z","dependencies_parsed_at":"2024-06-01T00:44:18.207Z","dependency_job_id":"6eed73c5-0200-4f3e-bc7b-dcade1991cb7","html_url":"https://github.com/leudz/beach_map","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"943f443a58dfb484048bcef5bbb3fe3e08de8eb2"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/leudz/beach_map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leudz%2Fbeach_map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leudz%2Fbeach_map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leudz%2Fbeach_map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leudz%2Fbeach_map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leudz","download_url":"https://codeload.github.com/leudz/beach_map/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leudz%2Fbeach_map/sbom","scorecard":{"id":586003,"data":{"date":"2025-08-11","repo":{"name":"github.com/leudz/beach_map","commit":"0a39f263244daa5c81a707080b3fe1549ce46c96"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-20T20:31:58.505Z","repository_id":55471634,"created_at":"2025-08-20T20:31:58.505Z","updated_at":"2025-08-20T20:31:58.505Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27684616,"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","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["data-structures"],"created_at":"2025-12-12T14:22:21.607Z","updated_at":"2025-12-12T14:22:22.483Z","avatar_url":"https://github.com/leudz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeachMap\n\nA BeachMap is a SlotMap, a data structure used to store elements and access them with an id.\n\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE-MIT)\n[![LICENSE](https://img.shields.io/badge/license-apache-blue.svg)](LICENSE-APACHE)\n[![Crates.io](https://img.shields.io/crates/v/beach_map.svg)](https://crates.io/crates/beach_map)\n[![Documentation](https://docs.rs/beach_map/badge.svg)](https://docs.rs/beach_map)\n\n## Example:\n```rust\nuse beach_map::BeachMap;\n\nlet mut beach = BeachMap::new();\nlet id1 = beach.insert(1);\nlet id2 = beach.insert(2);\n\nassert_eq!(beach.len(), 2);\nassert_eq!(beach[id1], 1);\n\nassert_eq!(beach.remove(id2), Some(2));\nassert_eq!(beach.get(id2), None);\nassert_eq!(beach.len(), 1);\n\nbeach[id1] = 7;\nassert_eq!(beach[id1], 7);\n\nbeach.extend(0..4);\n\nassert_eq!(beach.data(), [7, 1, 2, 3]);\n```\n# Rayon\nTo use rayon with beach_map, you need rayon in your dependencies and add the parallel feature to beach_map.\n## Example:\n```rust\nuse beach_map::BeachMap;\nuse rayon::prelude::*;\n\nlet mut beach = BeachMap::new();\nlet ids = beach.extend(0..500);\n\nbeach.par_iter_mut().for_each(|x| {\n    *x *= 2;\n});\n\nfor i in 0..ids.len() {\n    assert_eq!(beach[ids[i]], i * 2);\n}\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleudz%2Fbeach_map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleudz%2Fbeach_map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleudz%2Fbeach_map/lists"}