Crates.io | academic-journals |
lib.rs | academic-journals |
version | 0.1.3 |
source | src |
created_at | 2023-12-25 14:10:12.923198 |
updated_at | 2023-12-26 05:39:54.035848 |
description | A library for managing journal abbreviations and full names |
homepage | |
repository | https://github.com/razvanazamfirei/academic-journals |
max_upload_size | |
id | 1080262 |
size | 8,874,903 |
:warning: DISCLAIMER: This crate is currently a work in progress (WIP). It is not yet recommended for use in production environments. Features and functionality may change, and certain parts may not be fully implemented or tested.
academic-journals
is a Rust library for managing and accessing journal abbreviations and full names. It's designed to
efficiently handle a large dataset of journal entries and provides functionalities to retrieve either the abbreviation
from a full journal name or vice versa.
This crate makes use of data from abbrv.jabref.org provided by JabRef. The journal abbreviation data is released under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication. We gratefully acknowledge their work and contributions to the academic community.
Add academic-journals
to your Cargo.toml
:
[dependencies]
academic-journals = "0.1.1"
In your Rust file:
use rust_journals::{get_abbreviation, get_full_name};
fn main() {
let full_name = "Journal of Artificial Intelligence Research";
if let Some(abbreviation) = get_abbreviation(full_name) {
println!("Abbreviation for {}: {}", full_name, abbreviation);
}
let abbreviation = "JAIR";
if let Some(name) = get_full_name(abbreviation) {
println!("Full name for {}: {}", abbreviation, name);
}
}
To build the crate, run:
cargo build
Contributions are welcome! Please feel free to submit a pull request.
This project is licensed under the Apache 2.0 license. See the LICENSE file for more details.