isbn-tools 0.1.0
Validate, convert and normalise ISBN-10 and ISBN-13 numbers
Install
cargo add isbn-tools --registry rupm
In Ruststudio: Packages, search for isbn-tools, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.
Versions
- 0.1.0 2026-11-22
README
# isbn-tools
Validate, convert and normalise ISBN-10 and ISBN-13 numbers
Add it with `rupm add isbn-tools` (or `cargo add isbn-tools --registry rupm`).
The check only catches typing mistakes. It does not prove that a book exists and is not meant for security-critical use.
```rust
assert!(isbn_tools::is_valid("0-306-40615-2"));
assert_eq!(isbn_tools::to_isbn13("0306406152").as_deref(), Some("9780306406157"));
```