{"id":18406617,"url":"https://github.com/japaric/mfrc522","last_synced_at":"2025-08-23T10:34:15.596Z","repository":{"id":66157398,"uuid":"112595934","full_name":"japaric/mfrc522","owner":"japaric","description":"A platform agnostic driver to interface the MFRC522 (RFID reader/writer)","archived":false,"fork":false,"pushed_at":"2022-03-25T10:45:08.000Z","size":21,"stargazers_count":31,"open_issues_count":4,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T08:36:26.330Z","etag":null,"topics":["embedded","embedded-hal","no-std","rfid","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/japaric.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-11-30T10:04:16.000Z","updated_at":"2025-03-17T06:31:29.000Z","dependencies_parsed_at":"2023-02-21T00:16:29.442Z","dependency_job_id":null,"html_url":"https://github.com/japaric/mfrc522","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/japaric/mfrc522","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/japaric%2Fmfrc522","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/japaric%2Fmfrc522/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/japaric%2Fmfrc522/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/japaric%2Fmfrc522/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/japaric","download_url":"https://codeload.github.com/japaric/mfrc522/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/japaric%2Fmfrc522/sbom","scorecard":{"id":505869,"data":{"date":"2025-08-11","repo":{"name":"github.com/japaric/mfrc522","commit":"4aa69a308b56d051ab6f32cf617df957f8e5f0d6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"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":"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":"Code-Review","score":2,"reason":"Found 4/17 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":"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":"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":"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":"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":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"}},{"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-19T23:14:14.246Z","repository_id":66157398,"created_at":"2025-08-19T23:14:14.246Z","updated_at":"2025-08-19T23:14:14.246Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746657,"owners_count":24813575,"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-08-23T02:00:09.327Z","response_time":69,"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":["embedded","embedded-hal","no-std","rfid","rust"],"created_at":"2024-11-06T03:09:49.854Z","updated_at":"2025-08-23T10:34:15.585Z","avatar_url":"https://github.com/japaric.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository is no longer maintained! Last release of this repository on crates.io was v0.2.0.\nOwnership over the `mfrc522` crate on crates.io has been transferred to [`@jspngh`](https://github.com/jspngh).\n`@jspngh` maintains a MFRC522 driver crate at https://gitlab.com/jspngh/rfid-rs\n\n---\n\n# `mfrc522`\n\n\u003e A platform agnostic driver to interface the MFRC522 (RFID reader/writer)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"MFRC522\" src=\"https://i.imgur.com/yI4qaTO.jpg\"\u003e\n\u003c/p\u003e\n\n## What works\n\n- REQuest A\n- SELECT for single size UIDs\n\n## TODO\n\n- [x] Make sure this works with the `spidev` crate (i.e. with the Raspberry Pi)\n- [ ] Anticollision loop -- SELECT works when there's only one nearby tag\n- [ ] Authentication (`MFAuthent`)\n- [ ] Reading / writing data into the tag\n- [ ] Configurable timeout\n- [ ] Make the API non-blocking and compatible with the interrupt pin\n- [ ] Support double and triple size UIDs -- I don't have hardware (tags) to test this.\n- ???\n\n## Examples\n\nThere's an example for the Raspberry Pi (3) in the examples directory. The example turns an LED on\nwhen a card is nearby and turns it off when a tag in nearby. There's a video of the example [here].\nTo reproduce the example you'll have to tweak the values of the card and tag UIDs (Unique\nIDentifiers).\n\n[here]: https://mobile.twitter.com/japaricious/status/936385342579539969\n\nThe same example has been implemented for the [Blue Pill] development board. You'll find the code\nfor that example in [this branch] of the blue-pill repository. If that branch is gone, check the\nmaster branch.\n\n[Blue Pill]: http://wiki.stm32duino.com/index.php?title=Blue_Pill\n[this branch]: https://github.com/japaric/blue-pill/tree/singletons/examples\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or\n  http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([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 for inclusion in the\nwork by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any\nadditional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaparic%2Fmfrc522","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaparic%2Fmfrc522","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaparic%2Fmfrc522/lists"}