{"id":13838465,"url":"https://github.com/typst/biblatex","last_synced_at":"2025-04-06T21:09:48.724Z","repository":{"id":40556951,"uuid":"292912656","full_name":"typst/biblatex","owner":"typst","description":"A Rust crate for parsing and writing BibTeX and BibLaTeX files. ","archived":false,"fork":false,"pushed_at":"2024-10-02T11:12:11.000Z","size":343,"stargazers_count":142,"open_issues_count":15,"forks_count":25,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-30T20:07:49.014Z","etag":null,"topics":["biblatex","bibliography","bibtex","rust-crate"],"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/typst.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}},"created_at":"2020-09-04T17:52:11.000Z","updated_at":"2025-03-21T01:05:03.000Z","dependencies_parsed_at":"2022-07-31T23:39:06.527Z","dependency_job_id":"b0a09bb9-c5d4-41f0-aacf-7317d12993ba","html_url":"https://github.com/typst/biblatex","commit_stats":{"total_commits":89,"total_committers":8,"mean_commits":11.125,"dds":0.2921348314606742,"last_synced_commit":"0ff4b055c1a3e0266e133bee87cc180cd63436ee"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst%2Fbiblatex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst%2Fbiblatex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst%2Fbiblatex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst%2Fbiblatex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typst","download_url":"https://codeload.github.com/typst/biblatex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247550678,"owners_count":20956986,"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","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":["biblatex","bibliography","bibtex","rust-crate"],"created_at":"2024-08-04T15:01:58.382Z","updated_at":"2025-04-06T21:09:48.696Z","avatar_url":"https://github.com/typst.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# BibLaTeX\n\n[![Build status](https://github.com/typst/biblatex/workflows/Continuous%20integration/badge.svg)](https://github.com/typst/biblatex/actions)\n[![Current crates.io release](https://img.shields.io/crates/v/biblatex)](https://crates.io/crates/biblatex)\n[![Documentation](https://img.shields.io/badge/docs.rs-biblatex-66c2a5?labelColor=555555\u0026logoColor=white\u0026logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K)](https://docs.rs/biblatex/)\n\nA Rust crate for parsing and writing BibTeX and BibLaTeX files.\n\nBibLaTeX can help you to parse `.bib` bibliography files.\nAs opposed to other available crates, this crate attempts to parse the data\nwithin the fields into easily usable structs and enums like `Person` and `Date`\nfor downstream consumption.\n\n## Usage\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nbiblatex = \"0.10\"\n```\n\nParsing a bibliography and getting the author of an item is as simple as:\n\n```rust\nlet src = \"@book{tolkien1937, author = {J. R. R. Tolkien}}\";\nlet bibliography = Bibliography::parse(src).unwrap();\nlet entry = bibliography.get(\"tolkien1937\").unwrap();\nlet author = entry.author().unwrap();\nassert_eq!(author[0].name, \"Tolkien\");\n```\n\nThis library operates on a `Bibliography` struct, which is a collection of\n_entries_ (the items in your `.bib` file that start with an `@` and are wrapped\nin curly braces). The entries may hold multiple fields. Entries have getter\nmethods for each of the possible fields in a Bib(La)TeX file which handle\npossible field aliases, composition and type conversion automatically.\n\nRefer to the [WikiBook section on LaTeX bibliography management](https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management)\nand the [BibLaTeX package manual](http://ctan.ebinger.cc/tex-archive/macros/latex/contrib/biblatex/doc/biblatex.pdf)\nto learn more about the intended meaning of each of the fields.\n\nThe generated documentation more specifically describes the selection and\nbehavior of the getters but generally, they follow the convention of being the\nsnake-case name of the corresponding field\n(such that the getter for `booktitleaddon` is named `book_title_addon`).\n\n## Limitations\n\nThis library attempts to provide fairly comprehensive coverage of the BibLaTeX\nspec with which most of the `.bib` files in circulation can be processed.\n\nHowever, the crate currently has some limitations:\n\n- There is no explicit support for entry sets, although it is easy to account\n  for them by manually getting the `entryset` field and calling\n  `parse::\u003cVec\u003cString\u003e\u003e()` on it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypst%2Fbiblatex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypst%2Fbiblatex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypst%2Fbiblatex/lists"}