diff options
| author | Trim Bresilla | 2024-12-04 13:01:10 +0100 |
|---|---|---|
| committer | lukeflo | 2024-12-23 21:03:19 +0100 |
| commit | be72bac936515007b4fd9a30632f62ee19839bf8 (patch) | |
| tree | f6233f5d0dc3626c5555b174dc708fd44f8380c8 /Cargo.toml | |
| parent | bcde4e631f28d4610738df65353cf9b319d4b98a (diff) | |
| download | bibiman-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.toml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |
