Crates.io | scholarly_identifiers |
lib.rs | scholarly_identifiers |
version | 0.2.0 |
source | src |
created_at | 2024-10-28 22:08:34.366206 |
updated_at | 2024-11-06 17:06:57.068933 |
description | Library of identifier types for scholarly metadata. |
homepage | |
repository | https://github.com/pardalotus/scholarly_identifiers |
max_upload_size | |
id | 1426117 |
size | 56,656 |
A library of common identifier types used in Scholarly Publishing metadata. Recognises DOI, ROR, ORCID, and ISBN. More ocming.
Pre-release, work in progress. API subject to change but feedback welcome on the GitHub repository.
This library is strict about check-digits, but optimistic in recognising input. For example, strings that are formatted as ISBNs with a valid checksum are treated as ISBNs. Strings that appear to be plain DOIs are also recognised.
The representation of identifiers is geared toward stability in representation and comparison. This means that:
If you're using scholarly metadata, you'll likely be using scholarly identifiers. Each identifier has its own rules for parsing, validation, and representation. More info on the Pardalotus Blog.
This library will help with that.
Features:
See the examples:
cargo run --example main
This code is MIT Licensed, Copyright 2024 Joe Wass.
The code is inspired by work done at Crossref by Joe Wass, Dima Safonov, Panos Pandis.