{"id":16064588,"url":"https://github.com/lokathor/fermium","last_synced_at":"2025-09-08T20:40:11.285Z","repository":{"id":45796012,"uuid":"180511902","full_name":"Lokathor/fermium","owner":"Lokathor","description":"An easy to build and use set of SDL2 bindings.","archived":false,"fork":false,"pushed_at":"2023-09-20T13:50:19.000Z","size":37265,"stargazers_count":62,"open_issues_count":8,"forks_count":15,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-03T19:27:56.702Z","etag":null,"topics":["rust","sdl2","zlib-license"],"latest_commit_sha":null,"homepage":"https://docs.rs/fermium","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lokathor.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["Lokathor"]}},"created_at":"2019-04-10T05:57:23.000Z","updated_at":"2025-05-09T22:24:48.000Z","dependencies_parsed_at":"2024-01-14T04:59:01.100Z","dependency_job_id":"71de88be-f1de-42cc-a9cf-4f21f071f039","html_url":"https://github.com/Lokathor/fermium","commit_stats":{"total_commits":294,"total_committers":8,"mean_commits":36.75,"dds":"0.023809523809523836","last_synced_commit":"40859fa661679a1cdd411e70334a7a6c3bd80a97"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/Lokathor/fermium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Ffermium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Ffermium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Ffermium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Ffermium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lokathor","download_url":"https://codeload.github.com/Lokathor/fermium/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lokathor%2Ffermium/sbom","scorecard":{"id":85471,"data":{"date":"2025-08-11","repo":{"name":"github.com/Lokathor/fermium","commit":"e4f019581c31c2746c4c6e25f98ff2dd8da16e41"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust.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":"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":"Code-Review","score":1,"reason":"Found 3/30 approved changesets -- score normalized to 1","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":"Binary-Artifacts","score":7,"reason":"binaries present in source code","details":["Warn: binary detected: SDL2-2.26.5-devel/SDL2.dll:1","Warn: binary detected: SDL2-2.26.5-devel/SDL2.lib:1","Warn: binary detected: SDL2-2.26.5/android-project/gradle/wrapper/gradle-wrapper.jar:1"],"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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 'main'"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: case patterns must be separated with |: SDL2-2.26.5/sdl2-config.in:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/Lokathor/fermium/rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/Lokathor/fermium/rust.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/Lokathor/fermium/rust.yml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 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-15T06:51:21.564Z","repository_id":45796012,"created_at":"2025-08-15T06:51:21.564Z","updated_at":"2025-08-15T06:51:21.564Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231505,"owners_count":25245601,"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-09-08T02:00:09.813Z","response_time":121,"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":["rust","sdl2","zlib-license"],"created_at":"2024-10-09T05:08:42.687Z","updated_at":"2025-09-08T20:40:11.168Z","avatar_url":"https://github.com/Lokathor.png","language":"C","funding_links":["https://github.com/sponsors/Lokathor"],"categories":[],"sub_categories":[],"readme":"# [Docs.rs](https://docs.rs/fermium/)\n\n# `fermium`\n\nRust bindings to the [SDL2](https://libsdl.org/) library.\n\nThis crate covers most of SDL2's 2.0.16 API. It can be used compatibly with any\nnewer version of SDL2. It can also even be used with older versions of SDL2,\nthough if you call any functions not present you'll get a link error, and if you\ncall an older version with arguments it doesn't expect it'll generally give you\na runtime error.\n\nBy default, the crate links to the system version of SDL2 (or bundled pre-built\ndev files on Windows MSVC). Alternately, you can have the crate build SDL2 from\nsource and statically link to that.\n\n## Versioning\n\nThe major version of this crate is basically the bundled version of SDL2 with\nall the dots taken out. Each new release of the crate that bundles new SDL2\nsource is a major version bump. There are *generally* no actual breaks in the\ncrate code itself (though sometimes small updates happen). There are usually\nupdates and fixes in how the build script runs, or raising the MSRV of the\ncrate.\n\n## FAQ\n\n* **Lokathor, why does your crate have such a stupid name?**\n  * Well, this started as raw layer for a crate called `beryllium`, to replace its usage of `sdl2-sys` with something new.\n    Since `sdl2-sys` was already taken, I needed another name, and I decided to pick another element name.\n    Somewhat at random, I just decided to check out element 100 on wikipedia, and it was apparently discovered in the fallout of the first hydrogen bomb.\n    I thought to myself, \"well that's cool enough, I guess\", and now we're here.\n\n## Project Logo\n\n[![birth-of-fermium](https://upload.wikimedia.org/wikipedia/commons/5/58/Ivy_Mike_-_mushroom_cloud.jpg)](https://en.wikipedia.org/wiki/Fermium)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokathor%2Ffermium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flokathor%2Ffermium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokathor%2Ffermium/lists"}