{"id":33939097,"url":"https://github.com/charlesvdv/nom-bibtex","last_synced_at":"2026-04-09T05:32:01.456Z","repository":{"id":21297963,"uuid":"91982394","full_name":"charlesvdv/nom-bibtex","owner":"charlesvdv","description":"A feature complete bibtex parser using nom","archived":false,"fork":false,"pushed_at":"2025-12-22T17:39:03.000Z","size":5310,"stargazers_count":26,"open_issues_count":5,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-02T08:22:16.521Z","etag":null,"topics":["bibtex","latex","nom","parser","rust","zero-copy"],"latest_commit_sha":null,"homepage":"https://docs.rs/nom-bibtex","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/charlesvdv.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-05-21T19:34:51.000Z","updated_at":"2025-12-22T17:39:06.000Z","dependencies_parsed_at":"2024-06-20T06:16:47.549Z","dependency_job_id":"d9b0388e-412a-485c-b0da-63932438fbf7","html_url":"https://github.com/charlesvdv/nom-bibtex","commit_stats":{"total_commits":55,"total_committers":10,"mean_commits":5.5,"dds":0.5636363636363637,"last_synced_commit":"f190146f62d88922a379e8d656ca6564530db08f"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/charlesvdv/nom-bibtex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesvdv%2Fnom-bibtex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesvdv%2Fnom-bibtex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesvdv%2Fnom-bibtex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesvdv%2Fnom-bibtex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlesvdv","download_url":"https://codeload.github.com/charlesvdv/nom-bibtex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesvdv%2Fnom-bibtex/sbom","scorecard":{"id":274351,"data":{"date":"2025-08-11","repo":{"name":"github.com/charlesvdv/nom-bibtex","commit":"ce49f27f9f8755804125ddcbb1c92c94e86af837"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"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":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","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/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":"Code-Review","score":7,"reason":"Found 10/14 approved changesets -- score normalized to 7","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":"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":"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":"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":"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:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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":"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/rust.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/charlesvdv/nom-bibtex/rust.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned 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 26 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-17T14:06:02.971Z","repository_id":21297963,"created_at":"2025-08-17T14:06:02.971Z","updated_at":"2025-08-17T14:06:02.971Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31587795,"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":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["bibtex","latex","nom","parser","rust","zero-copy"],"created_at":"2025-12-12T15:12:40.926Z","updated_at":"2026-04-09T05:32:01.448Z","avatar_url":"https://github.com/charlesvdv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nom-bibtex\n[![Rust](https://github.com/charlesvdv/nom-bibtex/workflows/Rust/badge.svg)](https://github.com/charlesvdv/nom-bibtex/actions)\n[![Docs Badge](https://docs.rs/nom-bibtex/badge.svg)](https://docs.rs/nom-bibtex)\n[![crates.io](https://img.shields.io/crates/v/nom-bibtex.svg)](https://crates.io/crates/nom-bibtex)\n\nA feature complete *BibTeX* parser using [nom](https://github.com/rust-bakery/nom).\n\n**nom-bibtex** can parse the four differents types of entries listed in the\n[BibTeX format description](http://www.bibtex.org/Format/):\n\n- Preambles which allows to call *LaTeX* command inside your *BibTeX*.\n- Strings which defines abbreviations in a key-value format.\n- Comments.\n- Bibliography entries.\n\n## Example\n\n```rust\nextern crate nom_bibtex;\nuse nom_bibtex::*;\n\nconst BIBFILE_DATA: \u0026str = r#\"@preamble{\n        \"A bibtex preamble\"\n    }\n\n    @Comment{\n        Here is a comment.\n    }\n\n    Another comment!\n\n    @string ( name= \"Charles Vandevoorde\")\n    @string (github = \"https://github.com/charlesvdv\")\n\n    @misc {my_citation_key,\n        author= name,\n        title = \"nom-bibtex\",\n        note = \"Github: \" # github\n    }\n\"#;\n\nfn main() {\n    let bibtex = Bibtex::parse(BIBFILE_DATA).unwrap();\n\n    let preambles = bibtex.preambles();\n    assert_eq!(preambles[0], \"A bibtex preamble\");\n\n    let comments = bibtex.comments();\n    assert_eq!(comments[0], \"Here is a comment.\");\n    assert_eq!(comments[1], \"Another comment!\");\n\n    let variables = bibtex.variables();\n    assert_eq!(variables[\"name\"], \"Charles Vandevoorde\");\n    assert_eq!(variables[\"github\"], \"https://github.com/charlesvdv\");\n\n    let biblio = \u0026bibtex.bibliographies()[0];\n    assert_eq!(biblio.entry_type(), \"misc\");\n    assert_eq!(biblio.citation_key(), \"my_citation_key\");\n\n    let bib_tags = biblio.tags();\n    assert_eq!(bib_tags[\"author\"], \"Charles Vandevoorde\");\n    assert_eq!(bib_tags[\"title\"], \"nom-bibtex\");\n    assert_eq!(bib_tags[\"note\"], \"Github: https://github.com/charlesvdv\");\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesvdv%2Fnom-bibtex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlesvdv%2Fnom-bibtex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesvdv%2Fnom-bibtex/lists"}