Table of Contents
Fetching ...

crate2bib: Citing Rust crates made easy

Jonas Pleyer

TL;DR

A collection of tools designed to convert Rust crates hosted on crates.io into bibliography entries, which means crates can be cited easily and existing citations for published crates can be found.

Abstract

crate2bib is a collection of tools designed to convert Rust crates hosted on crates.io into bibliography entries. It queries the server, extracts metadata from the given crate and also searches for possible CITATION.cff files within the repository that hosts the code of the crate in interest. From this information, it formats the provided information such as name, version, authors and generates entries for all available candidates. With this approach, crates can be cited easily and existing citations for published crates can be found. The tool can be used as a webapp, python package, command-line utility or Rust crate.

crate2bib: Citing Rust crates made easy

TL;DR

A collection of tools designed to convert Rust crates hosted on crates.io into bibliography entries, which means crates can be cited easily and existing citations for published crates can be found.

Abstract

crate2bib is a collection of tools designed to convert Rust crates hosted on crates.io into bibliography entries. It queries the server, extracts metadata from the given crate and also searches for possible CITATION.cff files within the repository that hosts the code of the crate in interest. From this information, it formats the provided information such as name, version, authors and generates entries for all available candidates. With this approach, crates can be cited easily and existing citations for published crates can be found. The tool can be used as a webapp, python package, command-line utility or Rust crate.

Paper Structure

This paper contains 4 sections, 1 figure, 1 table.

Figures (1)

  • Figure 1: The various components of crate2bib are built on a Rust crate which is reused to provide a python library, a webapp and a CLI tool.