Crates.io | bibliothek |
lib.rs | bibliothek |
version | 0.2.0 |
source | src |
created_at | 2023-07-11 13:27:22.033866 |
updated_at | 2023-08-16 16:17:43.82798 |
description | Easily cite references in your code |
homepage | |
repository | https://codeberg.org/luleyleo/bibliothek |
max_upload_size | |
id | 913790 |
size | 11,055 |
When writing code based on existing publications, it's usually a good idea to cite the source right where you use it. Doing so is normally a bit cumbersome, but this crate aims to make it really easy by generating Structs from bibliography files such as bibtext. This way you can reference your sources just like you would reference any symbol in your source code.
The idea is that you include your bibliography in lib.rs
pub mod bib {
bibliothek::include_bibtex!("test.bib");
}
and then reference it somewhere else
/// Does some crazy stuff.
///
/// References: [crate::bib::CocoAccelerated]
fn some_algorithm() {
unimplemented!();
}