aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorTrim Bresilla2024-12-04 13:01:10 +0100
committerlukeflo2024-12-23 21:03:19 +0100
commitbe72bac936515007b4fd9a30632f62ee19839bf8 (patch)
treef6233f5d0dc3626c5555b174dc708fd44f8380c8 /Cargo.toml
parentbcde4e631f28d4610738df65353cf9b319d4b98a (diff)
downloadbibiman-be72bac936515007b4fd9a30632f62ee19839bf8.tar.gz
bibiman-be72bac936515007b4fd9a30632f62ee19839bf8.zip
feat: handle better arXiv's "citation key" imported from DOI
- Add a new dependency `rand` version `0.8` to the project - Modify the `format_bibtex_entry` function for better readability and citation key cleaning - Introduce logic to clean the citation key by retaining only alphanumerical characters and underscores - Limit the citation key to the last 14 characters if it exceeds that length - Add a new `file` field to the BibTeX entry using the provided file path
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ffd4cca..9d6dba3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,6 +25,7 @@ doi2bib = "0.2.0"
# doi = "0.3.0"
editor-command = "0.1.1"
futures = "0.3.30"
+rand = "0.8"
itertools = "0.13.0"
lexopt = "0.3.0"
nucleo-matcher = "0.3.1"