{"id":13819673,"url":"https://github.com/billyrieger/bimap-rs","last_synced_at":"2026-04-08T19:36:31.570Z","repository":{"id":45594037,"uuid":"102978609","full_name":"billyrieger/bimap-rs","owner":"billyrieger","description":"Generic bijective maps in Rust","archived":false,"fork":false,"pushed_at":"2023-10-14T13:08:31.000Z","size":161,"stargazers_count":145,"open_issues_count":16,"forks_count":32,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-16T07:39:23.776Z","etag":null,"topics":["bimap","data-structures","rust"],"latest_commit_sha":null,"homepage":"","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/billyrieger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE_APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-09-09T19:06:16.000Z","updated_at":"2025-05-11T12:34:16.000Z","dependencies_parsed_at":"2024-06-18T20:10:40.360Z","dependency_job_id":"f1908565-c924-4f44-a62b-4ba5278cfe76","html_url":"https://github.com/billyrieger/bimap-rs","commit_stats":{"total_commits":141,"total_committers":18,"mean_commits":7.833333333333333,"dds":0.5815602836879432,"last_synced_commit":"3dca651620845a939ee9e5393c0a8fe9fe0a1656"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/billyrieger/bimap-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrieger%2Fbimap-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrieger%2Fbimap-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrieger%2Fbimap-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrieger%2Fbimap-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billyrieger","download_url":"https://codeload.github.com/billyrieger/bimap-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrieger%2Fbimap-rs/sbom","scorecard":{"id":238260,"data":{"date":"2025-08-11","repo":{"name":"github.com/billyrieger/bimap-rs","commit":"3dca651620845a939ee9e5393c0a8fe9fe0a1656"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Code-Review","score":2,"reason":"Found 7/30 approved changesets -- score normalized to 2","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/billyrieger/bimap-rs/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/billyrieger/bimap-rs/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/billyrieger/bimap-rs/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/billyrieger/bimap-rs/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/billyrieger/bimap-rs/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/billyrieger/bimap-rs/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/billyrieger/bimap-rs/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/billyrieger/bimap-rs/ci.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned"],"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE_APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE_APACHE:0"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T06:09:39.755Z","repository_id":45594037,"created_at":"2025-08-17T06:09:39.755Z","updated_at":"2025-08-17T06:09:39.755Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bimap","data-structures","rust"],"created_at":"2024-08-04T08:00:51.538Z","updated_at":"2026-04-08T19:36:31.514Z","avatar_url":"https://github.com/billyrieger.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# `bimap-rs`\n\n\u003c!-- badges --\u003e\n[![version][version badge]][lib.rs]\n[![documentation][documentation badge]][docs.rs]\n[![license][license badge]](#license)\n\n\n`bimap-rs` is a pure Rust library for dealing with bijective maps, aiming to\nfeel like an extension of the standard library's data structures whenever\npossible. There are no external dependencies by default but [Serde] and\n[`no_std`] compatibility are available through feature flags.\n\n1. [Quick start](#quick-start)\n1. [Feature flags](#feature-flags)\n1. [Documentation](#documentation)\n1. [Contributing](#contributing)\n1. [Semantic versioning](#semantic-versioning)\n1. [Minimum supported Rust version](#minimum-supported-rust-version)\n1. [License](#license)\n\n## Quick start\n\nTo use the latest version of `bimap-rs` with the default features, add this to\nyour project's `Cargo.toml` file:\n\n```toml\n[dependencies]\nbimap = \"0.6.3\"\n```\n\nYou can now run the `bimap-rs` Hello World!\n\n```rust\nfn main() {\n    // A bijective map between letters of the English alphabet and their positions.\n    let mut alphabet = bimap::BiMap::\u003cchar, u8\u003e::new();\n\n    alphabet.insert('A', 1);\n    // ...\n    alphabet.insert('Z', 26);\n\n    println!(\"A is at position {}\", alphabet.get_by_left(\u0026'A').unwrap());\n    println!(\"{} is at position 26\", alphabet.get_by_right(\u002626).unwrap());\n}\n```\n\n## Feature flags\n\n| Flag name | Description                        | Enabled by default? |\n| ---       | ---                                | ---                 |\n| `std`     | Standard library usage (`HashMap`) | yes                 |\n| `serde`   | (De)serialization using [Serde]    | no                  |\n\nThis `Cargo.toml` shows how these features can be enabled and disabled.\n\n```toml\n[dependencies]\n# I just want to use `bimap-rs`.\nbimap = \"0.6.3\"\n\n# I want to use `bimap-rs` without the Rust standard library.\nbimap = { version = \"0.6.3\", default-features = false }\n\n# I want to use `bimap-rs` with Serde support.\nbimap = { version = \"0.6.3\", features = [\"serde\"] }\n```\n\n## Documentation\n\nDocumentation for the latest version of `bimap-rs` is available on [docs.rs].\n\n## Contributing\n\nThank you for your interest in improving `bimap-rs`! Please read the [code of\nconduct] and the [contributing guidelines] before submitting an issue or\nopening a pull request.\n\n## Semantic versioning\n\n`bimap-rs` adheres to the de-facto Rust variety of Semantic Versioning.\n\n## Minimum supported Rust version\n\n| `bimap` | MSRV   |\n| ---     | ---    |\n| v0.6.3  | 1.56.1 |\n| v0.6.2  | 1.56.1 |\n| v0.6.1  | 1.42.0 |\n| v0.6.0  | 1.38.0 |\n| v0.5.3  | 1.38.0 |\n| v0.5.2  | 1.38.0 |\n| v0.5.1  | 1.38.0 |\n| v0.5.0  | 1.38.0 |\n| v0.4.0  | 1.38.0 |\n\n## License\n\n`bimap-rs` is dual-licensed under the [Apache License] and the [MIT License].\nAs a library user, this means that you are free to choose either license when\nusing `bimap-rs`. As a library contributor, this means that any work you\ncontribute to `bimap-rs` will be similarly dual-licensed.\n\n\u003c!-- external links --\u003e\n[docs.rs]: https://docs.rs/bimap/\n[lib.rs]: https://lib.rs/crates/bimap\n[`no_std`]: https://rust-embedded.github.io/book/intro/no-std.html\n[Serde]: https://serde.rs/\n\n\u003c!-- local files --\u003e\n[Apache License]: LICENSE_APACHE\n[code of conduct]: CODE_OF_CONDUCT.md\n[contributing guidelines]: CONTRIBUTING.md\n[MIT License]: LICENSE_MIT\n\n\u003c!-- static badge images (all purple) --\u003e\n[documentation badge]: https://img.shields.io/static/v1?label=documentation\u0026message=docs.rs\u0026color=blueviolet\n[license badge]: https://img.shields.io/static/v1?label=license\u0026message=Apache-2.0/MIT\u0026color=blueviolet\n[version badge]: https://img.shields.io/static/v1?label=latest%20version\u0026message=lib.rs\u0026color=blueviolet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillyrieger%2Fbimap-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillyrieger%2Fbimap-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillyrieger%2Fbimap-rs/lists"}